2004.06.06 22:26 "[Tiff] [ANNOUNCE]: Libtiff 3.6.1 released", by Andrey Kiselev

2004.06.06 23:32 "Re: [Tiff] Re: tiff-3.7.0alpha", by Bob Friesenhahn

While attempting to build the alpha package using GCC targeting 64-bit sparc under Solaris, I encountered some problems.

This warning sounds like a probable bug:

tif_packbits.c: In function `PackBitsPreEncode':
tif_packbits.c:45: warning: cast to pointer from integer of different size
tif_packbits.c:47: warning: cast to pointer from integer of different size
tif_packbits.c: In function `PackBitsEncodeChunk':
tif_packbits.c:191: warning: cast from pointer to integer of different size

Apparently Solaris does not require any of the porting routines from libport so libport never gets built at all. Unfortunately the library is then referenced later during the build, causing the build to fail:

(cd .libs && rm -f libtiff.la && ln -s ../libtiff.la libtiff.la)
then mv -f ".deps/mkg3states.Tpo" ".deps/mkg3states.Po"; else rm -f ".deps/mkg3states.Tpo"; exit 1; fi
/bin/bash ../libtool --mode=link gcc-3.4.0 -m64  -O2  -L/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9 -o mkg3states  mkg3states.o -L../port -lport -ljpeg -lz -lm -lc
gcc-3.4.0 -m64 -O2 -o mkg3states mkg3states.o  -L/usr/local/lib/sparcv9 -L/home/bfriesen/src/graphics/tiff-3.7.0alpha/port /home/bfriesen/src/graphics/tiff-3.7.0alpha/port/.libs/libport.a /usr/local/lib/sparcv9/libjpeg.so -lz -lm -lc -R/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9
gcc-3.4.0: /home/bfriesen/src/graphics/tiff-3.7.0alpha/port/.libs/libport.a: No such file or directory
gmake[2]: *** [mkg3states] Error 1


Bob Friesenhahn