Re: [Gimp-developer] GIMP looking for babl and GEGL outside the prefix



On Sun, 2015-02-22 at 12:14 -0500, Elle Stone wrote:
On 02/22/2015 11:27 AM, Partha Bagchi wrote:
Welcome back. :)
Thanks!

Can you not simply pass the LIB statement to configure/autogen or
adjust PKG_CONFIG_PATH?

I use these commands to set up the prefix before installing and updating 
babl/GEGL/GIMP:

prefix=/home/elle/code/gimpdefault/run
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
datarootdir=${prefix}/share

Hi Elle,

these variables won't help at all. A more-or-less complete development
prefix environment looks like this (working example from my disk, with
all the same packages in prefix also installed by the OS in /usr):

PREFIX=/home/elle/code/gimpdefault/run
export PATH=$PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export XDG_DATA_DIRS=$PREFIX/share:$XDG_DATA_DIRS
export ACLOCAL_FLAGS="-I $PREFIX/share/aclocal"
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH

If you also build glib in that prefix, it needs to find
OS-installed modules. On debian unstable 64 bit this looks
like:

export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules

but might be different depending on the distribution.

Regards,
--Mitch




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]