0
我在Mac上爲python3.3.1安裝mod_wsgi。我看到這個警告,甚至在仔細查看安裝文檔之後也很難過。安裝mod_wsgi:缺少體系結構文件
./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/local/bin/python3.3
make
回報:
/usr/sbin/apxs -c -I/Library/Frameworks/Python.framework/Versions/3.3/include/python3.3m -DNDEBUG -Wc,'-arch x86_64' -Wc,'-arch i386' -Wc,'-arch ppc7400' mod_wsgi.c -Wl,-F/Library/Frameworks -framework Python -framework CoreFoundation -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/3.3/include/python3.3m -DNDEBUG -c -o mod_wsgi.lo mod_wsgi.c && touch mod_wsgi.slo
/usr/share/apr-1/build-1/libtool --silent --mode=link gcc -o mod_wsgi.la -rpath /usr/libexec/apache2 -module -avoid-version mod_wsgi.lo -Wl,-F/Library/Frameworks -framework Python -framework CoreFoundation -arch x86_64 -arch i386 -arch ppc7400 -ldl -framework CoreFoundation
「警告」 如下:
ld: warning: in /Library/Frameworks/Python.framework/Python, missing required architecture ppc in file
warning: no debug symbols in executable (-arch x86_64)
warning: no debug symbols in executable (-arch i386)
warning: no debug symbols in executable (-arch ppc7400)
有沒有人有什麼想法?