pkgsrc-Users archive

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

graphics/netpbm fails to build on Darwin



Hi,

I'm not able to build textproc/groff on OS X 10.10.5 since
graphics/netpbm fails to build:

cc -c -I.  -Iimportinc -Iimportinc/netpbm -I/Volumes/NetBSD-pkgsrc/pkgsrc/graphics/netpbm/work/netpbm/converter/pbm  -DNDEBUG -I/opt/pkg/include    -pipe -O2 -I/opt/pkg/include  -o atktopbm.o atktopbm.c
cc -o atktopbm atktopbm.o     -L/Volumes/NetBSD-pkgsrc/pkgsrc/graphics/netpbm/work/netpbm/lib -lnetpbm -L/opt/pkg/lib   -lm
ld: library not found for -lnetpbm
clang: error: linker command failed with exit code 1 (use -v to see invocation)
gnumake[2]: *** [atktopbm] Error 1
gnumake[1]: *** [pbm/all] Error 2
gnumake: *** [converter/all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped in /Users/akk/pkgsrc/graphics/netpbm
*** Error code 1

Stop.
bmake: stopped in /Users/akk/pkgsrc/graphics/netpbm

I'm using the system's clang (so I'm not sure why it's compiling
with "cc") and MAKE_JOBS=1 without ccache/distcc.  I also have
"PKG_DEFAULT_OPTIONS=-x11" if that makes any difference.

Interestingly:

$ ls -1 /Volumes/NetBSD-pkgsrc/pkgsrc/graphics/netpbm/work/netpbm/lib
...
libnetpbm.11.68.dylib
libnetpbm.11.dylib
libnetpbm.a
libnetpbm.dylib
...

Full build log here: https://db.tt/RNokrLMz




-- 
:: Andreas Kusalananda Kähäri, Bioinformatics Developer, BILS,
:: Uppsala University, Sweden
::----------------------------------------------------------------------
:: My other car is a cdr.

Attachment: pgpPjnKr3Cfdh.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index