Compilation on Mac OS X


Click here for full thread
Just Got Here
Hi,

I'm trying to complile nwchem on a Mac running OS X Sierra (10.12.2).I'm following method 2 (using homebrew) from the wiki. Running make results in the following error:

configure: error: in `/Users/dvr/Documents/nwchem-6.6/src/tools/build':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
make[1]: *** [build/config.status] Error 1
make: *** [libraries] Error 1

Logfile contents can be found here [1]. Could anyone show me how to fix this?

Thanks in advance,

Dries