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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
05-15-2005, 12:59 AM
|
#1
|
LQ Newbie
Registered: May 2005
Location: Philadelphia, PA
Distribution: Xubuntu 5.04 PPC
Posts: 29
Rep:
|
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? 
|
|
|
05-15-2005, 01:07 AM
|
#2
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
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.
|
|
|
05-15-2005, 01:13 AM
|
#3
|
Senior Member
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170
|
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
|
|
|
05-15-2005, 01:41 AM
|
#4
|
Member
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 450
Rep:
|
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
|
|
|
05-16-2005, 04:51 PM
|
#5
|
Member
Registered: May 2005
Distribution: fc3
Posts: 64
Rep:
|
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
|
|
|
05-16-2005, 10:22 PM
|
#6
|
Member
Registered: May 2005
Distribution: fc3
Posts: 64
Rep:
|
pleaze answer to my question
|
|
|
05-17-2005, 05:22 PM
|
#7
|
Member
Registered: May 2005
Distribution: fc3
Posts: 64
Rep:
|
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
|
|
|
05-18-2005, 06:05 AM
|
#8
|
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973
Rep:
|
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.
|
|
|
05-21-2005, 02:37 AM
|
#9
|
Member
Registered: Aug 2004
Distribution: deb lenny 2.6.21-amd64
Posts: 320
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 04:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|