[MMTK] Trouble installing MMTK on Linux

vanitha at cs.wisc.edu vanitha at cs.wisc.edu
Mon Oct 24 22:25:09 CEST 2005


I installed Python 2.4.2, Numeric Python 24.0b2, Scientific Python 2.4.9,
NetCDF 3.6.0 (all from source) in my home directory and I ran "python
setup.py build" in the MMTK directory (version 2.4.2). I got the following
errors when I did this:-

running build
running build_py
running build_ext
building 'MMTK_DCD' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall
-Wstrict-prototypes -fPIC -DEXTENDED_TYPES -IInclude
-I/afs/cs.wisc.edu/u/v/a/vanitha/include/python2.4 -c Src/MMTK_DCD.c -o
build/temp.linux-i686-2.4/Src/MMTK_DCD.o
In file included from Src/MMTK_DCD.c:9:
Include/MMTK/trajectory.h:14:20: netcdf.h: No such file or directory
Include/MMTK/universe.h:109: warning: 'PyUniverse_API' defined but not used
/afs/cs.wisc.edu/u/v/a/vanitha/include/python2.4/Scientific/netcdfmodule.h:242:
warning: 'PyNetCDF_API' defined but not used
error: command 'gcc' failed with exit status 1

Earlier, when I installed NETCDF I got the following warning - "Not making
'f90/all' because no FORTRAN-90 compiler". Could this be the source of the
problem? And when I try importing Scientific.IO.NetCDF I get an error.

Looks like I have a bunch of different problems here... wondering if you
have any idea what the source of the problem could be??

FYI.. my home directory has /bin and a /lib folders and the python, sci
py, num py and net cdf executables are all in the bin folder.

Thanks in advance for your help,

- Vanitha







More information about the mmtk mailing list