[wxPython] installing 2.2.2

Wow, that was it. Turns out this new builder wanted to use ld to link instead of the default CC
compiler on my system. I don't really understand why, but I went ahead and compiled the last module by
hand with the revised command line and now everything works fine.

Even the threading demo that had never worked is working great. Thanks again.

-Mike

···

From: "Robin Dunn" <robin@alldunn.com>
Subject: Re: [wxPython] installing 2.2.2

> Traceback (innermost last):
> File "demo.py", line 12, in ?
> from wxPython.wx import *
> File "/usr/freeware/lib/python1.5/site-packages/wxPython/__init__.py",
line
> 20, in ?
> import wxc
> ImportError: 264094:python: rld: Fatal Error: unresolvable symbol in
> /usr/freeware/lib/python1.5/site-packages/wxPython/wxc.so:
> __record_needed_destruction
>

Well there's a new one... The only thing I can think of is if this symbol
is coming from some C++ runtime library and you're not getting it because
Python and/or wxPython were not linked with the C++ compiler driver. (Since
it worked with 2.1.15 then my guess is that wxPython itself was linked
different then.) Since the build proicess is different now you might try
building 2.1.15 again to see how how it was linked and then force distutils
to link differently for 2.2.2 as described in BUILD.unix.txt.

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users

Wow, that was it. Turns out this new builder wanted to use ld
to link instead of the default CC compiler on my system. I
don't really understand why,

Because that's how Python was linked, specifically ld is what was used to
link Python's extension modules. With 1.5.2 Python's configure didn't care
about linking for C++, and so it didn't do any checks for it, but it does
now with 2.0.

···

--
Robin Dunn
Software Craftsman
robin@AllDunn.com
http://wxPython.org Java give you jitters?
http://wxPROs.com Relax with wxPython!

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/wxpython-users