LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Trying to install gimp (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-install-gimp-4175445666/)

kedarp 01-15-2013 02:50 AM

Trying to install gimp
 
Hello,

I have a tar of the gimp 2.8 setup. When I try to install it, I get the
following dependency problem -

Code:

#./configure

Here are the last few lines of o/p -

checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for iso-codes... yes
checking for BABL... no
configure: error: Package requirements (babl >= 0.1.10) were not met:

No package 'babl' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables BABL_CFLAGS
and BABL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Now when I find the package in Synaptic, I get a package -

libbabl-0.0-0
Dynamic, any to any, pixel format conversion library

But after I install this package I again get the same o/p.

EricTRA 01-15-2013 03:06 AM

Hi,

For the version of Gimp you're installing the version of the babl package needs to be higher or equal to 0.1.10:
Code:

Package requirements (babl >= 0.1.10) were not met:
And why are you installing from source? Doesn't the version your package manager/repository offers suit your needs?

Kind regards,

Eric

jmc1987 01-15-2013 04:09 AM

If your using ubuntu 10.10 still I would recommend you to upgrade for the latest. However you can run

# sudo apt-get install gimp

which will installed a prepacked version of gimp. If you don't wish to upgrade and still want the latest you can try getting the packages from a later ubuntu repo and install them manually or recompile them from source. If you decide to compile them I would suggest you learn how to pack them into a .deb.

knudfl 01-15-2013 06:53 AM

Quote:

Now when I find the package in Synaptic, I get a package -

libbabl-0.0-0
Quote:

Package requirements (babl >= 0.1.10) were not met:
The missing part is babl.pc : A package config file.

To use babl for compilation, a complete "libbabl" is required.
I.e. you are missing the package libbabl-0.0-0-dev ,
providing /usr/lib/pkgconfig/babl.pc , etc. etc.

-

TobiSGD 01-15-2013 07:12 AM

And if you find the needed version of libbabl your next stop will be GEGL and after that you will find out that you need a newer version of libglib and this is where it becomes hairy, because libglib is widely used, especially on Gnome system, so updating libglib can break many applications.
If you want to use GIMP 2.8 upgrading your distibution to recent version is the easiest way to go. Which is recommended anyways if you are still running the totally unsupported and therefore insecure Ubuntu 10.10.

fbobraga 01-15-2013 07:20 AM

Quote:

Originally Posted by EricTRA (Post 4870358)
And why are you installing from source? Doesn't the version your package manager/repository offers suit your needs?

I think it's an error from the OP...

kedarp 01-15-2013 08:53 AM

The latest version available in Synaptic is 0.0.22. So it is better to install it from the repository
than falling in to the dependency loop.
Thanks for the replies btw.

rtmistler 01-15-2013 08:55 AM

You're not going to be able to get gimp 2.8 installed on Ubuntu versions earlier than 12.04. According to your user info, you have 10.10.

http://<br /> http://askubuntu.com/...gimp-2-8<br />

"Ubuntu versions prior to 12.04

Currently there is no method to install Gimp 2.8 on any version below 12.04.

In terms of is it possible ...

Unlikely for the following reason:

The dependencies of the latest versions of Gimp require a-lot of the latest underlying libraries that you will not find by default in any version below 12.04. Thus, you will need to recompile and rewrite portions of the code to get it to compile. The further away you get from 12.04, the larger the change required."

fbobraga 01-15-2013 09:12 AM

(Sorry by replying to a solved thread)

Official support for Ubuntu 10.10 ended in April/2012: http://fridge.ubuntu.com/2012/04/10/...april-10-2012/


All times are GMT -5. The time now is 12:47 AM.