source: gs2-extensions/imagemagick/trunk/src/packages/CASCADE-MAKE/TIFF.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: 858 bytes
Line 
1#!/bin/bash
2
3package=tiff
4version=-3.9.4
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXTIMAGEMAGICK ../.. $*
9
10prefix=$GEXTIMAGEMAGICK_INSTALLED
11
12# Need to configure with jpeg-8 library and include directories,
13# else configure of tiff will look for libjpeg.so.62 and end up compiling against that
14# http://www.imagemagick.org/discourse-server/viewtopic.php?f=2&t=18566
15opt_run_untar $force_untar $auto_untar $package $version
16opt_run_configure $force_config $auto_config $package $version $prefix --with-jpeg-lib-dir=$GEXTIMAGEMAGICK_INSTALLED/lib --with-jpeg-include-dir=$GEXTIMAGEMAGICK_INSTALLED/include
17
18opt_run_make $compile $package $version
19opt_run_make $install $package $version "install"
20opt_run_make $clean $package $version "clean"
21opt_run_make $distclean $package $version "distclean"
22
23opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.