Voilà, j'ai installé gtk2 dans /usr. L'installation se passe bien sauf que
quand j'installe wxGTK-2.4.0.tar.gz, il me dit:
"checking for pkg-config... /usr/bin/pkg-config
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."
Quand je fais ldconfig -v | grep gtk, j'ai les librairie suivantes:
libgtk-x11-2.0.so.0 -> libgtk-x11-2.0.so.0.200.0
libgtkmm-1.2.so.0 -> libgtkmm-1.2.so.0.2.4
libgtkhtml.so.20 -> libgtkhtml.so.20.1.1
libobgtk.so.1 -> libobgtk.so.1.2.1
libgtkxmhtml.so.1 -> libgtkxmhtml.so.1.0.1
libgnorbagtk.so.0 -> libgnorbagtk.so.0.0.0
libgconf-gtk-1.so.1 -> libgconf-gtk-1.so.1.0.0
libgtk-1.2.so.0 -> libgtk-1.2.so.0.9.1
libgtkxparts.so.0 -> libgtkxparts.so.0.0.0
De plus, 'gtk-config --version' m'indique bien la version 2.2.0.
???
Message édité par lefty_guns le 16-04-2003 à 19:12:48