LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-14-2005, 09:40 PM   #1
siht
LQ Newbie
 
Registered: Feb 2004
Location: Perth. West Aust.
Distribution: SuSe 9.3 Pro
Posts: 5

Rep: Reputation: 0
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.

Last edited by siht; 07-14-2005 at 10:06 PM.
 
Old 07-14-2005, 09:48 PM   #2
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
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.
 
1 members found this post helpful.
Old 07-15-2005, 07:36 PM   #3
siht
LQ Newbie
 
Registered: Feb 2004
Location: Perth. West Aust.
Distribution: SuSe 9.3 Pro
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 07-15-2005, 08:17 PM   #4
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 46
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. 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
pkg-config sinXposed Linux - Software 12 10-30-2008 05:48 AM
pkg-config supersucker Linux - Software 3 09-07-2004 09:45 AM
pkg-config help gexzd Linux - Newbie 14 05-03-2004 10:27 AM
pkg-config TraCe66 Linux - Newbie 1 07-01-2003 02:56 PM
pkg-config Keebler Linux - Software 2 04-30-2003 02:10 PM


All times are GMT -5. The time now is 11:20 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration