Table of Contents

Build Notes

:!: Update in Progress – There may be inconsistencies and problems until it's finished

The version listed is what the instructions refer to, there may be a more recent version. Many depend on a previous library being installed, so install in the given order.

Each major OSX version has its own section in the notes. Builds are not meant to be backwards-compatible for older OSX versions, but are generally forwards-compatible with later versions. Tiger builds are universal. Leopard builds are quad-arch universal 32+64bits. Compilation uses the ccub trick when needed. See the Universal & 64bit notes for more info.

Framework Support

These are needed only when compiling the frameworks (GDAL only, really) from source.

PackageVersionLast ChangeDependsSourceBuildNotes
libgeotiff 1.2.2 - libjpeg, libtiff, proj.4 remotesensing.org build
OGDI 3.1.5 - expat, proj.4 ogdi.sourceforge.net build For reading VPF data (ie VMAP0).
NetCDF 3.6.0p1 - - my.unidata.ucar.edu build For reading NetCDF data.
HDF 4.2r1 - - hdf.ncsa.uiuc.edu build For reading HDF data (ie Aster and MODIS data).
CFITSIO 3.10 2008/10/8 - http://heasarc.gsfc.nasa.gov/fitsio/ build For reading FITS data.

All Support

These support end-products and frameworks. If using the frameworks as a base, these still need to be compiled for application end-products (see the application's requirements).

PackageVersionLast ChangeDependsSourceBuildNotes
expat 2.0.1 2008/6/27 - libexpat.org build
MySQL 4.1.13 - - dev.mysql.com build Get the latest 5.x release. See phpMyAdmin for an excellent MySQL web-based client to manage databases. CocoaMySQL is another good client (Mac OS X app), tho it can't manage privileges.

Application Support

These support end-products. If using the frameworks as a base, these need to be compiled for application end-products (see the application's requirements).

PackageVersionLast ChangeDependsSourceBuildNotes
GD 2.0.35 2008/6/27 libjpeg, libpng, freetype2 www.libgd.org build General purpose graphics library. Has its own internal GIF support.
AGG 2.4 - freetype2 http://antigrain.com/ build Graphics rendering library. Get v2.4 for its more compatible license (2.5+ uses the GPL)
PDFlib 6.0.3 - - www.pdflib.com build PDF serving and export from MapServer, and PDF generation from PHP. Either the Lite (free, non-commercial use), or commercial ($$$) version will work.
FFMPEG SVN - - http://ffmpeg.mplayerhq.hu/ build video encoding
ming 0.4.2 2008/10/12 libgif, libpng, freetype2 http://www.libming.org/ build Flash library
Cairo 1.4.14 - ... cairographics.org build 2D graphics library for multiple output devices
Tcl/Tk 8.4.10 - - www.tcl.tk build Tcl/Tk support will be removed in GRASS 7 in favor of Python.

Binaries Available

These have binaries available. The frameworks include the Framework Support libraries statically linked. The applications include the other Support libraries and programs above.

PackageVersionLast ChangeDependsSourceBuildBinaryNotes
giflib 4.1.6 2008/10/18 - sourceforge build UnixImageIO framework
libjpeg 6b 2007/12/02 - www.ijg.org build UnixImageIO framework
libpng 1.2.23 2008/10/18 - libpng.org build UnixImageIO framework
libtiff 4.0 CVS 2008/10/18 libjpeg remotesensing.org build UnixImageIO framework
libjasper 1.900.1 UUID 2008/10/18 libjpeg JasPer Project
JasPer UUID
build UnixImageIO framework JPEG2000 library.
freetype2 2.3.5 2008/6/27 - FreeType Project build FreeType framework Apple's X11 provides an older freetype, but it's still good. Install your own if you want an up-to-date FreeType or want to avoid depedency on X11.
libfftw 3.1.2 2008/6/27 - fftw.org build FFTW3 framework Fast Fourier Transform library. Used in i.fft, i.ifft GRASS modules.
PROJ.4 4.6.0 2008/6/27 - osgeo.org build PROJ framework Map projection library. Get the proj source AND the datum files.
GEOS 3.0.0 2008/6/27 - osgeo.org build GEOS framework Geometry library.
PostgreSQL 8.3.3 2008/8/14 - postgresql.org build PostgreSQL
PostGIS 1.0.3 - PostgreSQL refractions.net build PostGIS
pgRouting 1.0.3 - PostgreSQL pgrouting.postlbs.org build pgRouting Dijkstra, A*, Driving Distance, Travelling Salesman, Shooting Star
RdbiPgSQL 1.0.3 - PostgreSQL, R bioconductor.org build RdbiPgSQL R extension to access Postgres databases
PHP 4.4.0 - expat, libjpeg, libpng, libtiff, libjasper, freetype, gd, pdflib, MySQL, PostgreSQL www.php.net build PHP Necessary for php-mapscript. Apple's bundled PHP lacks many useful options.
GDAL/OGR 1.3.0 - libgif, libjpeg, libpng, libtiff, libjasper, proj.4, geotiff, HDF, NetCDF, CFITSIO, GEOS, OGDI, MrSID, MySQL, PostgreSQL gdal.org build GDAL framework For reading/writing many GIS formats.
GRASS 6.3.0 - libjpeg, libpng, libtiff, freetype, proj.4, gdal, postgres, sqlite, fftw, mysql, ffmpeg, tcltk, python, wxpython grass.osgeo.org build GRASS
MapServer 5.0.3 - libjpeg, libpng, freetype, gd, agg, ming, pdflib, proj.4, gdal, postgres mapserver.gis.umn.edu build MapServer
Qgis 0.10.0 - expat, geos, proj, sqlite, gsl, grass, Qt, Python, PyQt qgis.org build Qgis