0
我想在這裏提供的源代碼RPM http://sourceforge.net/projects/wxpython/files/wxPython/2.8.12.1/wxPython的源代碼RPM構建失敗
我這樣做是因爲根在我Centos6盒安裝wxPython2.8-2.8.12.1-1.src.rpm
:
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)
任何解決方案?
我使用Python 2.6.6版64位的CentOS 6.5版本
我想找到這個,但:如何從.src.rpm提取規範? – Patryk 2014-09-10 13:01:17
'mkdir wxpython-extract; cd wxpython-extract; rpm2cpio ../wxPython2.8-2.8.12.1-1.src.rpm | cpio -id'會將其全部提取到本地。您也可以隨時安裝SRPM,將其文件放入rpm配置指定的RPM build/spec文件位置(我相信)。 – 2014-09-10 14:05:41