PDA

View Full Version : Help installing a piece of software needed


Enigma 2100
2006-12-06, 01:39 PM CST
I am trying to install a piece of software but keep getting this error.

[enigma@localhost RutilTv0.13]$ ./configure.sh
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
Please install (or upgrade to) GTK+ 2.6.0 minimum.
[enigma@localhost RutilTv0.13]$

I can't find gtk anywhere. I tried yum install gtk and any varient I could think of with no luck. I dont know how to add add "the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable" can any one help.

hiberphoptik
2006-12-06, 01:56 PM CST
try this:

yum whatprovides gtk+-2.0.pc

Enigma 2100
2006-12-06, 03:35 PM CST
Thanks for the reply. Here is what I got from the command.

gtk2-devel.i386 2.10.4-4.fc6 core
Matched from:
/usr/lib/pkgconfig/gtk+-2.0.pc

gtk2-devel.i386 2.10.4-5.fc6 updates
Matched from:
/usr/lib/pkgconfig/gtk+-2.0.pc

gtk2-devel.i386 2.10.4-6.fc6 updates
Matched from:
/usr/lib/pkgconfig/gtk+-2.0.pc
[root@localhost enigma]#

I guess this means it is installed. I tried to install the software again with the same result. I guess I need to make a link as suggested, but how do I do it.

hiberphoptik
2006-12-06, 03:44 PM CST
now simply do a:

yum install gtk2-devel

and that should do it for you (for that package anyway)

Enigma 2100
2006-12-06, 03:58 PM CST
OK that got me passed ./configure.sh but when I do "make" I get this

[root@localhost RutilTv0.13]# ./configure.sh
Generating Makefile constants... done
Generating program constants... done
[root@localhost RutilTv0.13]# make
Compiling lib/WE17Driver.o
/bin/sh: g++: command not found
make: *** [lib/WE17Driver.o] Error 127
[root@localhost RutilTv0.13]#

Do you know what g++ is and how to fix it?