LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 04-29-2006, 09:51 PM   #1
thakis
LQ Newbie
 
Registered: Apr 2006
Distribution: Suse 10.0/GNOME
Posts: 2

Rep: Reputation: 0
Location of GTK Libraries and Path question.


I am somewhat computer literate and have finally decided to try Linux again after about 10 years.

I have Suse 10.0 running Gnome. I installed the GTK libraries using YAST but when I try to compile an application I get this message:
configure: error: Cannot find GTK: Is gtk-config in path?
Where does Suse put the gtk-config library and how do I modify my Path.

My PATH:
/home/thakis/bin
/usr/local/bin
/usr/bin
/usr/X11R6/bin
/usr/games
/opt/gnome/bin
/opt/kde3/bin
/usr/lib/mit/bin
/usr/lib/mit/sbin


Please help and thanks!


thakis

Last edited by thakis; 04-29-2006 at 10:05 PM.
 
Old 04-29-2006, 10:13 PM   #2
pbhj
Member
 
Registered: Dec 2002
Location: UK
Distribution: Slackware 12; Ubuntu 7.10
Posts: 358

Rep: Reputation: 31
I'm not a SUSE user but my system (Slackware10.2) returns /usr/bin/gtk-config in response to "which gtk-config" (which searches your path to find a binary). You can also use slocate to find any file (eg "slocate gtk | grep config") but slocate needs to be updated as root (do "slocate -u").

"echo $PATH" shows your current path. Also you may want to look at "export" and "set" (possibly "env" too) if you need to add to your path ... export PATH="$PATH:/usr/path/new"

HTH

pbhj
 
Old 04-30-2006, 09:01 AM   #3
thakis
LQ Newbie
 
Registered: Apr 2006
Distribution: Suse 10.0/GNOME
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pbhj
I'm not a SUSE user but my system (Slackware10.2) returns /usr/bin/gtk-config in response to "which gtk-config" (which searches your path to find a binary). You can also use slocate to find any file (eg "slocate gtk | grep config") but slocate needs to be updated as root (do "slocate -u").

HTH

pbhj
I tried the slocate command as root but the terminal indicates that the command is not found. I also tried:
dir -R|grep gtk-config|more
This did not help either. When I check YAST all the developer libraries for GTK are checked but the ones for GTK2 are red not black. What does this mean?


thakis
 
Old 04-30-2006, 10:39 AM   #4
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,511

Rep: Reputation: 58
Quote:
I tried the slocate command as root but the terminal indicates that the command is not found.
SUSE uses locate (from the findutils-locate package)

Quote:
When I check YAST all the developer libraries for GTK are checked but the ones for GTK2 are red not black. What does this mean?
Red means that the installed package is newer than the files on the original installation medium. They may have been updated during an online update.

On my system, gtk-config is in /opt/gnome/bin and is provided by the gtk-devel rpm.
 
  


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
location of X libraries in slackware buffed317 Linux - Software 3 01-01-2006 04:18 PM
Abiword with just GTK and not Gnome libraries -- Gentoo question vharishankar Linux - Software 8 03-30-2005 08:43 AM
installed libraries to new location, but libtool still thinks it's in /usr/local bobwall Linux - Software 3 12-01-2004 12:34 PM
PATH Location Odd_Bloke Linux - Newbie 4 08-27-2003 05:17 PM
how do i locate or point the location of installed libraries? kublador Linux - Newbie 7 03-01-2003 01:33 PM


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

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