Differences between revisions 2 and 3
Revision 2 as of 2008-05-27 13:28:18
Size: 1081
Editor: terri
Comment: Migrated to Confluence 4.0
Revision 3 as of 2014-06-30 08:04:59
Size: 1014
Editor: msapiro
Comment: updated version info.
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#pragma page-filename DOC/versions/17891639 #pragma page-filename DOC/versions/17891643
Line 4: Line 4:
You need to have Python 2.2 or better for Mailman - but what if you can't upgrade your python because it will break other dependencies? Install an additional version of Python, and point to it in your Mailman configure statement. Python 2.4.4 is recommended as of the writing of this FAQ, check for current recommendation and alter as needed. You need to have Python 2.4 or better for Mailman - but what if you can't upgrade your python because it will break other dependencies? Install an additional version of Python, and point to it in your Mailman configure statement. Python 2.7.7 is recommended as of the writing of this FAQ, check for current recommendation and alter as needed.
Line 7: Line 7:
 # wget http://www.python.org/ftp/python/2.4.4/Python-2.4.4.tgz
 # tar xvzf Python-2.4.4.tgz
 # cd Python-2.4.4
 # wget http://www.python.org/ftp/python/2.7.7/Python-2.7.7.tgz
 # tar xvzf Python-2.7.7.tgz
 # cd Python-2.7.7
Line 17: Line 17:
Python2.4 is now at /usr/local/bin/python2.4 Your configure statement will then include: Python2.7 is now at /usr/local/bin/python2.7 Your configure statement will then include:
Line 20: Line 20:
 # ./configure --with-mail-gid=mail --with-python=/usr/local/bin/python2.4  # ./configure --with-mail-gid=mail --with-python=/usr/local/bin/python2.7
Line 23: Line 23:
''Last changed on Mon Feb 12 20:09:57 2007 by'' Brad Knowles<<BR>> Converted from the Mailman FAQ Wizard Converted from the Mailman FAQ Wizard

5.9. Adding a second version of Python to a server

You need to have Python 2.4 or better for Mailman - but what if you can't upgrade your python because it will break other dependencies? Install an additional version of Python, and point to it in your Mailman configure statement. Python 2.7.7 is recommended as of the writing of this FAQ, check for current recommendation and alter as needed.

 # wget http://www.python.org/ftp/python/2.7.7/Python-2.7.7.tgz
 # tar xvzf Python-2.7.7.tgz
 # cd Python-2.7.7
 # ./configure
 # make
 # make altinstall

The altinstall gives you a new version of Python without messing with the old one(s).

Python2.7 is now at /usr/local/bin/python2.7 Your configure statement will then include:

 # ./configure --with-mail-gid=mail --with-python=/usr/local/bin/python2.7

Converted from the Mailman FAQ Wizard

This is one of many Frequently Asked Questions.

MailmanWiki: DOC/Adding a second version of Python to a server (last edited 2014-07-01 14:31:52 by msapiro)