source: gs2-extensions/imagemagick/trunk/src/packages/CASCADE-MAKE.sh@ 27720

Last change on this file since 27720 was 27720, checked in by ak19, 11 years ago

libjpeg.so problem again: the fix in the previous commit was the wrong way of going about solving the problem. It is TIFF that was defaulting to using a libjpeg.so.62 that it found on the system on CentOS, when it should have been looking for the libjpeg.so (libjpeg.so.8*) that's built with the jpeg (jpeg-8) package of this imagemagick src checkout instead. The proper solution was to make sure that the JPEG package was built before the TIFF package, and moreover, to teach TIFF (in file TIFF.sh) where to find the jpeg library and include folders when configuring TIFF for its compilation.

  • Property svn:executable set to *
File size: 496 bytes
Line 
1#!/bin/bash
2
3source ../cascade-make/lib/cascade-lib.bash GEXTIMAGEMAGICK .. $*
4
5# Need to compile up JPEG before TIFF, since TIFF is dependent on libjpeg.so
6# (else it will find a system libjpeg.so, which will be libjpeg.so.62 and not the included libjpeg.so.8)
7for d in LIBZ LIBBZ2 JPEG TIFF LIBPNG JPEG2000 IMAGEMAGICK ; do
8 echo " Running CASCADE-MAKE/$d.sh"
9
10 ./CASCADE-MAKE/$d.sh $*
11
12 if [ $? != 0 ] ; then
13 echo "Error encountered running CASCADE-MAKE/$d.sh"
14 exit 1
15 fi
16done
Note: See TracBrowser for help on using the repository browser.