Page 1 of 1

./configure Command Line Help

Posted: 2012-09-08T15:09:26-07:00
by spyder
I'm installing ImageMagick-6.7.9-3 and supporting delegates into directory "/ImageMagick" due to possible conflicts in the standard "/usr/local" directory.

When I install with:
./configure --prefix=/ImageMagick
My png and tiff delegate libs aren't found.

When I install with:
./configure --prefix=/ImageMagick --x-includes=/ImageMagick/include --x-libraries=/ImageMagick/lib
My X11 lib is not found.

What would the proper ./configure command line be to link all libraries? Any help would be highly appreciated!!!

Re: ./configure Command Line Help

Posted: 2012-09-08T15:20:49-07:00
by spyder
Also... X11 resides in "/usr/."

Re: ./configure Command Line Help

Posted: 2012-09-08T15:45:42-07:00
by fmw42
I am not a unix expert. But see http://www.imagemagick.org/script/advan ... #configure

I have all my delegates (including jpg, tiff, png, gs, x11 etc) in /opt (downloaded from MacPorts), but I compile IM from source into /usr/local/bin. My config file is:

./configure CPPFLAGS='-I/opt/local/include' LDFLAGS='-L/opt/local/lib' \
--enable-delegate-build --enable-shared --disable-static --disable-opencl \
--with-modules --with-quantum-depth=16 --with-gslib --without-wmf \
--disable-silent-rules --disable-dependency-tracking --disable-openmp --without-pango \
--with-gs-font-dir=/opt/local/share/ghostscript/fonts/ --with-lqr


Perhaps one or the other will give you some clues.

Re: ./configure Command Line Help

Posted: 2012-09-08T16:54:37-07:00
by spyder
Thank you, fmw42!!!

My problem is that X11 must stay in "/usr" directory while my other files are in "/ImaageMagick" directory. I did use some of your code and everything linked.

I used:
./configure --prefix=/ImageMagick CPPFLAGS='-I/ImageMagick/include' LDFLAGS='-L/ImageMagick/lib'