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

2015-02-23 Thread Michael Natterer
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

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

2015-02-23 Thread Elle Stone
On 02/23/2015 07:11 AM, Michael Natterer wrote: 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

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

2015-02-22 Thread Elle Stone
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

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

2015-02-22 Thread Mukund Sivaraman
Hi Elle On Sun, Feb 22, 2015 at 12:14:20PM -0500, Elle Stone wrote: Is there another step involved in passing the LIB statement to configure/autogen or adjusting the PKG_CONFIG_PATH? I use these steps for building and installing GIMP into my home directory:

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

2015-02-22 Thread Elle Stone
I installed babl/GEGL/GIMP from git in a prefix. Then I installed babl/GEGL/GIMP-2.8 from Gentoo portage. When I tried to update GIMP from git in the prefix, I got the following terminal output core/libappcore.a(gimphistogram.o): In function `gimp_histogram_calculate':

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

2015-02-22 Thread Partha Bagchi
Welcome back. :) Can you not simply pass the LIB statement to configure/autogen or adjust PKG_CONFIG_PATH? On Sun, Feb 22, 2015 at 11:03 AM, Elle Stone ellest...@ninedegreesbelow.com wrote: I installed babl/GEGL/GIMP from git in a prefix. Then I installed babl/GEGL/GIMP-2.8 from Gentoo

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

2015-02-22 Thread Christopher Curtis
Hi Elle, Not a GIMP dev, so just some general advice here. It looks like the problem is from compiling gimphistogram.c. Scroll back through the history to find the 'gcc' line where this is compiled and look at the full arguments. Make sure that there's a -L/home/elle/... argument that appears

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

2015-02-22 Thread Partha Bagchi
Let's say that you are building it somewhere like /opt Let's also say that your babl/gegl are in /opt/babl and /opt/gegl respectively. Then, I would do the following: export PKG_CONFIG_PATH=/opt/babl/lib/pkgconfig;/opt/gegl/lib/pkgconfig;$PKG_CONFIG_PATH Babl has no dependencies and so you

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

2015-02-22 Thread Elle Stone
Hi Partha, Chris, and Mukund, and thanks! for trying to help sort this out. I've rebuilt babl/GEGL/GIMP in a prefix many times without any problems. The problem started when I installed babl/GEGL/GIMP-2.8 from Gentoo portage. For some reason GIMP from git is looking for babl in /usr before