J
Justin Lemkul
Hello All,
I am hoping that someone out there will be able to help me. During the
"build" phase of MMTK installation, I receive the following series of errors:
$ python setup.py build
running build
running build_py
running build_ext
building 'lapack_mmtk' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-fno-common
-dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DLIBM_HAS_ERFC
-DEXTENDED_TYPES -IInclude
-I/System/Library/Frameworks/Python.framework/Versions/
2.3/include/python2.3 -c Src/lapack_mmtk.c -o
build/temp.darwin-7.7.0-Power_Macintosh
-2.3/Src/lapack_mmtk.o
Src/lapack_mmtk.c:2:33: Numeric/arrayobject.h: No such file or directory
Src/lapack_mmtk.c:6: warning: function declaration isn't a prototype
Src/lapack_mmtk.c:11: warning: function declaration isn't a prototype
Src/lapack_mmtk.c: In function `lapack_mmtk_CheckObject':
Src/lapack_mmtk.c:29: warning: implicit declaration of function
`PyArray_Check'
Src/lapack_mmtk.c:34: error: `PyArrayObject' undeclared (first use in this
function)
Src/lapack_mmtk.c:34: error: (Each undeclared identifier is reported only once
Src/lapack_mmtk.c:34: error: for each function it appears in.)
Src/lapack_mmtk.c:34: error: parse error before ')' token
Src/lapack_mmtk.c:34: error: `CONTIGUOUS' undeclared (first use in this
function)
Src/lapack_mmtk.c:39: error: parse error before ')' token
Src/lapack_mmtk.c: In function `lapack_mmtk_dsyev':
Src/lapack_mmtk.c:72: error: `PyArray_DOUBLE' undeclared (first use in this
function)
Src/lapack_mmtk.c:81: warning: implicit declaration of function `dsyev_'
Src/lapack_mmtk.c:81: error: `PyArrayObject' undeclared (first use in this
function)
Src/lapack_mmtk.c:81: error: parse error before ')' token
Src/lapack_mmtk.c:81: error: parse error before ')' token
Src/lapack_mmtk.c:81: error: parse error before ')' token
Src/lapack_mmtk.c: In function `lapack_mmtk_dgesvd':
Src/lapack_mmtk.c:107: error: `PyArray_DOUBLE' undeclared (first use in this
function)
Src/lapack_mmtk.c:118: warning: implicit declaration of function `dgesvd_'
Src/lapack_mmtk.c:118: error: `PyArrayObject' undeclared (first use in this
function)
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c: At top level:
Src/lapack_mmtk.c:134: warning: function declaration isn't a prototype
Src/lapack_mmtk.c:132: warning: `lapack_mmtkError' defined but not used
error: command 'gcc' failed with exit status 1
I am attempting the install on a Mac OS X v10.3 with Python v2.3, NumPy v23.1,
and SciPy v2.4.3
Thanks in advance for any help you can give me.
-Justin Lemkul
I am hoping that someone out there will be able to help me. During the
"build" phase of MMTK installation, I receive the following series of errors:
$ python setup.py build
running build
running build_py
running build_ext
building 'lapack_mmtk' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd
-fno-common
-dynamic -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -DLIBM_HAS_ERFC
-DEXTENDED_TYPES -IInclude
-I/System/Library/Frameworks/Python.framework/Versions/
2.3/include/python2.3 -c Src/lapack_mmtk.c -o
build/temp.darwin-7.7.0-Power_Macintosh
-2.3/Src/lapack_mmtk.o
Src/lapack_mmtk.c:2:33: Numeric/arrayobject.h: No such file or directory
Src/lapack_mmtk.c:6: warning: function declaration isn't a prototype
Src/lapack_mmtk.c:11: warning: function declaration isn't a prototype
Src/lapack_mmtk.c: In function `lapack_mmtk_CheckObject':
Src/lapack_mmtk.c:29: warning: implicit declaration of function
`PyArray_Check'
Src/lapack_mmtk.c:34: error: `PyArrayObject' undeclared (first use in this
function)
Src/lapack_mmtk.c:34: error: (Each undeclared identifier is reported only once
Src/lapack_mmtk.c:34: error: for each function it appears in.)
Src/lapack_mmtk.c:34: error: parse error before ')' token
Src/lapack_mmtk.c:34: error: `CONTIGUOUS' undeclared (first use in this
function)
Src/lapack_mmtk.c:39: error: parse error before ')' token
Src/lapack_mmtk.c: In function `lapack_mmtk_dsyev':
Src/lapack_mmtk.c:72: error: `PyArray_DOUBLE' undeclared (first use in this
function)
Src/lapack_mmtk.c:81: warning: implicit declaration of function `dsyev_'
Src/lapack_mmtk.c:81: error: `PyArrayObject' undeclared (first use in this
function)
Src/lapack_mmtk.c:81: error: parse error before ')' token
Src/lapack_mmtk.c:81: error: parse error before ')' token
Src/lapack_mmtk.c:81: error: parse error before ')' token
Src/lapack_mmtk.c: In function `lapack_mmtk_dgesvd':
Src/lapack_mmtk.c:107: error: `PyArray_DOUBLE' undeclared (first use in this
function)
Src/lapack_mmtk.c:118: warning: implicit declaration of function `dgesvd_'
Src/lapack_mmtk.c:118: error: `PyArrayObject' undeclared (first use in this
function)
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c:118: error: parse error before ')' token
Src/lapack_mmtk.c: At top level:
Src/lapack_mmtk.c:134: warning: function declaration isn't a prototype
Src/lapack_mmtk.c:132: warning: `lapack_mmtkError' defined but not used
error: command 'gcc' failed with exit status 1
I am attempting the install on a Mac OS X v10.3 with Python v2.3, NumPy v23.1,
and SciPy v2.4.3
Thanks in advance for any help you can give me.
-Justin Lemkul