Robert Osfield wrote:
>
> Could you explain this, as it sounds like your TIFF library is rather
> at odds with the rest of the world - I can't see a reason why a TIFF
> library would ever like to JPEG and ZLIB libraries.
Hi Robert,
While both are optional, all the tiff libs I checked depend on jpeg and zlib.
1) Debian package information:
Package: libtiff4
Version: 3.8.2-7
Depends: libc6 (>= 2.3.5-1), libjpeg62, zlib1g (>= 1:1.2.1)
2) ldd output on my debian system:
$ ldd /usr/lib/libtiff.so
linux-vdso.so.1 => (0x00007fffb85fe000)
libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x00002b61f262d000)
libz.so.1 => /usr/lib/libz.so.1 (0x00002b61f274f000)
libm.so.6 => /lib/libm.so.6 (0x00002b61f2866000)
libc.so.6 => /lib/libc.so.6 (0x00002b61f2ae7000)
/lib64/ld-linux-x86-64.so.2 (0x0000555555554000)
3) tiff-3.8.2 source code configure help:
--disable-zlib disable Zlib usage (required for Deflate
compression, enabled by default)
--disable-pixarlog disable support for Pixar log-format algorithm
(requires Zlib)
--disable-jpeg disable IJG JPEG library usage (required for JPEG
compression, enabled by default)
4) http://gnuwin32.sourceforge.net/packages/tiff.htm also lists jpeg
and zlib in the requirements section at the bottom.
5) gentoo ebuild at
http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/tiff/tiff-3.8.2-r2.ebuild?view=markup
IUSE="jpeg jbig nocxx zlib"
DEPEND="jpeg? ( >=media-libs/jpeg-6b )
jbig? ( >=media-libs/jbigkit-1.6-r1 )
zlib? ( >=sys-libs/zlib-1.1.3-r2 )"
I am wondering if maybe only fixing the CMakeList (that uses
TIFF_LIBRARY which is marked as do-not-use) would be enough for me to
manually supply the zlib and jpeg dependencies.
--
Csaba
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org