After some progress in installing matplotlib (after solving the numpy problem, thanks), I’ve hit another obstacle. Again, perhaps someone will recognise the symptoms or suggest the next place to look. The technical set up: OSX 10.4, MPL 0.87.5, numeric, numarray and numpy 1.0b5 installed, intel MacBook.
The issue: matplotlib installs but when pylab is imported, I get: :
14:28:56: Debug: …/src/common/object.cpp(224): assert “sm_classTable->Get(m_className) == NULL” failed: class already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() twice (may be by linking some object module(s) twice)?
…/src/common/object.cpp(224): assert “sm_classTable->Get(m_className) == NULL” failed: class already in RTTI table - have you used IMPLEMENT_DYNAMIC_CLASS() twice (may be by linking some object module(s) twice)?
and then dumped to the CLI.
sm_classTable appears to be defined in the wxagg backend.
When matplotlib is built, I get a bunch of warnings like::
/usr/bin/ld: for architecture ppc
/usr/bin/ld: warning fat file: /usr/local/lib/libgcc_s.10.4.dylib does not contain an architecture that matches the specified -arch flag: ppc (file ignored)
when linking various agg and _nc_transforms pieces, as well as::
src/_ns_backend_agg.cpp:41:1: warning: “M_PI” redefined
In file included from /usr/include/math.h:26,
although these don’t terminate the build. It would seem that something is getting architectures mixed up, but I can’t identify what. Things I’ve done - reinstalled Python (made sure it was universal), updated Developer tools, cleared & reinstalled MPL. Any ideas on what to try next?
Dr Paul-Michael Agapow, VieDigitale / Institute of Animal Health
pma@…1244… / paul-michael.agapow@…1245…