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. |
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. |
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 |
Quote:
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. |