Compilation on Mac OS X


Click here for full thread
Forum Vet
Conflicts coming from MacPorts
After looking at your config.log, I can see that 1) you have /opt/local/bin and /opt/local/sbin in your path and 2) that some stuff is picked up from the MacPorts /opt/local location (c++ (MacPorts gcc48 4.8.5_0) 4.8.5)
Please don't try to use Homebrew together with MacPorts.
Therefore, my suggestion is to
- open a shell with a PATH that does not contain the /opt/local/bin MacPorts location
- unset the following env. variables (if they are set at all)
MPI_LIB
MPI_INCLUDE
LIBMPI
CPP
CXX
CC