LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-28-2005, 08:41 PM   #1
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
error compiling a program


Hey, im trying to compile the xmms-speakers plugin package, and i'm getting this error when i do ./configure:

Quote:
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: error: Cannot find GTK: Is gtk-config in path?
mark@linux:~/bin/xmms_speakers-2.01>
I believe i do have GTk installed.

It says something about a gtk-config in path? I'm not exactly sure what that means.
Can someone help me figure this out?

Thanks
 
Old 07-28-2005, 08:57 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Your PATH is a listing of directories that bash will search, in sequence, for files. If the directory which contains gtk-conf isn't in your path, your attempt will fail.

How to fix this?

One way is via command line: something like PATH=$PATH:</path/to/gtk-conf>; export PATH.

The easiest way: edit /etc/ld.so.conf, add the path to gtk.conf. Then, from command line, issue the command 'source /etc/ld.so.conf' (without quotes) to reload the PATH environment. You may have to su to root for the source and install commands to work, as well as to edit the /etc file.

Then try again to install xmms-speakers.
 
Old 07-28-2005, 11:37 PM   #3
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
hey
when i type:
mark@linux:~> locate gtk.conf

i don't get any result

i know i have gtk installed though
 
Old 07-30-2005, 02:42 AM   #4
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
Ok, i even did an updatedb command and searched for it, still nothing
 
Old 07-30-2005, 06:23 AM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
gtk-config is a script that comes with the older gtk libs ( the one you want is gtk-1.2.10). don't confuse this with gtk-2.x, they are two different versions of the same library but not compatible ( but they can both coexist on the same system without conflicts). open up Yast, and search for gtk, look for a package called gtk-1.2.x-devel ( or something similar), it will contain the gtk-config script you need.
 
Old 07-30-2005, 12:04 PM   #6
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
alright, i search for it, everything that has the word gtk is installed (including gtk2, and gtk2-devel) however, i don't even see a gtk-1.2.x-devel anywhere

I tried searching for it on google, and i couldn't find it on the gtk site

anymore suggestions?
 
Old 07-30-2005, 07:36 PM   #7
cthinh
LQ Newbie
 
Registered: Jul 2005
Location: SaiGon
Distribution: Fedora
Posts: 7

Rep: Reputation: 0
I have the same fault when ./configure xine player .I don't know why?.
 
Old 08-01-2005, 10:40 AM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
Quote:
Originally posted by minm
alright, i search for it, everything that has the word gtk is installed (including gtk2, and gtk2-devel) however, i don't even see a gtk-1.2.x-devel anywhere

remember, gtk-2 is completely different and it doesn't matter whether you have it installed or not. unfortunately, I cannot help you as i don't use suse, maybe head over to the novell/suse forums and see if anyone there knows the exact name of the package. surely if you find a suse 9.2 repository on the net, it will have gtk-1.2 ( and -devel) packages since these are standard libraries that more or less every distro contains.
 
  


Reply



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
error compiling srgp program in c csst0136 Programming 10 10-25-2005 12:14 AM
error compiling srgp program in c csst0136 SUSE / openSUSE 0 10-23-2005 02:46 PM
error while compiling c /c++ program kiranbud Programming 1 10-12-2005 08:19 PM
help compiling a program minm Linux - Newbie 3 10-10-2005 01:14 AM
Just finished compiling Wine, getting "couldn't find program" error Maronflower Linux - Software 1 11-10-2003 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration