Re: [Gimp-user] CentOS packanges for 2.8?



On Sat, Jul 14, 2012 at 8:18 PM, erroneus <forums gimpusers com> wrote:
I suggest you read these instructions (ignore the ubuntu bias);

http://www.gimpusers.com/tutorials/compiling-gimp-for-ubuntu

If that's a whole new world, you will find it an interesting learning
curve

It's not a "whole new" world, but it's not something I've done in a long while.  I would love it if someone 
were to explain what everything there does and why they are doing it like that.

When I went to compile the things myself, I kept getting "gegl" and/or "bebl" versions not correct even 
though I had just compiled those libraries as the newest.  It keeps identifying the other versions I have 
installed instead.  (Would it be best to uninstall those? I suppose I should try)

It's nice to have "here's what you do" but when accompanied with what it means and why, then you have real 
learning.


I think CentOS uses gtk+ 2.x. So you shouldn't have to mess with system files.

Suppose you want to build and install Gimp 2.8 in $HOME/opt.

So that we don't mess with system libraries ( seems like you have
gegl/babl installed already), we will ask Gimp to look somewhere else.

Export PKG_CONFIG_PATH=/opt/gimp-2.8/lib/pkgconfig:$PKG_CONFIG_PATH
Now make babl (which has minimal dependencies. Something like:

cd babl
./configure --prefix=$HOME/opt/gimp-2.8
make; make install

cd gegl
./configure --prefix=$HOME/opt/gimp-2.8 --disable-docs
make; make install

cd gimp
./configure --prefix=$HOME/opt/gimp-2.8
make; make install

Now you should have gimp 2.8 installed in $HOME/opt/gimp-2.8

To run gimp, simply do:
$HOME/opt/gimp-2.8/bin/gimp

and you should be good to go.

Hope that helps.



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