2001.05.18 03:21 "libtiff on OSX?", by Ben Dubin-Thaler

2001.05.18 12:45 "Re: libtiff on OSX?", by Frank Warmerdam

i was wondering if anyone has gotten any version of libtiff to compile on Mac OSX which as far as I know is a version of BSD at the bottom. if so, could you enlighten me?

Hi, you can compile it for Carbon OSX apps with Codewarrior, or to compile the command line tools you can follow the instructions in the README file, with the exception that the configure script doesn't yet recognize Darwin.

Ben / Doug,

The 3.5.7 alpha release includes experimental support for OS X. Hopefully it will work out of the box on Darwin.

Try:

ftp://ftp.remotesensing.org/pub/libtiff/tiff-v3.5.7-alpha2.tar.gz

Note, if you don't want JPEG support make sure you disable the OJPEG_SUPPORT flag in tiffconf.h. It is just on temporarily.

After I finished installing libtiff I installed geotiff:

ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/libgeotiff-1.1.4.tar.gz

and ran ./configure --with-libtiff=~/tiff-v3.5.6-beta/libtiff/ but got a make error:

/usr/bin/ld: table of contents for archive: /usr/local/lib/libtiff.a is out of date; rerun ranlib(1) (can't load from it)

Does OSX require ranlib be run on .a files to setup the index? If anyone can provide a patch to the libtiff build/install to fix this I will apply it.

Best regards,

---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent