0
- Apache 2.2的
- mod_wsgi的版本是3.3
- 的Xcode 4我的機器裏安裝(是療法有一個問題?)
步驟: 1)運行./configure 2)須藤使安裝錯誤,而在Mac上安裝MOD-WSGI 3.3 OS X
步驟2給出以下錯誤
$sudo make install
/usr/sbin/apxs -c -I/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -DNDEBUG -Wc,'-arch x86_64' -Wc,'-arch i386' -Wc,'-arch ppc7400' mod_wsgi.c -Wl,-F/Library/Frameworks -framework Python -u _PyMac_Error -arch x86_64 -arch i386 -arch ppc7400 -ldl -framework CoreFoundation
/usr/share/apr-1/build-1/libtool --silent --mode=compile gcc -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -I/usr/local/include -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -arch x86_64 -arch i386 -arch ppc7400 -I/Library/Frameworks/Python.framework
/Versions/2.7/include/python2.7 -DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin /ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
Installed assemblers are:
/usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
/usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
lipo:無法打開輸入文件:/var/tmp//ccuKotEU.out(沒有這樣的文件或目錄) apxs:錯誤:命令失敗,rc = 65536 。 化妝:* [mod_wsgi.la]錯誤1