[triangle-zpug] Installing python/Numeric/ScientificPython

Joseph Mack NA3T jmack at wm7d.net
Tue Mar 27 14:30:09 UTC 2007


Dear List,
 	I'm not a python programmer but am familiar with 
installing programs on Linux. I'm installing some python 
packages for a user.

 	The app calls Numeric/ScientificPython and with the 
out-of-the-box python install gets the error

zzz at amber:~/src/py_proj> ./ncf_info.py area/01.ncf
Traceback (most recent call last):
   File "./ncf_info.py", line 2, in ?
     from Numeric import *
   File 
"/home/zzz/usr//lib/python2.4/site-packages/Numeric/Numeric.py", line 91, in ?
     import multiarray
ImportError: 
/home/zzz/usr/lib/python2.4/site-packages/Numeric/multiarray.so: undefined symbol: _Py_RefTotal

I can't find *Py_RefTotal* anywhere in Numeric or in the 
app. However the Python build has several defines, including 
-DPy_REF_DEBUG and -DPy_TRACE_REFS (Misc/SpecialBuilds.txt). 
I can't find anyway of turning these on with ./configure, so 
have manually added the $DEFS to the Makefile. Now I don't 
get the error anymore but I get a long list of alloc/free 
debugging with the application run.

I don't know that the app needs to know the the RefTotal, so 
I'd be happy to have it switched off. Alternately I don't 
understand the various defines in SpecialBuilds.txt and how 
they interact. Can I get the app to run without the 
debugging output?

Thanks Joe

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!



More information about the triangle-zpug mailing list