Problem compiling mod_wsgi for python2.6 on Cent OS 5.3

Posted by webdev on Stack Overflow See other posts from Stack Overflow or by webdev
Published on 2010-05-21T15:43:45Z Indexed on 2010/05/21 16:30 UTC
Read the original article Hit count: 182

Filed under:
|
|

I am running a website on CentOS 5.3. I understand centos will break if the default python 2.4 is upgraded. I followed this site (http://www.question-defense.com/2009/12/25/how-to-install-python-2-6-on-centos-5-without-breaking-yum) and got python 2.6 installed.

Now if I run "python" it runs python2.4 and if I run "python26" it runs python2.6.

I am trying to compile mod_wsgi-3.2. When it run ./configure it takes only python 2.4 environment. I have tried using the --with-python=/usr/bin/python26. That way, "make" command does not work.

Can someone throw some light on this?

Thanks in advance

© Stack Overflow or respective owner

Related posts about python

Related posts about mod-wsgi