CentOS 5.3 でウェブサイトを運営しています。デフォルトのpython 2.4がアップグレードされると、centosが壊れることを理解しています。このサイト ( http://www.question-defense.com/2009/12/25/how-to-install-python-2-6-on-centos-5-without-breaking-yum )をたどり、python を入手しました。 2.6がインストールされています。
"python" を実行すると python2.4 が実行され、"python26" を実行すると python2.6 が実行されます。
mod_wsgi-3.2 をコンパイルしようとしています。./configure を実行すると、python 2.4 環境のみが必要になります。--with-python=/usr/bin/python26 を使用してみました。そうすると、「make」コマンドが機能しなくなります。
誰かがこれに光を当てることができますか?
前もって感謝します
そのために残念。出力が長すぎます。
このまま終わります。
mod_wsgi.c:14519: error: 'AuthObject' has no member named 'r' mod_wsgi.c:14523:
error: 'AuthObject' has no member named 'log' mod_wsgi.c:14526:
error: 'PyExc_AttributeError' undeclared (first use in this function) mod_wsgi.c:14528:
error: 'AuthObject' has no member named 'log' mod_wsgi.c:14541: error: expected expression before ')' token mod_wsgi.c:14548:
rror: expected ';' before 'ap_log_rerror' mod_wsgi.c:14553:
error: expected ';' before '}' token mod_wsgi.c:14558:
error: too many arguments to function 'wsgi_log_python_error' mod_wsgi.c:14563:
error: expected expression before 'module' apxs:
Error: Command failed with rc=65536 . make: *** [mod_wsgi.la] Error 1
ありがとうございました