LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   dunno what to do with these error (https://www.linuxquestions.org/questions/linux-software-2/dunno-what-to-do-with-these-error-334063/)

wisdom 06-15-2005 09:25 PM

dunno what to do with these error
 
Well trying to compile gxine gui and this is the error message i get

Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
configure: error: Package requirements (gtk+-2.0 >= 2.2.0) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively you may set the GTK2_CFLAGS and GTK2_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
[root@localhost gxine-0.4.5]#

I do have gtk installed gtk2.0 and the sub folder says 2.4.0

anyone can insturct me as what i can do to overcome this problem pls

macemoneta 06-15-2005 10:02 PM

You'll need the gtk+-2.0-devel package. The regular package is only the runtime binary, not suitable for development (i.e., compiling packages that need it).

jonkristian 06-16-2005 04:35 AM

that's not what it says...

try locate gtk+-2.0.pc
it should be i that pkgconfig path which means /path/to/pkgconfig/gtk+-2.0.pc

if you find it do:
PKG_CONFIG_PATH=/path/to/pkgconfig
export PKG_CONFIG_PATH

then re-run ./configure

if you dont find it, then macemoneta is right, you need that package...

cheers -JK

wisdom 06-16-2005 09:17 AM

anyone know where i can get the gtk+-2.0-devel package from??

trickykid 06-16-2005 09:30 AM

Quote:

Originally posted by wisdom
anyone know where i can get the gtk+-2.0-devel package from??
www.gtk.org or google.com/linux for them.. :rolleyes:

wisdom 06-16-2005 09:38 AM

already try there.. but the links are down for downloading stuff on that site

macemoneta 06-16-2005 09:40 AM

From the Mandrake 10.1 mirrors, like this one:

http://mandrake.mirrors.pair.com/Man...86/media/main/

I believe the package you want on Mandrake 10.1 is called libgtk+2.0_0-devel-2.4.9-9mdk.i586.rpm.

trickykid 06-16-2005 09:40 AM

Quote:

Originally posted by wisdom
already try there.. but the links are down for downloading stuff on that site
I just used google.. its not currently down.. or do you want to use us as your personal search assistant today... ;)

Also I could click and reach every link for downloading from www.gtk.org.. hmmm!!

wisdom 06-16-2005 10:16 AM

trickykid... Well the pages would go dead when i try to download using the links on the gtk site under windows and under linux it would just bring up a message saying "The Document contain no data" so... i dunno

reddazz 06-16-2005 01:46 PM

I am sure your problems can be solved by installing the gtk2 devel package by doing as root,
Code:

#urpmi libgtk+2.0_0-devel
If you haven't set up urpmi sources for your installation, then go to easyurpmi for a list of repositories.


All times are GMT -5. The time now is 05:53 PM.