LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-04-2005, 04:20 PM   #1
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Rep: Reputation: 30
installing a gtk program..


hey guys, i want to install lineakconfig and it uses gtk. I already have gtk and gtk2 installed (including their devel packages) and i used rpms to install them.

Now when i go to configure it( which i type ./configure --build=i386-linux --host=i386-linux --target=i386-linux --prefix=/usr/local --disable-debug as in the instructions in the INSTALL file), i get this error:

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?



can anyone help?
 
Old 05-04-2005, 09:09 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Linux Mint 18
Posts: 7,809

Rep: Reputation: 294Reputation: 294Reputation: 294
"Is gtk-config in path?"

You can find the answer to this question with:
which gtk-config

On SuSE 9.1 the gtk-config is at /opt/gnome/bin/gtk-config

If you do not have gtk-config installed then it is provided by the rpm package called gtk-devel. You can check to see if you have gtk-devel installed with:
rpm -qi gtk-devel

If you have gtk-devel installed but gtk-config is not on the PATH (i.e. which does not find it) then you can either put the library containing gtk-config on the PATH or you can set the GTK_CONFIG environment variable to the full path to gtk-config, something like:
PATH=$PATH:/opt/gnome/bin/gtk-config
or
GTK_CONFIG=/opt/gnome/bin/gtk-config

---------------------------------
Steve Stites
 
Old 05-05-2005, 01:38 AM   #3
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
hmm, wierd.

I type
mark@linux:~> GTK_CONFIG=/opt/gnome/bin/gtk-config
mark@linux:~>


and now when i try and configure it i get this:

mark@linux:~/lineak/lineakconfig-0.3.2> ./configure --build=i386-linux --host=i386-linux --target=i386-linux --prefix=/usr/local --disable-debug
./configure: line 755: config.log: Permission denied


what's wrong now?
 
Old 05-05-2005, 01:49 AM   #4
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
did you configure as root and try to configure as a normal user later?
 
Old 05-05-2005, 10:10 AM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Linux Mint 18
Posts: 7,809

Rep: Reputation: 294Reputation: 294Reputation: 294
"./configure: line 755: config.log: Permission denied"

Check your permissions for /opt/gnome/bin/gtk-config. The whole problem from the beginning could be that /opt/gnome/bin/gtk-config is not readable by user.

Also take a look at line 755 in ./configure and see what configure is trying to do when permission was denied.

---------------------------
Steve Stites
 
Old 05-07-2005, 07:29 PM   #6
minm
Member
 
Registered: Jun 2003
Location: Canada
Distribution: suse 9.2
Posts: 582

Original Poster
Rep: Reputation: 30
ok thanks!
 
  


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
how to debug GTK+ program asahlot Programming 4 10-19-2005 04:23 AM
about gtk+ program ganguly Linux - General 1 05-11-2005 07:29 AM
GTK-gnutella Where is the program? icehenge Linux - General 4 02-27-2005 10:00 PM
Gtk-Warning but program still works... I close konsole, program closes Laptop2250 Linux - Software 2 11-14-2003 11:18 PM
gtk program souvik Programming 1 06-08-2001 04:58 AM


All times are GMT -5. The time now is 03:14 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration