Ed Leafe wrote:
···
On Aug 2, 2004, at 4:06 PM, Robin Dunn wrote:
ImportError: /tmp/_MEI7052/wx._core_.so: undefined symbol: PyUnicodeUCS4_AsWideChar
This means that the Python that the extension module was built with and the Python that it is being run with have different compile time settings for the size of a unicode character. (USC-2 vs. UCS-4) Try rebuilding wxPython on your system.
OK, I deleted everything I had built, even wxWindows. I deleted /opt/wx/2.5/*, as well as everything in $WX_DIR/bld, just as in the docs.
I re-built wxWindows, and then re-built wxPython, following the instructions in the docs directory. This time, though, I specified the full path to the python 2.3.3 binary when running setup.py. After installation, I ran the demo, and everything, including Unicode characters, seems to be working just fine.
I went back to Installer, and started from scratch. I re-ran Configure.py, also using the full path to the python binary. I re-generated my spec file, and tried building the executable. I still get a ton of "cannot find linux-gate.so.1", but it does build. When I run the executable, I still get the same error about PyUnicodeUCS4_AsWideChar.
Is there anything else I could try?
Not that I can think of, but then I've only used Installer on Linux enough to verify that it works. Perhaps trying cx_Freeze is in order?
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!