Fedora27安装wxPython2.8.12.1时遇到的问题及解决
2017-11-16 16:29
681 查看
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目录
可能会出现的问题:
*** 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.
尝试的操作:
yum -y install gtk2-devel binutils-devel
可能出现的问题:
尝试的操作:
yum install mesa-libGL-devel
yum install mesa-libGLU-devel
3.编译:
make
出现的问题:
make: *** [Makefile:11973:.pch/wxprec_basedll/wx/wxprec.h.gch] 错误 127
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
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.
尝试的操作:
yum -y install gtk2-devel binutils-devel
可能出现的问题:
configure: error: OpenGL libraries not available
尝试的操作:
yum install mesa-libGL-devel
yum install mesa-libGLU-devel
3.编译:
make
出现的问题:
make: *** [Makefile:11973:.pch/wxprec_basedll/wx/wxprec.h.gch] 错误 127
相关文章推荐
- ubuntu安装pip+python27+ipython+scrapy+zlib-及遇到的各种问题解决
- Fedora 9安装VMware tools 6.0.2遇到的问题以及解决办法
- Fedora 15 降级安装GCC-4.5.3 全过程以及遇到的问题和解决办法总结
- Fedora 13安装Oracle 10g遇到问题及解决办法
- QT SDK 4.8.4 fedora中安装与编译遇到的小问题与解决,经验分享
- Fedora 13安装samba所遇到的问题与解决办法分享
- 安装Fedora时遇到unable to find any devices of the type needed for this installation type问题的解决
- fedora6的安装及一些可能遇到问题的解决方法
- 安装PHP可能遇到的问题“无法载入mysql扩展” 的解决方法
- pligg9.7beta的后HTML编辑器插件的安装(tinymce_2_1_1_1)(以及使用中遇到的点滴问题解决办法)
- 在windows2003下安装Microsoft SQL Server2000企业版后配置客户端ODBC遇到的问题及解决方法
- 安装wss3或sps2007时遇到问题解决
- 在 Ubuntu 7.04 上安装 VirtualBox 可能会遇到的错误问题的解决!
- linux 安装遇到的问题和解决
- 源码安装gtk+-2.0时遇到的几个问题及解决办法。
- 在windows2003下安装Microsoft SQL Server2000企业版后配置客户端ODBC遇到的问题及解决方法
- 解决在安装和安装后WinCE.net 4.2时遇到的virtual PC的问题的方法
- oracle10g安装,卸载解决遇到的问题
- 安装PHP可能遇到的问题“无法载入mysql扩展” 的解决方法
- 安装Rational Enterprise Suite(Robot...)时遇到的问题及解决办法!