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

Elias Showk elias.showk at nonutc.fr
Mon Feb 1 02:12:43 PST 2010


You're right, my python (in the ubuntu 9.10 repositories) is built with 
UCS4 ! Well, I'm going to look after an UCS built, or compile it. Then, 
I hope there will be no other issues with my code & dependencies using UCS2.

Thanks a lot !

On 29/01/2010 21:06, 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



More information about the Pyxpcomext mailing list