Building GIMP on Mac OS X

Just a few notes about this, because the instructions available at wiki.gimp.org/gimp/HowToCompileGimp/MacOSX are really great. The only things I might add are:

- If you’re thinking about usign Fink instead of MacPorts, don’t. I tried that way and it was hell. Reasons: MacPorts had more of the packages I needed, and more updated.

- MacPorts is indeed your friend and I used it to install almost all the packages mentioned in the previous how-to: git-core, freetype, fontconfig, libart_lgpl, XML::Parser (p5-xml-parser on MacPorts, but I actually think the GTK build already installs it), LCMS, py-cairo, pyGOObject and PyGTK; in any case, just run (e.g.) port search cairo to find what you’re looking for.

- build BABL and GEGL: be sure to get GEGL v0.0.16+ or refer to this page. You still need to manually copy gegl.pc to the installation path:

sudo cp ~/Desktop/gegl-0.0.16/gegl.pc /usr/local/lib/pkgconfig/

- finally run:

$ ./autogen.sh  --without-mng --without-alsa --disable-alsatest --without-x --with-libtiff --enable-gtk-doc LDFLAGS="-L/opt/gtk/lib -L/opt/local/lib" CPPFLAGS="-I/opt/gtk/include -I/opt/local/include" --prefix=/opt/gimp


ignore the warnings about the m4 files (See http://www.gimp.org/source/howtos/stable-cvs-build.html ).
Note about libtiff: either one of “--with-libtiff” or “--without-libtiff” options is needed, otherwise ./configure will complain.
Note: if you don’t care about the docs, add a --disable-gtk-doc option to avoid building the GTK docs.

$ make

Done.

20080229 1827 Friday # reported by ep # Filed under:

No Comments »

No comments yet.

RSS feed for comments on this post.
TrackBack URI for this entry: http://cubelogic.org/act/170/trackback

Leave a comment