python - can not install psycopg2 2.5+ on mac osx 10.9 -
here error log:
building 'psycopg2._psycopg' extension creating build/temp.macosx-10.9-intel-2.7 creating build/temp.macosx-10.9-intel-2.7/psycopg cc -fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -denable_dtrace -dmacosx -dndebug -wall -wstrict-prototypes -wshorten-64-to-32 -dndebug -g -fwrapv -os -wall -wstrict-prototypes -denable_dtrace -arch x86_64 -arch i386 -pipe -dpsycopg_default_pydatetime=1 -dpsycopg_version="2.5 (dt dec pq3 ext)" -dpg_version_hex=0x090301 -dpsycopg_extensions=1 -dpsycopg_new_boolean=1 -dhave_pqfreemem=1 -i/system/library/frameworks/python.framework/versions/2.7/include/python2.7 -i. -i/library/postgresql/9.3/include -i/library/postgresql/9.3/include/postgresql/server -c psycopg/psycopgmodule.c -o build/temp.macosx-10.9-intel-2.7/psycopg/psycopgmodule.o clang: error: unknown argument: '-mno-fused-madd' [-wunused-command-line-argument-hard-error-in-future] clang: note: hard error (cannot downgraded warning) in future error: command 'cc' failed exit status 1
any suggestions? workaround? entirely blocked day.
this 1 works me:
export cflags=-qunused-arguments export cppflags=-qunused-arguments
clang error: unknown argument: '-mno-fused-madd' (python package installation failure)
Comments
Post a Comment