Everytime I configure wxPython without --disable-gtktest, I get this
error:
*** 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:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.
However I have the gtk2 packages configured:
pkg-config gtk+-2.0 --libs
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -
lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -
lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
As you can also see I have the RPM's configured:
sles-11-x64:~ # rpm -qa | grep gtk
libcanberra-gtk0-32bit-0.18-2.1.225
gtk2-themes-0.1-737.22
libcanberra-gtk-32bit-0.18-2.1.225
gtk2-theme-SLED-11.1-1.29.82
gtk2-lang-2.18.9-0.16.1
gtk2-engines-32bit-2.16.1-4.26
libcanberra-gtk-0.18-2.1.225
gtkglext-1.2.0-139.25
python-gtksourceview-2.4.0-1.32
libgtk-vnc-1_0-0-0.3.9-1.1.215
gtk2-doc-2.18.9-0.16.1
gtk2-32bit-2.18.9-0.16.1
libcanberra-gtk0-0.18-2.1.225
python-gtk-doc-2.16.0-1.1.251
gtk2-devel-2.18.9-0.16.1
gtkmm2-2.18.2-1.1.279
python-gtk-vnc-0.3.9-1.1.215
libgtksourceview-2_0-0-2.8.2-0.1.195
libgtkhtml-2.11.1-64.23.220
gtk2-2.18.9-0.16.1
gtk2-engines-2.16.1-4.26
python-gtk-2.16.0-1.1.251
gtk2-branding-SLED-11.1-1.26
Is there some other way I can get rid of this issue?
Please dis-regard this question.
I had a broken libatk-1.0 in my /usr/lib64.
After fixing that, this issue went away.
ยทยทยท
-----Original Message-----
From: wxpython-dev@googlegroups.com [mailto:wxpython-dev@googlegroups.com]
On Behalf Of Nicholas DiPiazza
Sent: Tuesday, March 06, 2012 9:18 AM
To: wxPython-dev
Subject: [wxPython-dev] Cannot get wxPython 2.8+ to configure with the GTK2
test enabled
Everytime I configure wxPython without --disable-gtktest, I get this
error:
*** 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:
The development files for GTK+ were not found. For GTK+ 2, please ensure
that pkg-config is in the path and that gtk+-2.0.pc is installed. For GTK+
1.2 please check that gtk-config is in the path, and that the version is
1.2.3 or above. Also check that the libraries returned by 'pkg-config
gtk+-2.0 --libs' or 'gtk-config --libs' are in the LD_LIBRARY_PATH or
equivalent.
However I have the gtk2 packages configured:
pkg-config gtk+-2.0 --libs
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -
lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lz -
lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
As you can also see I have the RPM's configured:
sles-11-x64:~ # rpm -qa | grep gtk
libcanberra-gtk0-32bit-0.18-2.1.225
gtk2-themes-0.1-737.22
libcanberra-gtk-32bit-0.18-2.1.225
gtk2-theme-SLED-11.1-1.29.82
gtk2-lang-2.18.9-0.16.1
gtk2-engines-32bit-2.16.1-4.26
libcanberra-gtk-0.18-2.1.225
gtkglext-1.2.0-139.25
python-gtksourceview-2.4.0-1.32
libgtk-vnc-1_0-0-0.3.9-1.1.215
gtk2-doc-2.18.9-0.16.1
gtk2-32bit-2.18.9-0.16.1
libcanberra-gtk0-0.18-2.1.225
python-gtk-doc-2.16.0-1.1.251
gtk2-devel-2.18.9-0.16.1
gtkmm2-2.18.2-1.1.279
python-gtk-vnc-0.3.9-1.1.215
libgtksourceview-2_0-0-2.8.2-0.1.195
libgtkhtml-2.11.1-64.23.220
gtk2-2.18.9-0.16.1
gtk2-engines-2.16.1-4.26
python-gtk-2.16.0-1.1.251
gtk2-branding-SLED-11.1-1.26
Is there some other way I can get rid of this issue?
--
To unsubscribe, send email to wxPython-dev+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-dev?hl=en