source: gs2-extensions/imagemagick/trunk/src/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: 812 bytes
Line 
1#!/bin/bash
2
3source devel.bash
4
5for d in packages ; do
6 echo "Running $d/CASCADE-MAKE.sh"
7
8 (cd $d ; ./CASCADE-MAKE.sh $*)
9
10 if [ $? != 0 ] ; then
11 echo "Error encountered running $d/CASCADE-MAKE.sh"
12 exit 1
13 fi
14done
15
16if [ ! -d $GEXTIMAGEMAGICK_INSTALLED/script ] ; then
17 echo "Creating 'script' folder in installed area"
18 mkdir $GEXTIMAGEMAGICK_INSTALLED/script
19fi
20
21/bin/cp bin/script/*.sh $GEXTIMAGEMAGICK_INSTALLED/script/.
22
23
24if [ $makedist = "1" ] ; then
25
26 # fix up symbolic links that use absolute paths to use rel paths instead
27 cd linux/bin
28 /bin/rm -f bzcmp
29 /bin/rm -f bzegrep
30 /bin/rm -f bzfgrep
31 /bin/rm -f bzless
32 ln -s bzdiff bzcmp
33 ln -s bzgrep bzegrep
34 ln -s bzgrep bzfgrep
35 ln -s bzmore bzless
36 cd ../..
37 default_toplevel_make_dist $GSDLOS
38fi
Note: See TracBrowser for help on using the repository browser.