wxPython src rpm构建失败

时间:2014-09-10 09:59:14

标签: centos wxpython rpm centos6 rpmbuild

我想在我的Centos6盒子上安装wxPython2.8-2.8.12.1-1.src.rpm,并在此处提供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

1 个答案:

答案 0 :(得分:1)

SRPM中的spec文件中似乎出现了某些内容。

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

spec文件中的某些内容不能以某种方式从正确的位置获取路径。

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

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

相关问题