[Pythonmac-SIG] build matplotlib on 10.3.9 without a bus error?

Ronald Oussoren ronaldoussoren at mac.com
Wed Jul 5 07:43:21 CEST 2006


On Jul 5, 2006, at 6:04 AM, Bob Ippolito wrote:

>
> On Jul 4, 2006, at 8:26 PM, Russell E Owen wrote:
>
>> At 4:43 PM -0700 7/3/06, Bob Ippolito wrote:
>>> On Jul 3, 2006, at 4:19 PM, Russell E. Owen wrote:
>>>
>>>> I'm trying to build on a PPC MacOS X 10.3.9 system using Python
>>>> 2.4.1,
>>>> but "import pylab" gives a bus error. (This is for a python app I
>>>> distribute, so I can't give up on 10.3.9 yet. Once I solve this
>>>> problem
>>>> then I can redo it with static linking).
>>>
>>> Try running it under gdb and get a backtrace to see where it's
>>> actually crashing.
>>>
>>> gdb --args /usr/local/bin/python -c "import pylab"
>>> r
>>> bt
>>
>> Here is the backtrace. I suspect just the first few lines are
>> relevant, but I wasn't sure so I include the whole mess.
>
> Looks like some problem with C++ and static initializers. No idea how
> to help you here, I suggest trying the universal build and the latest
> pylab egg.

The readme for wxPython claims that their universal build only works  
on 10.4 and not on 10.3.9 because of some issues in dyld on 10.3.9  
that cause problems with some C++ constructs. IIRC static  
initializers was one of them. Could this be the same problem?

Ronald

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2157 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20060705/11a5dc6f/attachment.bin 


More information about the Pythonmac-SIG mailing list