Martin Costabel wrote:
> Daniel E. Macks wrote:
> []
>   
>> 2. Could be remnant of "old" (10.4) x11 contaminating your 10.5 x11
>> installation. I think that -L path is the old location, and a .la
>> isn't what perl would use when linking (I think the config only looks
>> for the path, but it's finding *a* path based on an irrelevant
>> file)...where is libX11.dylib?
>>     
>
> My guess is that the real problem is the braindead X11 detection code in 
> the tk-tablematrix-pm586 package. It basically runs
>
> ls /usr/X11R6/lib/libX11*
>
> and then takes the *last* object it finds in this list as a library to 
> link to. On 10.4, this is "libX11.dylib" which is OK, but on 10.5, it is 
> "libX11.la" which would be good enough for libtool, but is not a correct 
> object file for the perl build process.
>
> I cannot really test this theory, because in my case the build process 
> stops immediately after not finding config/tod.c, before it gets to the 
> X11 stuff. No idea why it does this for me.
>
>   
I get the same output as Martin showed, _if_ I have logging turned on 
via "fink -l build".  If I don't, then the output proceeds to the X11 
detection.

without -l :
...
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
Using -L/usr/X11R6/lib to find /usr/X11R6/lib/libX11.la
Using -I/usr/X11R6/include to find /usr/X11R6/include/X11/Xlib.h
### execution of perl5.8.6 failed, exit code 10

with -l
...
Test Compiling -DSPRINTF_RETURN_CHAR config/Ksprintf.c
Test Compiling config/tod.c
Test Compiling -DTIMEOFDAY_TZ config/tod.c
Test Compiling -DTIMEOFDAY_NO_TZ config/tod.c
Test Compiling -DTIMEOFDAY_DOTS config/tod.c
Problem gettimeofday()
### execution of perl5.8.6 failed, exit code 10


No, I wasn't trying a  random solution. :-)  I happened to do my initial 
test this morning without logging.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to