Hello,
Last November I posted about this problem:
sib@Elend ~ $ python
Python 2.5.2 (r252:60911, Nov 1 2008, 12:05:29)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import wx
wx.__version__
'2.8.9.1'
app = wx.App()
rect1 = wx.Rect(0, 50, 10, 100)
rect2 = wx.Rect(0, 25, 50, 200)
wx.IntersectRect(rect1, rect2)
Speicherzugriffsfehler
sib@Elend ~ $
With a SUSE 11.0 live CD this code worked as it should, so I thought the reason might be the old gcc version used by Gentoo.
Now I changed to openSUSE 11.1, using Python 2.6 and wxPython 2.8.8, and, again, only with new package versions:
sib@Elend:~> python
Python 2.6 (r26:66714, Dec 3 2008, 06:05:48)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import wx
wx.__version__
'2.8.8.1'
app = wx.App()
rect1 = wx.Rect(0, 50, 10, 100)
rect2 = wx.Rect(0, 25, 50, 200)
wx.IntersectRect(rect1, rect2)
Speicherzugriffsfehler
sib@Elend:~>
So I got wxPython2.8-2.8.9.1-1.src.rpm from the wxPython website and tried to build a rpm from that:
rpmbuild --rebuild --define 'pyver 2.6' wxPython2.8-2.8.9.1-1.src.rpm
That ended with this error message:
...
running build_ext
running install
running build
running build_py
running install_lib
running install_data
copying src/wx.pth -> /var/tmp/wxPython-buildroot/usr/local/lib/python2.6/site-packages/
running install_egg_info
Writing /var/tmp/wxPython-buildroot/usr/local/lib/python2.6/site-packages/wxPython_common-2.8.9.1-py2.6.egg-info
+ rm /var/tmp/wxPython-buildroot/usr/lib/wxPython-2.8.9.1-gtk2-unicode/bin/wx-config
+ strip '/var/tmp/wxPython-buildroot/usr/lib*/python2.6/site-packages/wx-2.8*-gtk2-unicode/wx/*.so'
strip: '/var/tmp/wxPython-buildroot/usr/lib*/python2.6/site-packages/wx-2.8*-gtk2-unicode/wx/*.so': No such file
error: Bad exit status from /var/tmp/rpm-tmp.85200 (%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.85200 (%install)
I hope I copied enough from the very lengthy output of the rpmbuild command. What did I do wrong?
Sibylle
···
_______________________________________________________________________
Sensationsangebot verlängert: WEB.DE FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* DSL Vergleich 2024 | WEB.DE