getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-users] getFEM++ on MacOs


From: Tore G. Halvorsen
Subject: [Getfem-users] getFEM++ on MacOs
Date: Tue, 15 May 2012 17:36:47 +0200

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

Best regardsĀ 
Tore G. Halvorsen

reply via email to

[Prev in Thread] Current Thread [Next in Thread]