473,395 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

MMTK Install Problem

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

Jul 18 '05 #1
1 2561
Justin Lemkul <ja******@vt.edu> writes:
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
Always look at the first error :-) GCC is awful for, when it can't
find an include file, saying it can't, then spewing millions of error
messages afterwards that are a direct result of not having stuff declared.

In this case, it's obvious that you don't have Numeric installed
correctly; the header files should be picked from one of the
directories specified by the -I flags in the gcc invocation above.
I am attempting the install on a Mac OS X v10.3 with Python v2.3, NumPy v23.1,
and SciPy v2.4.3


(You mean ScientificPython, not SciPy, right? Scipy is at 0.3.2)

How did you install Numeric? The newest version is 23.7. It should be
real easy to upgrade to that, as that version picks up Apple's vecLib
framework for the linear algebra routines. Just do the usual 'python
setup.py build', 'sudo python setup.py install'. That should put the
header files where the MMTK installation expects them.

--
|>|\/|<
/--------------------------------------------------------------------------\
|David M. Cooke
|cookedm(at)physics(dot)mcmaster(dot)ca
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Richard Hanson | last post by:
Over the last few days, I reinstalled Win2kSP2 to a spare harddrive I had just swapped into my Fujitsu LifeBook P1120 (long story <wink>). Subsequently, I DL'ed the newest Python alpha (2.4a2), and...
2
by: René Beumer | last post by:
I am trying to install a windows service written in .net 2003 on my Windows 2000 computer. I have followed the walkthru given in msdn but the service fails to install with 'requested registry...
3
by: Chuck Arney | last post by:
After installing Office 2003 PRO and attempting to run SETUP to install the Visual Studio Tools for Office version 2003, I get the error message "Your computer must have Microsoft Office...
2
by: Roland | last post by:
I am having trouble installing dotnetfx on a machine. Here is the dotnetfx.log file Any Ideas how to fix the machine so it will install will be helpful. What does ReturnCode=995 mean? I...
13
by: cab0san | last post by:
I downloaded the DB2 runtime client, but the Client Base support and the TCP protocol do not install. I re-run the setup select them to run from disk, and they still show as not installed. What am...
7
by: p | last post by:
WE had a Crystal 8 WebApp using vs 2002 which we upgraded to VS2003. I also have Crystal 9 pro on my development machine. The web app runs fine on my dev machine but am having problems deploying....
2
by: John | last post by:
Hi I have a vb.net service app which I have set to run as user. When I try to install the service via InstallUtil, I provide user/pass for the administrator but the service fails to install. I...
1
by: manish deshpande | last post by:
Hi, When i'm installing MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm by the following command: rpm -i MySQL-server-standard-5.0.24a-0.rhel3.i386.rpm the following error is being shown: ...
12
by: jcor | last post by:
Hi, I'm using Ubuntu 7.04. I'm writing a sript that sends files via ftp for several destinations. So far I used Net::FTP and it worked fine. My problem is that I need to send files via SFTP...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.