[mod_python] make failed on Mac OS X 10.8.4

Yvon Thoraval yvon.thoraval at gmail.com
Tue May 27 20:32:20 UTC 2014


I wanted to install mod_python on Mac OS X 10.8.4.
I've used the zip file mod_python-master.zip from
https://github.com/grisha/mod_python

Then i've use those commands :

$ ./configure

$  sudo ln -s
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
\

/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain

(I've added this symlink because a first make was ending by :
env:
/Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.8.xctoolchain/usr/bin/cc:
No such file or directory
apxs:Error: Command failed with rc=65536
.
make[1]: *** [mod_python.so] Error 1
make: *** [do_dso] Error 2
)

then a second make ended with :

clang -fno-strict-aliasing -fno-common -dynamic -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 -Os -Wall
-Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe
-I/Volumes/SSD2/Users/yt/src/mod_python/src/include
-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c /Volumes/SSD2/Users/yt/src/mod_python/src/psp_string.c -o
build/temp.macosx-10.8-intel-2.7/Volumes/SSD2/Users/yt/src/mod_python/src/psp_string.o
clang: error: unknown argument: '-mno-fused-madd'
[-Wunused-command-line-argument-hard-error-in-future]
clang: note: this will be a hard error (cannot be downgraded to a warning)
in the future
error: command 'clang' failed with exit status 1
make[1]: *** [build] Error 1
make: *** [do_dso] Error 2


someone knows a solution for that ?

best

-- 
Yvon at 48.871651804,2.384858688
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.modpython.org/pipermail/mod_python/attachments/20140527/553a35fa/attachment.html>


More information about the mod_python mailing list