Troubles compiling wxPython 2.8.4 from source on Linux with icc

Matthieu Brucher matthieu.brucher at gmail.com
Fri Jun 15 04:56:41 PDT 2007


Hi,

I'm struggling with the installation of wxPython on FC6 and the Intel
compiler, with a Python version compiled with it.
In fact, I had to generate again the swig files so that it could import the
_core_.so module (don't ask me why, now it works, before it could not locate
it...) in the _core.py file, and now in the very same file, _core.py, the
importation complains that wx.ID_ANY is not defined... If I correct this
one, other appear, so I must have something wrong, once more...
wxWidgets was compiled from the wxPython source with : ./configure
--prefix=3D/home/brucher/local/ --enable-unicode --with-gtk
wxPython was instalkled with : python setup.py UNICODE=3D1 EP_ADD_OPTS=3D1
install --prefix=3D/home/brucher/local/
the importation error :
>>> import wx
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/brucher/local//lib/python2.6/site-packages/wx-2.8-gtk2-unicod=
e/wx/__init__.py",
line 45, in <module>
    from wx._core import *
  File "/home/brucher/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode=
/wx/_core.py",
line 3759, in <module>
    class wxEvtHandler(wxObject):
  File "/home/brucher/local/lib/python2.6/site-packages/wx-2.8-gtk2-unicode=
/wx/_core.py",
line 3818, in wxEvtHandler
    def Bind(self, event, handler, source=3DNone, id=3Dwx.ID_ANY, id2=3Dwx.=
ID_ANY
):
AttributeError: 'module' object has no attribute 'ID_ANY'

Any hints ?

Matthieu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/200706=
15/d16e392b/attachment.htm


More information about the wxpython-users mailing list