site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com FWIW, the 'Makefile.config' file reads: I am stuck at this point and would be grateful for any help. My apologies if this is not an appropriate question for this list. Alan Fry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I have been attempting to install a package 'netpbm' with partially successful results. The package compiles (with gcc 3.3 or gcc 4.0.1) but the linker jibs at the option '-rpath'. Here are the last few lines of the log: cc -no-cpp-precomp -o pnmcolormap pnmcolormap.o -lm `/Users/alanfry/ Desktop/netpbm-10.26.33/buildtools/libopt /Users/alanfry/Desktop/ netpbm-10.26.33/lib/libnetpbm.dylib` \ -rpath/usr/local/netpbm libopt results: ' -L/Users/alanfry/Desktop/netpbm-10.26.33/lib -lnetpbm' cc: unrecognized option `-rpath/usr/local/netpbm' echo "EXISTENCE OF THIS FILE MEANS NETPBM HAS BEEN BUILT." \
build_complete The result of this is the binaries in '/usr/local/netpbm/bin' look for the 'dylib' at the top level instead of '/usr/local/netpbm'. ####Lines below were added by 'configure' based on the DARWIN platform.
DEFAULT_TARGET = nonmerge NETPBMLIBTYPE=dylib NETPBMLIBSUFFIX=dylib STATICLIB_TOO=n NETPBMLIB_RUNTIME_PATH=/usr/local/netpbm RPATHOPT = -R CC = cc -no-cpp-precomp CFLAGS_SHLIB = -fno-common LDSHLIB = -dynamiclib -install_name $(NETPBM_RUNTIME_PATH)/libnetpbm.$ (MAJ).dylib LINKERISCOMPILER = N TIFFLIB = libtiff.so JPEGLIB = libjpeg.so PNGLIB = libpng.so ZLIB = libz.so NETPBM_DOCURL = http://netpbm.sourceforge.net/doc/ The line RPATHOPT = -R is one I added in the hope it might fix the problem (it made no difference). If 'LINKERISCOMPILER = N' is set to 'Y' the 'make' bombs out at the first instance of -rpath. This email sent to site_archiver@lists.apple.com