I am trying to install MySQL-python
package with the following error:
cc1: error: unrecognized command line option \"-arch\"
cc1: error: unrecogni
I restored the gcc
that comes with Mac and that removed the first error which is
cc1: error: unrecognized command line option "-arch"
for the second one, I removed the option from /Library/Frameworks/Python.framework/Versions/Current/lib/python2.5/config/Makefile
from BASECFLAGS
and added the following to my ~/.bashrc
export C_INCLUDE_PATH=/Developer/SDKs/MacOSX10.5.sdk/usr/include
export LIBRARY_PATH=/Developer/SDKs/MacOSX10.5.sdk/usr/lib
and that removed the error
cc1: error: unrecognized command line option "-Wno-long-double"