[MMTK] MMTK install from source on Mac OSX 10.9.3

Anna Gorska gvalchca.agr at gmail.com
Wed Jun 25 13:51:41 UTC 2014

Dear All,

I am trying to install MMTK-2.7.5 from source and so far haven’t achieve the goal.

Apart from the issue with gcc warnings being treated as the errors by Xcode gcc compiler 
(what I have overcome using "ARCHFLAGS="-Wno-error=-falign-loops=16”),
there is also issue with netcdf.h:

#warning "Using deprecated NumPy API, disable it by " \


In file included from Src/MMTK_DCD.c:8:

Include/MMTK/trajectory.h:16:11: fatal error: 'netcdf.h' file not found

# include "netcdf.h"


1 warning and 1 error generated.

error: Command "gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Qunused-arguments -DLIBM_HAS_ERFC -D_LONG64_ -DEXTENDED_TYPES -IInclude -I/Users/anna/anaconda/lib/python2.7/site-packages/numpy/core/include -I/Users/anna/anaconda/include/python2.7 -c Src/MMTK_DCD.c -o build/temp.macosx-10.5-x86_64-2.7/Src/MMTK_DCD.o -DNUMPY=1" failed with exit status 1

Cleaning up...
Command /Users/anna/anaconda/bin/python -c "import setuptools;__file__='/tmp/pip-GdnMLD-build/setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-7OMPph-record/install-record.txt --single-version-externally-managed failed with error code 1 in /tmp/pip-GdnMLD-build
Storing complete log in /var/root/.pip/pip.log

It happens both cases: when I use pip instal MMTK-2.7.5.tar.gz and python setup.py build,

I tried setting NETCDF variables to proper location it did not help,


Anna Gorska
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://starship.python.net/pipermail/mmtk/attachments/20140625/c52b7767/attachment.html>

More information about the mmtk mailing list