Python编译参数

作者 : admin 于 2009年02月21日, 23:38:21
2009
02-21

python2.6.1和mod_python的编译参数

  1. #python编译参数
  2. ./configure --prefix=/opt/python-2.6.1 \
  3. --enable-shared \
  4. --enable-profiling \
  5. --with-gcc \
  6. --with-pydebug \
  7. --with-system-ffi \
  8. --with-signal-module \
  9. --with-dec-threads \
  10. --with-threads \
  11. --with-thread \
  12. --with-pth \
  13. --with-doc-strings \
  14. --with-tsc \
  15. --with-pymalloc \
  16. --with-fpectl
  17.  
  18. #python_mod编译参数
  19. ./configure --with-apxs=/opt/httpd-2.2.9 \
  20. --with-python=/opt/python-2.6.1