Trying to build sphinxbase-0.8 on Mac OS X 10.10, I run
./configure
This succeeds.
Then when I run "make" it fails with the following error:
running build
running build_ext
building 'sphinxbase' extension
creating build
creating build/temp.macosx-10.5-x86_64-2.7
gcc-4.0 -fno-strict-aliasing -fno-common -dynamic -arch i386 -arch ppc -arch x86_64 -g -O2 -DNDEBUG -g -O3 -I../include -I../include -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c sphinxbase.c -o build/temp.macosx-10.5-x86_64-2.7/sphinxbase.o
unable to execute gcc-4.0: No such file or directory
error: command 'gcc-4.0' failed with exit status 1
make[1]: [pymod-build-stamp] Error 1
make: [all-recursive] Error 1
Diff:
Hello Jamie
This is pretty common issue, you can read in detail about issue and solutions here:
http://stackoverflow.com/questions/5944228/python-build-using-wrong-version-of-gcc-on-os-x
Thanks Nickolay,
In case anyone else finds this thread, what worked for me is to upgrade to the latest Python 2.7 (Intel build 10.6 or later).