Trying to configure IM with libpng1.6 and other delegates

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
flobaer
Posts: 1
Joined: 2015-10-06T08:04:25-07:00
Authentication code: 1151

Trying to configure IM with libpng1.6 and other delegates

Post by flobaer »

Hi,

I'm trying for two days now to get a version of ImageMagick run with the actual libpng and other delegates. I want to install this in a directory under /usr/local/. I have a clean Debian 8 installation under VMware. This is what I tried:

Code: Select all

apt-get install build-essential && cd /tmp/ && mkdir imagick && cd imagick

wget http://www.imagemagick.org/download/delegates/zlib-1.2.8.tar.gz && \
tar xvfz zlib-1.2.8.tar.gz && \
cd zlib-1.2.8 && ./configure --prefix=/usr/local/imagick && make clean && make && make install && cd ..

wget http://www.imagemagick.org/download/delegates/libpng-1.6.18.tar.gz && \
tar xvfz libpng-1.6.18.tar.gz && \
cd libpng-1.6.18 && ./configure --prefix=/usr/local/imagick LDFLAGS='-L/usr/local/imagick/lib' CPPFLAGS='-I/usr/local/imagick/include' && make clean && make && make install && cd ..

wget http://www.imagemagick.org/download/ImageMagick.tar.gz && \
tar xvfz ImageMagick.tar.gz && \
cd ImageMagick-6.9.2-3 && ./configure --prefix=/usr/local/imagick LDFLAGS='-L/usr/local/imagick/lib' CPPFLAGS='-I/usr/local/imagick/include' PKG_CONFIG_PATH=/usr/local/imagick/lib/pkgconfig && make clean && make && make install && cd ..
Testing /usr/local/imagick/bin/identify -version shows
Delegates (built-in):

After that I tried another delegation:

Code: Select all

wget http://www.imagemagick.org/download/delegates/tiff-4.0.4.tar.gz && \
tar xvfz tiff-4.0.4.tar.gz && \
cd tiff-4.0.4 && ./configure --prefix=/usr/local/imagick LDFLAGS='-L/usr/local/imagick/lib' CPPFLAGS='-I/usr/local/imagick/include' && make clean && make && make install && cd ..

cd ImageMagick-6.9.2-3 && ./configure --prefix=/usr/local/imagick LDFLAGS='-L/usr/local/imagick/lib' CPPFLAGS='-I/usr/local/imagick/include' PKG_CONFIG_PATH=/usr/local/imagick/lib/pkgconfig && make clean && make && make install && cd ..
Now testing /usr/local/imagick/bin/identify -version shows
Delegates (built-in): tiff

What am I doing wrong? Is there anything else what libpng needs and tiff don't?

Thanks for any ideas.
Post Reply