Dear Tore, It seems that the configure file selects gcc-4.0 as the c compiler (not c++) (can you see it when you run configure ?). I don't know a reason for that if gcc-4.0 is not installed !
(in the makefile.am of the directory interface/src/python, there is the line PYTHON_CC=$(CC) which indicates that the C compiler found by the configure file is used. There is no explicit call to gcc-4.0). Yves. Le 15/05/2012 17:36, Tore G. Halvorsen a écrit : > 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 > > > _______________________________________________ > Getfem-users mailing list > [email protected] > https://mail.gna.org/listinfo/getfem-users -- Yves Renard ([email protected]) tel : (33) 04.72.43.87.08 Pole de Mathematiques, INSA-Lyon fax : (33) 04.72.43.85.29 20, rue Albert Einstein 69621 Villeurbanne Cedex, FRANCE http://math.univ-lyon1.fr/~renard ---------
_______________________________________________ Getfem-users mailing list [email protected] https://mail.gna.org/listinfo/getfem-users
