LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-15-2005, 12:59 AM   #1
audiorevolution
LQ Newbie
 
Registered: May 2005
Location: Philadelphia, PA
Distribution: Xubuntu 5.04 PPC
Posts: 29

Rep: Reputation: 15
Problem with ./configure; cannot find gtk-config


I'm trying to compile Firefox 1.0.4 source under Kubuntu 5.04 PPC. Running ./configure in the untarred directory results in the following message:

==error message (@end of ./configure)==
checking for gtk-config... no
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.
*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk
configure: error: Test for GTK failed.
==end error message==

I've double checked, and I have GTK++ and it's prereqs (Glib, PANGO, and ATK) are installed (according to Synaptic). Searching for "gtk-config" yields no results.

Any help for a newb?
 
Old 05-15-2005, 01:07 AM   #2
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
gtk-config comes from the 'ol gtk, specifically gtk-1.x ( the version you want is 1.2.x, IMO you want gtk+-1.2.10 ( on debian based systems you'll also need gtk+-1.2.10-devel)). but note that this will not be your last problem, you cannot build firefox with ./configure, make, make install. ( you technically could, but it wouldn't be worth a sh!t).

http://www.mozilla.org/build/configure-build.html

http://www.mozilla.org/build/make-build.html

you will need alot more, depending on what options you specify. in my experience, whenever you enable a font system, you have to disable the other one, for example if you want xft to do the fonts you need to add --disable-freetype2 in your .mozconfig file or you get errors ( I've never compiled 1.0.4, but this is how it was in previous versions). for your distro, make sure you have all of the -devel packages you will need. pay attention to which version of libIDL also.
 
Old 05-15-2005, 01:13 AM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
To add to the fine post above you should install apt-file to help in the search for the packages you will need to install, in this case you need the libgtk1.2-dev package as you can see from the output using it below.

Code:
>$ apt-file search gtk-config
libgtk1.2-dev: usr/bin/gtk-config
libgtk1.2-dev: usr/bin/gtk-config
libgtk1.2-dev: usr/share/man/man1/gtk-config.1.gz
libgtk1.2-dev: usr/share/man/man1/gtk-config.1.gz
libgtk1.2-doc: usr/share/doc/libgtk1.2-doc/gtk-config.txt.gz
libgtk1.2-doc: usr/share/doc/libgtk1.2-doc/gtk-config.txt.gz
 
Old 05-15-2005, 01:41 AM   #4
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 450

Rep: Reputation: 30
I installed firefox in SuSe. It does not require install from source.
Login as root, and go the dir. where you have expanded the files and then ./firefox. It will bring you the installation window. Then click....click....finish.

Regards
anindyanuri
 
Old 05-16-2005, 04:51 PM   #5
jupiter3437
Member
 
Registered: May 2005
Distribution: fc3
Posts: 64

Rep: Reputation: 15
hi...i want install firefox-1.0.2 in fc3,and install gtk-2.6.7 but when ./configure it this error appears:
checking for gtk-config... no
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.
*** GTK+ is available from ftp://ftp.gtk.org/pub/gtk
configure: error: Test for GTK failed.
pleaze help me...thanks
 
Old 05-16-2005, 10:22 PM   #6
jupiter3437
Member
 
Registered: May 2005
Distribution: fc3
Posts: 64

Rep: Reputation: 15
pleaze answer to my question
 
Old 05-17-2005, 05:22 PM   #7
jupiter3437
Member
 
Registered: May 2005
Distribution: fc3
Posts: 64

Rep: Reputation: 15
i solved that problem, but another error was appeared...
checking for libIDL-config... no
checking for libIDL - version >= 0.6.3... no
*** The libIDL-config script installed by libIDL could not be found
*** If libIDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the LIBIDL_CONFIG environment variable to the
*** full path to libIDL-config.
checking for orbit-config... no
configure: error: libIDL not found.
libIDL 0.6.3 or higher is required.
I download libIDL-0.8.4 and install it,but this error was appeared,pleaze help me...thanks
 
Old 05-18-2005, 06:05 AM   #8
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
the version it wants comes from orbit ( not orbit-2.x, but orbit-0.x). note that ./configure, make, make install is not the way you want to go for building firefox, read the directions on the mozilla site.
 
Old 05-21-2005, 02:37 AM   #9
verbose
Member
 
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320

Rep: Reputation: 31
I'm having this same problem when installing lmule and mplayer.

Code:
>$apt-file search gtk-config
libgtk1.2-dev: usr/bin/gtk-config
libgtk1.2-dev: usr/share/man/man1/gtk-config.1.gz
libgtk1.2-doc: usr/share/doc/libgtk1.2-doc/gtk-config.txt.gz
However, gtk-config is nowhere to be found under /usr/bin.
This is very confusing to me.

Can anyone help?
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
./configure can't find gtk+ ELconkestador Linux - Software 6 10-24-2005 07:01 PM
where to find gtk-config? kpachopoulos Linux - General 2 09-28-2005 02:54 PM
cant find gtk-config file or gtk-devel to install happychappy Linux - Software 2 02-16-2005 12:46 AM
Cannot find gtk-config and glib-config NOT_Skeletor Linux - Software 3 06-27-2003 09:39 AM
configure can't find gtk-config serial Linux - Newbie 2 03-16-2003 05:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:09 PM.

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