LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   pkg-config cannot find gtkglext (https://www.linuxquestions.org/questions/linux-software-2/pkg-config-cannot-find-gtkglext-343294/)

siht 07-14-2005 09:40 PM

pkg-config cannot find gtkglext
 
Hi all,

I'm attempting to install a program called Guatu, there's no SuSe (9.3) rpm available so I have the source and plan to - ./configure + make + checkinstall -. Problem is ./configure quits with this error :

*** pkg-config cannot find gtkglext-1.0 >= 1.0.0
*** Set the environment variable PKG_CONFIG_PATH to point to the correct
*** configuration files.

I have installed and rpm called GtkGLExt and it does physically exist in /opt/gnome/lib/gtkglext-1.0. I am assuming then that the problem is with pkg-config not finding it. /opt/gnome/lib/pkgconfig is in the pkg-config config variable PATH but /opt/gnome/lib/pkg-config does not contain a gtkglext.pc. I tried creating one using syntax from other *.pc files and got no love.

Anyone have any ideas on this, I've spent hours on it when all I wanted to do was read some comics from .cbr

Thanks
Simon.

synaptical 07-14-2005 09:48 PM

Re: pkg-config cannot find gtkglext
 
try:

$ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

and then run the ./configure.

if it doesn't work, update your database (updatedb), then run locate gtkglext.pc and use whatever path it comes up with instead.

siht 07-15-2005 07:36 PM

Thanks synaptical,

I tried both your suggestions, all my *.pc files are in /usr/lib/pkgconfig, /opt/gnome/lib/pkgconfig & /opt/kde3/lib/pkgconfig.Locate is a great tool, I don't know why SuSe doesn't install it by default. The problem is as I thought, the installation of GtkGLExt from rpm did not create the file gtkglext.pc anywhere in my system. Therefore pkg-config does not know gtkglext exists and ./configure fails. Is there any way I can update the pkg-config database or manually create gtkglext.pc?

Cheers
Simon

synaptical 07-15-2005 08:17 PM

Quote:

Originally posted by siht
Thanks synaptical,

I tried both your suggestions, all my *.pc files are in /usr/lib/pkgconfig, /opt/gnome/lib/pkgconfig & /opt/kde3/lib/pkgconfig.Locate is a great tool, I don't know why SuSe doesn't install it by default. The problem is as I thought, the installation of GtkGLExt from rpm did not create the file gtkglext.pc anywhere in my system. Therefore pkg-config does not know gtkglext exists and ./configure fails. Is there any way I can update the pkg-config database or manually create gtkglext.pc?

Cheers
Simon

when you said it wasn't in the /opt/gnome location, i just assumed it would be in the /usr/lib, /usr/local/lib, etc. :confused: is there a development package associated with gtkglext? it might be in there.

if not, you could try removing the rpm and building the program (gtkglext) from source and see if that creates it. then just procede as above: updatedb and locate the file (or just look manually) and then export the path.


All times are GMT -5. The time now is 05:24 AM.