GRASS GIS on Mac OS X

JPEG

Last change: 2005/7/18


| Home | Mac GRASS Top | Mac GRASS Build Main | Downloads |


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: 2008-03-27 21:31:14 +0000 (Thu, 27 Mar 2008) $