1.下载wxWidgets:https://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/
wxwidgets2.8_2.8.12.1.orig.tar.gz
wxPython2.8-2.8.12.1-1.src.rpm
创建安装目录:
mkdir -p /usr/local/wx/2.8
2.解压之后,进入wxwidgets目录
./configure --prefix=/usr/local/wx/2.8 --with-gtk --enable-gtk2 --enable-unicode
可能会出现的问题:
*** 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