[Numpy-discussion] recompiling needed for binary module after numpy 1.0
erin.sheldon at gmail.com
Mon Jan 15 15:45:14 EST 2007
On 1/13/07, Robert Kern <robert.kern at gmail.com> wrote:
> > Import of pylab still fails. The failure is now different. Using gdb I get
> > --snip--
> > Reading symbols for shared libraries . done
> > Reading symbols for shared libraries .. done
> > 20:48:11: 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)?
> > Program received signal SIGTRAP, Trace/breakpoint trap.
> > which I cannot parse. Any ideas?
> Possibly you are linking against the wrong wx libraries. I missed that part in
> my instructions.
I found that if I took the following steps, basically eveything
works on my intel core 2 duo macbook.
Go to this site:
Get these packages and install them in this order
Get Scipy. No binary on pythonmac for scipy yet, but the compile
is straightforward with the right flags (thanks Robert).
To build and install:
python setup.py build_src build_clib --fcompiler=gnu95 build_ext
sudo python setup.py install
More information about the NumPy-Discussion