The shellscript runs trough and creates a folder with IM in it. My problem is that PNG and TIFF doesn't work in this setup. JPEG and Zlib is there and I can open Jpegs, psd and eps and do what ever I like. But TIFF or PNGs can't open.
Since JPEG and ZLIB delegates work I assume that the shellscript is OK, running bin/convert -list configure | grep -i "delegates" shows that this installation has: DELEGATES mpeg jpeg ps
I have tried with both 6.9.5 and 7.0.2, same problem.
If I run each delegate individually and after "make" do a "make check" everything is OK, no errors.
My shellscript looks like this:
Code: Select all
#!/usr/bin/env bash
MYPATH=$PATH
export PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
cd ~/Desktop
mkdir ImageMagick-Final
tar xvzf ImageMagick-6.9.5-5.tar.gz
cd ImageMagick-6.9.5-5
tar xvzf ~/Desktop/jpegsrc.v9a.tar.gz
mv jpeg-9a jpeg
tar xvzf ~/Desktop/libpng-1.6.21.tar.gz
mv libpng-1.6.21 png
tar xvzf ~/Desktop/tiff-4.0.4.tar.gz
mv tiff-4.0.4 tiff
tar xvzf ~/Desktop/zlib-1.2.8.tar.gz
mv zlib-1.2.8 zlib
cd zlib
./configure --disable-shared --disable-dependency-tracking --prefix="/Users/myuser/Desktop/ImageMagick-6.9.5-5/zlib"
make clean;make
make install
cd ../png
./configure --disable-shared --disable-dependency-tracking --prefix="/Users/myuser/Desktop/ImageMagick-6.9.5-5/png"
make clean;make
make install
cd ../jpeg
./configure --disable-shared --disable-dependency-tracking --prefix="/Users/myuser/Desktop/ImageMagick-6.9.5-5/jpeg"
make clean;make
make install
cd ../tiff
./configure --disable-shared --disable-dependency-tracking --prefix="/Users/myuser/Desktop/ImageMagick-6.9.5-5/tiff"
make clean;make
make install
cd ../
./configure --disable-installed --disable-shared --enable-delegate-build --disable-dependency-tracking --with-x=no --without-perl --with-freetype=no --with-jp2=no --with-magick-plus-plus=no --without-frozenpaths --with-bzlib=no --with-png=yes --with-jpeg=yes --with-tiff=yes --with-zlib=yes --prefix=/Users/myuser/Desktop/ImageMagick-Final LDFLAGS="-L/Users/myuser/Desktop/ImageMagick-6.9.5-5/zlib/ -L/Users/myuser/Desktop/ImageMagick-6.9.5-5/png/lib -lpng16 -L/Users/myuser/Desktop/ImageMagick-6.9.5-5/jpeg -L/Users/myuser/Desktop/ImageMagick-6.9.5-5/tiff/lib" CPPFLAGS='-I/Users/myuser/Desktop/ImageMagick-6.9.5-5/zlib/include -I/Users/myuser/Desktop/ImageMagick-6.9.5-5/png/include -I/Users/myuser/Desktop/ImageMagick-6.9.5-5/jpeg/include -I/Users/myuser/Desktop/ImageMagick-6.9.5-5/tiff/include'
make clean;make
make install
echo ""
echo $PATH
export PATH=$MYPATH
echo ""
echo $PATH
Thanks
Jan