gpt4 book ai didi

centos - wxPython src rpm 构建失败

转载 作者:行者123 更新时间:2023-12-04 19:38:10 28 4
gpt4 key购买 nike

我想安装 wxPython2.8-2.8.12.1-1.src.rpm在我的 Centos6 机器上,这里提供了 src rpm http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/

我以root身份执行此操作:

rpmbuild --rebuild wxPython2.8-2.8.12.1-1.src.rpm

最后我有:
running install_egg_info
Writing /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode/wxPython-2.8.12.1-py2.6.egg-info
warning: wx_install: path file '/root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib64/python2.6/site-packages/wx-2.8-gtk2-unicode.pth' not created
running build_ext
running install
running build
running build_py
running install_lib
creating /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6
creating /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6/site-packages
copying build-gtk2.unicode/lib/wxversion.py -> /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6/site-packages
byte-compiling /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6/site-packages/wxversion.py to wxversion.pyc
running install_data
copying src/wx.pth -> /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6/site-packages/
running install_egg_info
Writing /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/python2.6/site-packages/wxPython_common-2.8.12.1-py2.6.egg-info
+ rm /root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib/wxPython-2.8.12.1-gtk2-unicode/bin/wx-config
+ strip '/root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib*/python2.4/site-packages/wx-2.8*-gtk2-unicode/wx/*.so'
strip: '/root/rpmbuild/BUILDROOT/wxPython2.8-2.8.12.1-1.x86_64/usr/lib*/python2.4/site-packages/wx-2.8*-gtk2-unicode/wx/*.so': No such file
error: Bad exit status from /var/tmp/rpm-tmp.yji3iJ (%install)


RPM build errors:
user robind does not exist - using root
group robind does not exist - using root
user robind does not exist - using root
group robind does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.yji3iJ (%install)

有什么解决办法吗?

我在 64 位 CentOS 版本 6.5 上使用 python 版本 2.6.6

最佳答案

该 SRPM 中的规范文件似乎有问题。

注意错误中的路径是如何谈论 python2.4 ?以及早期路径(例如在复制行中)如何正确使用 python2.6 ?

规范文件中的某些内容没有以某种方式从正确的位置获取路径。

您必须查看规范文件以查看是否可以解决或向 wxpython 人员提交错误并查看他们所说的内容。

您还可以检查分发包中的补丁,看看是否有任何补丁解决了这个问题。

关于centos - wxPython src rpm 构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25762498/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com