gtk+/libpng12 error

Anything that pertains to Portage

Moderator: Moderators

gtk+/libpng12 error

Postby LastPanda » Fri Sep 03, 2010 2:33

I was update gtk+, but a get this error:

Code: Select all
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.23.6    atk >= 1.29.2    pango >= 1.20    cairo >= 1.6) were not met:

Package libpng12 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libpng12.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libpng12', required by 'cairo', not 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 BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


I downgrade for libpng 1.2.44, but the message keeps show up.

How can I solve?

    Dell Inspiron 1720 (Core 2 Duo 7500, 2 GB ddr2, nvidia8600 gt)
LastPanda
Baby Hen
 
Posts: 3
Joined: Mon Aug 23, 2010 5:27

Re: gtk+/libpng12 error

Postby Fitzcarraldo » Fri Sep 03, 2010 8:56

User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7333
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: gtk+/libpng12 error

Postby michau » Sat Sep 04, 2010 23:13

Try to install two versions of libpng. First install media-libs/libpng-1.4.3 and next install media-libs/libpng-1.2.44. Older package will be slotted.
Gentoo & Sabayon user
michau
Baby Hen
 
Posts: 1
Joined: Sat Sep 04, 2010 15:54
Location: Poland

Re: gtk+/libpng12 error

Postby kernel_panic » Mon Nov 29, 2010 23:35

**WARNING**

Bear in mind that as I write this I am *very* new to Sabayon but an old hand in Gentoo. As such this post from a Gentoo point of view and might not work. It might even render your system more useless than a submarine with a screendoor.

If you use Entropy at all I would say that you should just stop reading this post NOW!

In Gentoo when you have problems with a dependency (either because you made mistake or switched from stable to testing and back or tried a masked package, etc.) you can run revdep-rebuild to fix it.

This is a command to use with caution. Make sure you read the man page for it and the man pages in it's "see also" setion and mabye even their "see also's". You should also read some of the posts dealing with it in the Gentoo forums.

After you have read all that and understand pretty well how this works and what it does start with:

Code: Select all
revdep-rebuild -avp


That will tell you what it wants to do to your system with out actually doing it. If you like what you see you can then remove the -vp from the command and let it rebuild what it needs to.

Another way to fix might be to run:

Code: Select all
emerge -avp --depclean


Again, this something to use with caution and you should read the emerge man page and other materials to make sure it's something you want to try before you do it.


I hope that helps,

KP
kernel_panic
Baby Hen
 
Posts: 4
Joined: Mon Nov 29, 2010 19:42


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 0 guests