Commit 6819f5a8 authored by Sebastien Robin's avatar Sebastien Robin

use our own gcc to buid libtiff and tesseract (thanks Kazuhiko)

This solve compilation problems on Debian 6.0.1
parent 1fa67ac6
......@@ -3,6 +3,7 @@ extends =
../libjpeg/buildout.cfg
../jbigkit/buildout.cfg
../zlib/buildout.cfg
../gcc/buildout.cfg
parts =
libtiff
......@@ -17,5 +18,7 @@ configure-options =
--disable-static
--without-x
environment =
PATH=${gcc-java:location}/bin:%(PATH)s
LD_LIBRARY_PATH=${gcc-java:location}/lib:${gcc-java:location}/lib64
CPPFLAGS=-I${libjpeg:location}/include -I${jbigkit:location}/include -I${zlib:location}/include
LDFLAGS=-L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib -L${jbigkit:location}/lib -Wl,-rpath=${jbigkit:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
LDFLAGS=-L${gcc-java:location}/lib -Wl,-rpath=${gcc-java:location}/lib -L${gcc-java:location}/lib64 -Wl,-rpath=${gcc-java:location}/lib64 -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib -L${jbigkit:location}/lib -Wl,-rpath=${jbigkit:location}/lib -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib
......@@ -5,6 +5,7 @@ extends =
../libpng/buildout.cfg
../libtiff/buildout.cfg
../zlib/buildout.cfg
../gcc/buildout.cfg
parts =
tesseract-eng-traineddata-unzip
......@@ -27,8 +28,10 @@ configure-options =
--disable-static
--datarootdir=${tesseract-share:location}
environment =
PATH=${gcc-java:location}/bin:%(PATH)s
LD_LIBRARY_PATH=${gcc-java:location}/lib:${gcc-java:location}/lib64
CPPFLAGS=-I${zlib:location}/include -I${jbigkit:location}/include -I${libjpeg:location}/include -I${libtiff:location}/include -I${libpng:location}/include
LDFLAGS =-L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${jbigkit:location}/lib -Wl,-rpath=${jbigkit:location}/lib -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib -L${libtiff:location}/lib -Wl,-rpath=${libtiff:location}/lib -L${libpng:location}/lib -Wl,-rpath=${libpng:location}/lib
LDFLAGS =-L${gcc-java:location}/lib -Wl,-rpath=${gcc-java:location}/lib -L${gcc-java:location}/lib64 -Wl,-rpath=${gcc-java:location}/lib64 -L${zlib:location}/lib -Wl,-rpath=${zlib:location}/lib -L${jbigkit:location}/lib -Wl,-rpath=${jbigkit:location}/lib -L${libjpeg:location}/lib -Wl,-rpath=${libjpeg:location}/lib -L${libtiff:location}/lib -Wl,-rpath=${libtiff:location}/lib -L${libpng:location}/lib -Wl,-rpath=${libpng:location}/lib
[tesseract-eng-traineddata]
recipe = hexagonit.recipe.download
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment