[Pyxpcomext] Pyxpcomext] pyxpcomext for Firefox 3.6 / xulrunner 1.9.2

Michael Toomim toomim at cs.washington.edu
Mon Feb 1 14:41:36 PST 2010

My team just ran across this too, and so we spent some time recompiling a copy of python w/ distutils so that we could build our modules to be compatible with pyxpcomext.

Is there a reason for building Pyxpcomext with UCS2?  Since most linux distros use UCS4, perhaps switching to UCS4 would be a good idea and reduce the effort required for people to port their python code?

On Jan 29, 2010, at 12:06 PM, Todd Whiteman wrote:

> On 10-01-29 10:19 AM, Elias Showk wrote:
>> I built pybsddb using my standard python 2.6.4 (Python 2.6.4
>> (r264:75706, Dec 7 2009, 18:43:55)
>> [GCC 4.4.1] on linux2), and copied it to platform/Linux_x86_64-gcc3/pylib/
>> Yet I haven't succeeded, because I have an ImportError during import of
>> bsddb3.db :
>> "platform/Linux_x86_64-gcc3/pylib/bsddb3/_pybsddb.so: undefined symbol:
>> _Py_ZeroStruct"
>> I proceeded the same way for all the external dependencies of my python
>> module (numpy, etc). I suppose I'll also have the same kind of issues.
> Is your standard Python built with UCS2 (as most Linux distros use UCS4)?
> You can check using this command:
> python -c "import sys; print sys.maxunicode > 65536 and 'UCS4' or 'UCS2'"
> If it's UCS4 - then you need to find or build a UCS2 version and use that.
> Cheers,
> Todd
> _______________________________________________
> Pyxpcomext mailing list
> Pyxpcomext at mozdev.org
> https://www.mozdev.org/mailman/listinfo/pyxpcomext

More information about the Pyxpcomext mailing list