Re: [Freeciv-Dev] Problems in compiling gtk-Client
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Patrick Schmid wrote:
> > Eg, did configure tell you something like:
> >
> > *** An old version of GTK+ (<something>) was found.
> > *** You need a version of GTK+ newer than 1.2.1. The latest version of
> > *** GTK+ is always available from ftp://ftp.gtk.org.
> I installed the three libs with ./configure, then make and then make install
> as it was described in the install file of these three libs.
> Then I ran ./configure of freeciv again and it produced the output I have
> attached in the configure.log file (it's not the real configure.log file,
> but the screen output. the real configure.log didn't show any error
> messages).
This was:
> checking for gtk-config... (cached) no=0A=
> checking for GTK - version >=3D 1.2.1... no=0A=
> *** The gtk-config script installed by GTK could not be found=0A=
> *** If GTK was installed in PREFIX, make sure PREFIX/bin is in=0A=
> *** your path, or set the GTK_CONFIG environment variable to the=0A=
> *** full path to gtk-config.=0A=
That says configure didn't find gtk-config at all -- its
nothing to do with the gtk version. (Otherwise the message
would have been more like the previous one above.)
One thing: notice the message "(cached)" after
"checking for gtk-config". This means that you should do
"rm config.cache" if you change anything related to this,
or else configure will ignore your changes and just use
the old value, in this case that there is no gtk-config.
> Next I set the environment variables as the configure-script told me to do
> (see env.log).
> Then I checked in /usr/lib/bin/gtk-config for the version number (see
> gtk-config.log).
Elsewhere:
> GTK_CONFIG=3D/usr/local/bin=0A=
> PATH=3D/sbin:/usr/sbin:/root/bin:/usr/local/bin:/usr/bin:/usr/X11R6/bin:/=
> bin:/usr/games/bin:/usr/games:/opt/gnome/bin:/opt/kde/bin=0A=
So, remove config.cache, and then follow the message above: make
sure gtk-config is found either in your path, or in GTK_CONFIG
(for /usr/lib/bin/gtk-config, or is there a symlink elsewhere
pointing to this?)
Then re-run configure and see what happens.
(And now you know why some people prefer distribution-specific
binary packages which do all this stuff for you ;-)
Regards,
-- David
|
|