Magick-config uses $MAGICK_HOME instead of $prefix?
Posted: 2007-04-02T15:53:45-07:00
Below is an excerpt from the config.log produced while trying to install RMagick on OS X 10.4.9. I use `Magick-config --ldflags` to get the necessary flags. Apparently Magick-config --ldflags is returning paths with names that start with $MAGICK_HOME instead of the prefix. Is this new? How should I handle it?
configure:2471: checking for InitializeMagick in -lMagick
configure:2501: gcc -o conftest -I$MAGICK_HOME/include -L$MAGICK_HOME/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -L$MAGICK_HOME/bzlib -L$MAGICK_HOME/jp2 -L$MAGICK_HOME/jp2/src/libjasper -L$MAGICK_HOME/jp2/src/libjasper/.libs -L$MAGICK_HOME/jbig/libjbig -L$MAGICK_HOME/jpeg -L$MAGICK_HOME/lcms/src -L$MAGICK_HOME/lcms/src/.libs -L$MAGICK_HOME/magick -L$MAGICK_HOME/magick/.libs -L$MAGICK_HOME/png -L$MAGICK_HOME/png/.libs -L$MAGICK_HOME/tiff/libtiff -L$MAGICK_HOME/tiff/libtiff/.libs -L$MAGICK_HOME/ttf/objs -L$MAGICK_HOME/ttf/objs/.libs -L$MAGICK_HOME/wand -L$MAGICK_HOME/wand/.libs -L$MAGICK_HOME/wmf/src -L$MAGICK_HOME/wmf/src/.libs -L$MAGICK_HOME/xml -L$MAGICK_HOME/xml/.libs -L$MAGICK_HOME/zlib -L/X11R6/lib -lfreetype conftest.c -lMagick -lMagick -llcms -ltiff -lfreetype -ljpeg -lbz2 -lz -lpthread -lm -lpthread -lWand -lMagick >&5
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/lib) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/bzlib) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/jp2) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/jp2/src/libjasper) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/jp2/src/libjasper/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/jbig/libjbig) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/jpeg) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/lcms/src) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/lcms/src/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/magick) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/magick/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/png) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/png/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/tiff/libtiff) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/tiff/libtiff/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/ttf/objs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/ttf/objs/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/wand) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/wand/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/wmf/src) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/wmf/src/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/xml) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/xml/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/zlib) does not exist
/usr/bin/ld: warning -L: directory name (/X11R6/lib) does not exist
/usr/bin/ld: can't locate file for: -lfreetype
collect2: ld returned 1 exit status
configure:2471: checking for InitializeMagick in -lMagick
configure:2501: gcc -o conftest -I$MAGICK_HOME/include -L$MAGICK_HOME/lib -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -L$MAGICK_HOME/bzlib -L$MAGICK_HOME/jp2 -L$MAGICK_HOME/jp2/src/libjasper -L$MAGICK_HOME/jp2/src/libjasper/.libs -L$MAGICK_HOME/jbig/libjbig -L$MAGICK_HOME/jpeg -L$MAGICK_HOME/lcms/src -L$MAGICK_HOME/lcms/src/.libs -L$MAGICK_HOME/magick -L$MAGICK_HOME/magick/.libs -L$MAGICK_HOME/png -L$MAGICK_HOME/png/.libs -L$MAGICK_HOME/tiff/libtiff -L$MAGICK_HOME/tiff/libtiff/.libs -L$MAGICK_HOME/ttf/objs -L$MAGICK_HOME/ttf/objs/.libs -L$MAGICK_HOME/wand -L$MAGICK_HOME/wand/.libs -L$MAGICK_HOME/wmf/src -L$MAGICK_HOME/wmf/src/.libs -L$MAGICK_HOME/xml -L$MAGICK_HOME/xml/.libs -L$MAGICK_HOME/zlib -L/X11R6/lib -lfreetype conftest.c -lMagick -lMagick -llcms -ltiff -lfreetype -ljpeg -lbz2 -lz -lpthread -lm -lpthread -lWand -lMagick >&5
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/lib) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/bzlib) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/jp2) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/jp2/src/libjasper) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/jp2/src/libjasper/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/jbig/libjbig) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/jpeg) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/lcms/src) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/lcms/src/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/magick) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/magick/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/png) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/png/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/tiff/libtiff) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/tiff/libtiff/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/ttf/objs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/ttf/objs/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/wand) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/wand/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/wmf/src) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/wmf/src/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/xml) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/xml/.libs) does not exist
/usr/bin/ld: warning -L: directory name ($MAGICK_HOME/zlib) does not exist
/usr/bin/ld: warning -L: directory name (/X11R6/lib) does not exist
/usr/bin/ld: can't locate file for: -lfreetype
collect2: ld returned 1 exit status