|
From: Tom L. <lo...@as...> - 2006-04-04 16:11:47
|
Hi folks, I'm just checking in with the solution to my Panther bus error issue, in case it might help someone else, but also to publicly thank John for walking me through the diagnosis. It turns out the problem was due to using an old version of gcc. The owner of the PowerBook I was installing mpl on hadn't installed Apple's gcc updaters. He had gcc 3.3, but not Apple's most recent build, which fixes some C++ issues. As a result, C and Fortran extensions built fine, but C++ extensions built with pycxx resulted in bus errors. For example, "import pylab" produced a bus error, but >>> import matplotlib.backends._tkagg >>> import matplotlib.agg produced no errors, because these extensions are not built with pycxx. A rebuild after updating gcc led to a working mpl. John figured this out from the pattern of which modules loaded and which led to errors. I never would've figured it out on my own. numpy and scipy both installed fine with the older gcc and passed all tests. I wonder if they should be reinstalled. If anyone knows about this, please let me know. The owner is uncomfortable installing things from source, and I only have infrequent contact with him, so if these need fixing I'd like to do it soon. Cheers, Tom ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |