LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem with ./configure; cannot find gtk-config (https://www.linuxquestions.org/questions/linux-software-2/problem-with-configure%3B-cannot-find-gtk-config-323608/)

audiorevolution 05-15-2005 12:59 AM

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? :Pengy: :newbie:

__J 05-15-2005 01:07 AM

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.

HappyTux 05-15-2005 01:13 AM

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


anindyanuri 05-15-2005 01:41 AM

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

jupiter3437 05-16-2005 04:51 PM

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

jupiter3437 05-16-2005 10:22 PM

pleaze answer to my question

jupiter3437 05-17-2005 05:22 PM

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

__J 05-18-2005 06:05 AM

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.

verbose 05-21-2005 02:37 AM

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:04 AM.