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

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

When running diffcol on the backdrop model collection, none of the images were being generated. The imagemagick convert binary is looking for a library called libjpeg.so.62, which wasn't present in the lib folder of our own imagemagick (the system imagemagick on the CentOS machine where the model collection had been built had this library, which is why it worked there). Cascade-make now creates a softlink to the existing libjpeg.so (version libjpeg.so.8) called libjpeg.so.62.

  • Property svn:executable set to *
File size: 941 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 # also create a symbolic link from existing libjpeg.so.62 to libjpeg.so.8
28 cd linux/bin
29 /bin/rm -f bzcmp
30 /bin/rm -f bzegrep
31 /bin/rm -f bzfgrep
32 /bin/rm -f bzless
33 ln -s bzdiff bzcmp
34 ln -s bzgrep bzegrep
35 ln -s bzgrep bzfgrep
36 ln -s bzmore bzless
37 cd ../lib
38 ln -s libjpeg.so.8 libjpeg.so.62
39 cd ../..
40 default_toplevel_make_dist $GSDLOS
41fi
Note: See TracBrowser for help on using the repository browser.