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!!!
./configure Command Line Help
Re: ./configure Command Line Help
Also... X11 resides in "/usr/."
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: ./configure Command Line Help
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.
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
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'
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'