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: |
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. |
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 |
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 |
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 |
pleaze answer to my question
|
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 |
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.
|
I'm having this same problem when installing lmule and mplayer.
Code:
>$apt-file search gtk-config This is very confusing to me. Can anyone help? Thanks |
All times are GMT -5. The time now is 04:04 AM. |