On 07/19/2009 04:58 AM, Owen wrote:
> if you built babl and gegl from scratch, no problems, but sounds like
> you might be using Ubuntu or fedora. So look in you package manager
> for things like gegl-dev and babl-dev

If he is trying to build git master then the packages provided by his 
distro will not work since he basically needs git master of babl and 
GEGL too.

> If you built babl and gegl in some non standard directory, you need to
> tell the system where to find them, hence;
> export PKG_CONFIG_PATH=/non_standard/directory/lib/pkgconfig

There is method to deal with building for non-standard prefixes that is 
superior to manually managing the environment variables, and this method 
is config.site.

Put this in the file /home/user/dev/share/config.site:

   # for development: export CFLAGS="-g -O0"
   export PKG_CONFIG_PATH="/home/user/dev/lib/pkgconfig:$PKG_CONFIG_PATH"
   export LD_LIBRARY_PATH="/home/user/dev/lib:$LD_LIBRARY_PATH"

This file will then be sourced by configure whenever it is invoked with 
the prefix /home/user/dev, so assuming you have all build dependencies, 
all you have to do to build babl, GEGL and GIMP is to clone all the 
repos from git://git.gnome.org/project and then do

   ./autogen.sh --prefix=/home/user/dev
   make install

in all of them, in that order. Then after git pull --rebase you don't 
need to bother about setting up the environment again, you just do


and all dependencies will be processed properly with the right env vars set.

  / Martin
Gimp-user mailing list

Reply via email to