pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: gnucash fails on Darwin

Greg Troxel wrote:
NetBSD 4.0, guile 1.8.3:

nm /usr/pkg/lib/ | grep scm_boot_guile
00051160 T scm_boot_guile

I am pretty sure that the Louis's problem is that configure failed to
find guile properly; he sent me a build log that showed some trouble.

Ok so I found this in config.log...

configure:25763: checking whether guile works
configure:25792: gcc -o conftest -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/libofx -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -no-cpp-precomp -I/usr/pkg/include -I/usr/pkg/include/libofx -I/usr/include -I/usr/pkg/include/freetype2 -I/usr/X11R6/include -I/usr/pkg/include -D_THREAD_SAFE -D_REENTRANT -L/usr/pkg/lib -L/usr/lib -L/usr/X11R6/lib conftest.c -lm -D_THREAD_SAFE -D_REENTRANT -lguile -lltdl /usr/pkg/lib -L/usr/pkg/lib -L/usr/pkg/lib -L/usr/lib -lpthread -lgmp -lm -lltdl -lpthread >&5
/usr/bin/ld: can't map file: /usr/pkg/lib ((os/kern) invalid argument)
collect2: ld returned 1 exit status

... so the question is, how did "/usr/pkg/lib" get into the command line without a flag?

I also checked config.status for a value in GUILE_LIBS but all I could find was this...

$ grep GUILE_LIBS config.status

... I could also find no variables with just plain-old /usr/pkg/lib in any config* file or the Makefile. Here are the ones I checked...

$ grep -l /usr/pkg/lib *


Home | Main Index | Thread Index | Old Index