curl-users
Re: compile problem
Date: Mon, 20 Oct 2003 23:58:51 -0500
This isn't just a curl problem. I had a similar failure when trying to
install php on a Gentoo Linux system. ./configure broke with a
completely stupid message (I forget what, exactly) and when I looked in
the config.log file I found that it had failed to compile a test
program. The compile failure was due to a linkage problem with Java,
even though Blackdown Java was apparently properly installed. I
switched to Sun Java and the problem went away...
Your milage will almost certainly vary, but the config.log file is the
place to start.
Ralph Mitchell
Daniel Stenberg wrote:
>On Fri, 17 Oct 2003 smallinfinity_at_singlesphere.com wrote:
>
>
>
>>I downloaded the source, and attempted to compile on RedHat 9.0 and i got
>>this error while running the config:
>>
>>checking for sys/utime.h... no
>>checking for sys/poll.h... yes
>>checking for setjmp.h... yes
>>checking for an ANSI C-conforming const... yes
>>checking for size_t... yes
>>checking whether time.h and sys/time.h may both be included... yes
>>checking for off_t... yes
>>checking size of off_t... configure: error: cannot compute sizeof (off_t), 77
>>
>>Anyone know how to get around it?
>>
>>
>
>This error happens because configure fails to run the test program it made to
>check for the off_t size. A very common reason for this failure is that the
>OpenSSL libraries were found by configure using the options you've provided
>(earlier on in one of the previous checks), but the run-time linker (ld.so)
>can't load the libraries at run-time due to lack of info (using
>LD_LIBRARY_PATH or /etc/ld.so.conf).
>
>By checking config.log for the above failure, you can see for yourself what
>kind of error configure got when it tried to find the off_t size.
>
>
>
-------------------------------------------------------
This SF.net email is sponsored by OSDN developer relations
Here's your chance to show off your extensive product knowledge
We want to know what you know. Tell us and you have a chance to win $100
http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54
Received on 2003-10-21