./configure Command Line Help

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

./configure Command Line Help

Post 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!!!
spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

Re: ./configure Command Line Help

Post by spyder »

Also... X11 resides in "/usr/."
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: ./configure Command Line Help

Post 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.
spyder
Posts: 20
Joined: 2007-05-23T12:03:45-07:00

Re: ./configure Command Line Help

Post 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'
Post Reply