tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkgsrc on OS X 10.7.5
I've just tried to setup pkgsrc on a MacBook. bootstrap appears to
complete without issue:
Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.2
but there appears to be some issue with it finding libraries at link time:
==> devel/gettext-tools
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -pipe -O2
-pipe -I/usr/include -I/usr/pkg/include/gettext -L/usr/lib
-L/usr/pkg/lib -o msgcmp msgcmp-msgcmp.o msgcmp-msgl-fsearch.o
libgettextsrc.la -Wl,-framework -Wl,CoreFoundation -lintl -liconv
libtool: link: gcc -std=gnu99 -pipe -O2 -pipe -I/var/obj/pkg/devel/gettext-tools
/work/.buildlink/include/gettext -o .libs/msgcmp msgcmp-msgcmp.o
msgcmp-msgl-fsearch.o -Wl,-framework -Wl,CoreFoundation
-L/var/obj/pkg/devel/gettext-tools/work/.buildlink/lib
./.libs/libgettextsrc.dylib
/private/var/obj/pkg/devel/gettext-tools/work/gettext-0.18.1.1/gettext-tools/gnulib-lib/.libs/libgettextlib.dylib
-lncurses /var/obj/pkg/devel/gettext-tools/work/.buildlink/lib/libintl.dylib
-lc -liconv
ld: library not found for -lgettextlib
==> math/fftw
/bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99
-D_THREAD_SAFE -D_REENTRANT -pipe -O2 -pipe -I/usr/include
-I/usr/pkg/include -L/usr/lib -L/usr/pkg/lib -o bench bench-bench.o
bench-hook.o bench-fftw-bench.o ../threads/libfftw3_threads.la
../libfftw3.la ../libbench2/libbench2.a -lpthread -lm
libtool: link: gcc -std=gnu99 -D_THREAD_SAFE -D_REENTRANT -pipe -O2
-pipe -I/var/obj/pkg/math/fftw/work/.buildlink/include -o .libs/bench
bench-bench.o bench-hook.o bench-fftw-bench.o
-L/var/obj/pkg/math/fftw/work/.buildlink/lib
../threads/.libs/libfftw3_threads.dylib
/private/var/obj/pkg/math/fftw/work/fftw-3.3.3/.libs/libfftw3.dylib
../.libs/libfftw3.dylib ../libbench2/libbench2.a -lpthread -lm
ld: library not found for -lfftw3
Plus presumably a general 'clang picker than gcc' issue
==> textproc/xmlrpc-c
casprintf.c:68: error: 'outOfMemory' undeclared (first use in this function)
casprintf.c:68: error: 'false' undeclared (first use in this function)
casprintf.c:74: error: 'true' undeclared (first use in this function)
casprintf.c: At top level:
Should I switch the bootstrap to use gcc, or is there something else
I'm missing?
Thanks...
Home |
Main Index |
Thread Index |
Old Index