I am unable to compile getfem-4.1.1 on MacOs 10.7.3
with Xcode version 4.3.2. I have enabled terminal access to gcc
and g++ in Xcode. I have successfully executed
./configure --enable-python=yes. My intention is to use the python
interface. But the make command fails with the following error:
Making all in python
cp ./getfem_python.c getfem_python_c.c
touch _getfem.so && rm _getfem.so
ARCHFLAGS="" python setup.py -v build --build-temp .
--build-base . --build-lib . --force
running build
running build_ext
building '_getfem' extension
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -g -O2
-DNDEBUG -g -O3 -I../../../src/getfem -I../../../src/getfem
-I./.. -I.
-I/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include
-I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c getfem_python_c.c -o ./getfem_python_c.o
unable to execute gcc-4.0: No such file or directory
error: command 'gcc-4.0' failed with exit status 1
It is strange that it attempts to execute gcc-4.0, since both
gcc and g++ commands on the terminal are version 4.2.1
Tore G. Halvorsen