wxGTK/GTK installation
Hi all,
I tried to install wxGTK-2.4.2. The first step was:
./configure --with-gtk --enable-gtk2 --enable-unicode
but it returned an error:
-----[ error msg starts ]----
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.
-----[ error msg ends ]----
What I did to try to resolve this problem (don't laugh, I am an extreme newbie):
[1]
gtk-config --libs
This returns:
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm
then I added :
/usr/local/lib
and
/usr/X11R6/lib
to the LD_LIBRARY_PATH but no good.
[2]
Trying to install GTK+:
Download gtk+2.0-2.2.4-9mdk.i586.rpm and "rpm -i" it.
It said:
"package gtk+2.0-2.2.4-9mdk is already installed"
What's wrong and what can I do to solve this?
BTW, I'm using Mandrake 10.0 and $PATH =
.:/home/rpan/bin:/home/rpan/EMAN/bin:/usr/lib/qt3/bin:/usr/local/bin
:/usr/bin:/usr/sbin:/sbin:/bin:/usr/bin/X11:/usr/local:/home/rpan/pydb
:/usr/java/j2sdk1.4.2_04/bin/:/usr/lib/gtk-2.0:/usr/lib/gtk-2.0/2.2.0
:/usr/lib/gtk-2.0/2.2.0/engines:/usr/local/include/gtk-1.2:/usr/lib/gtk
and $LD_LIBRARY_PATH is
/home/rpan/EMAN/lib:/usr/lib/qt3/lib:/usr/local/lib:/usr/lib/gtk-2.0
:/usr/lib/gtk-2.0/2.2.0/engines:/usr/local/lib:/usr/X11R6/lib
Thx in advance.
pan
|