[Gdal-dev] Building on OS-X

Christopher Barker Chris.Barker at noaa.gov
Thu Oct 25 14:46:08 EDT 2007


Hi all,

I'm trying to build on OS-X, and having a bit of trouble getting all the 
libs it need found. So far, my issues have been libpng and libtiff, but 
who knows what's next?

Which libs are others using? I had libpng already installed (from 
source), but only the static lib, and Make was looking for *.dynlib, so 
that didn't work.

So I've decided that I should just use the nifty Kyng Chaos-supplied
UnixImageIO framework. However, ./configure doesn't find it, so I 
started doing things like:

--with-png=/Library/Frameworks/UnixImageIO.framework/Versions/A/unix/lib/

but that got ugly fast!

So, it appears that what I should do is add a --framework-UnixImageIO 
somewhere, but I'm not sure where, as it's needed for both 
pre-processing and linking.

Any thoughts?

-Chris

By the way, does autoconf have any facilities for looking for 
Frameworks? It seems the ideal solution would be for ./configure to just 
find it.



-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov



More information about the Gdal-dev mailing list