I like to check here before I go down the road of trial-error install process.
- Got 2.9.2.4 and extracted it
- cd to wxPython-src-2.9.2.4/wxpython
- python2.7 build-wxpython.py --build_dir=../bld
I get some warnings and a BuildError:
checking for png.h... (cached) no
configure: WARNING: system png library not found or too old, will use built-in instead
checking for jpeglib.h... no
configure: WARNING: system jpeg library not found, will use built-in instead
checking for tiffio.h... no
configure: WARNING: system tiff library not found, will use built-in instead
checking for expat.h... no
configure: WARNING: system expat library not found, will use built-in instead
checking for GTK+ version...
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.4.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:
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.
Error running configure
ERROR: failed building wxWidgets
Traceback (most recent call last):
File "build-wxpython.py", line 352, in <module>
wxbuild.main(wxscript, build_options)
File "/home/wbruhin/devTools/wxSources/wxPython-src-2.9.2.4/build/tools/build-wxwidgets.py", line 328, in main
"Error running configure")
File "/home/wbruhin/devTools/wxSources/wxPython-src-2.9.2.4/build/tools/build-wxwidgets.py", line 62, in exitIfError
raise builder.BuildError, msg
Used Synaptic to install libglib2.0-cil-dev and libgtk2.0-cil-dev both version 2.12.10 and tried the build again, but same failure.
Anyone can give me some tips on what I am doing wrong or what else I am missing?
Werner