我在 Mac 上为 python3.3.1 安装 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)
有没有人有任何想法?