Fedora27安装wxPython2.8.12.1时遇到的问题及解决
来源:互联网 发布:java new string 参数 编辑:程序博客网 时间:2024/05/28 16:16
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 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
- Fedora27安装wxPython2.8.12.1时遇到的问题及解决
- 解决mac-osx10.11下无法安装wxPython2.8-osx-unicode-2.8.12.1的问题
- 安装MySQL遇到的问题及解决
- 安装SQLSERVER2000遇到的问题及解决
- nagios安装遇到的问题及解决
- 安装directshw遇到的问题及解决
- 安装redis 遇到的问题及解决
- VPI 8.6 安装时遇到的问题及解决
- centos6u3安装stringi时遇到的问题及解决
- 安装node-sass遇到的各种各样的问题及解决
- linux 下安装android遇到的问题及解决
- Thrift安装遇到的问题及解决…
- Eclipse 安装Subclipse[SVN]遇到的问题及解决
- 安装PowerDesigner16.5所遇到的问题及解决
- TestLink安装过程中遇到的问题及解决
- mac 安装Android studio遇到的问题及解决
- Ubuntu下安装scrapy遇到的问题及解决过程
- Python安装过程遇到的问题及解决
- 解决Maven报Plugin execution not covered by lifecycle configuration
- (2017 ICML)Learning to learn without gradient descent by gradient descent笔记
- Redis配置文件详解
- ViewPager 16种切换动画,早晚能用到
- java笔记整理
- Fedora27安装wxPython2.8.12.1时遇到的问题及解决
- Flume日志收集分层架构应用实践
- 控制线程
- 数组中出现次数超过一半的数字
- 比特币私钥、公钥、钱包地址之间的关系
- Tone-Mapped image quality assessment (图像质量评价)
- java--第七天
- linux操作命令
- 实现对象的复用——享元模式(五)