I had a terribly time getting jpeg-lib to compile under MacOS X, but I figured it out.
uname -a gives me:
Darwin suiginnomaku.local 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:33:36 PDT 2011; root:xnu-1504.15.3~1/RELEASE_I386 i386The simple instructions would be to download the tar.gz from http://sourceforge.net/projects/libjpeg/files/libjpeg/6b/ and untar the file.
You then change into the jpeg-6b directory. You must now copy configuration files for libtool into the directory and configure:
cp /usr/share/libtool/config/config.sub . cp /usr/share/libtool/config/config.guess . ./configure --enable-shared --enable-staticYou then need to edit the Makefile and change ./libtool to be:
LIBTOOL = glibtoolThis is because of the fact that libtool that ships with the libjpeg source is outdated for MacOS, and glibtool is the version that is built-in.
You then type:
maketo build the files.
You then do a:
sudo make install
No comments:
Post a Comment