On Fri, 9 Jun 2006, Talha Yalta wrote:
I was fed up with all the windows stuck inside a single desktop
so I decided to try installing gretl snapshot in my newly
installed Kubuntu Dapper system. I am not very experienced in
compiling software on my own and here is what happened:
After running ./configure everything goes fine except one error message:
*** 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.
Hmm. The "gtk-config" script is the configuration mechanism for
gtk version 1.2, which is very old by now. On a reasonably
up-to-date system one would expect to find gtk 2.0, and it does
its configuration using the pkg-config program.
I suspect that gretl's "configure" is falling back on gtk-1.2
because it can't find the relevant gtk-2.0 files (and then
failing, of course).
I recommend trying this command:
pkg-config --libs gtk+-2.0
(note the slightly odd string "gtk+-2.0").
If this command doesn't succeed, the "devel" packages for gtk 2.0
are presumably not installed. They probably shouldn't be hard to
find.
Congratulations on joining the compiling club! I trust the
initial problems should be sorted out without too much grief.
Allin Cottrell