strange bug with python24+darwin_8, py-wxpython and xml parsing
Lorenz Schori
lorenz.schori at gmx.ch
Thu Aug 9 09:28:09 PDT 2007
Derek Harland <derek <at> chocolate-fish.com> writes:
>
> > Date: Mon, 06 Aug 2007 22:36:25 +0200
> > From: Mark Asbach <asbach <at> ient.rwth-aachen.de>
> > when using py-xml together with py-wxpython, I get a reproductible
> > bus error whenever I try to use sax or minidom (both relying on
> > expat). Invoking the parsers crashes the application with a bus
> > error. The workaround I found is to import xml.parsers.pyexpat before
> > importing wx - but this is a workaround, not a bug fix.
> >
> <backtrace clipped>
>
> > Can someone comment on this? What could I do to narrow the bug?
>
> Hi Mark,
>
> * This problem may be caused by wxPython being built/linking against
> older versions of libexpat than pyexpat is.
Hi
Apparently the wxwidgets Portfile is causing this error. "configure.ldflags"
lacks "-L${prefix}/lib" and thus configure thinks that expat does not exist in
the system and links to its own version of the library.
Cheers
Lorenz
More information about the macports-users
mailing list