GRASS GIS on Mac OS X

JPEG

Last change: 2005/7/18


libjpeg version: 6b
http://www.ijg.org/

libjpeg is a bit old and parts are out-of-date, and there is a bug, so it needs some patching. In a Terminal type:

$ cd path_to_folder_containing_libjpeg_source_tar_gz
$ tar -zxf jpegsrc.v6b.tar.gz

Then, replace ltconfig and ltmain.sh with these patched versions. They contain a couple Mac OS X patches to the version of libtool in the jpeg source. Also, download this patch for the makefile and unzip it into the source folder.

Then continue:

$ cd jpeg-6b
$ cp -f /usr/share/libtool/config.* .
$ patch makefile.cfg makefile.cfg.patch
$ ./configure --enable-shared --enable-static
$ make
$ sudo make install

© 2003-2005 GRASS Development Team
Comments about this page | FAQ | Download | Support | Docs | Programming | Back HOME
Last change: $Date$