Re: [Mailman-Users] Mailman configuration error
On Wed, 27 Oct 2004, Adam G. Garson wrote: Hi -- I'm trying to install Mailman on a Mandrake 10.1 system. I have new installations of Python 2.3.4 and GCC 3.4.2 both compiled from source -- no rpms. When I run the configure script I get the error quoted below. This occurs even as root, so I don't think it's a permission problem. I've done everything I can think of but can't resolve the issue. Can anybody give me some guidance on how to troubleshoot this one (I'm not a programmer)? Thanks very much. Give it the path to the python executable, not to the lib directory. -Dan Adam Garson * Distutils is not available or is incomplete for /usr/bin/python * If you installed Python from RPM (or other package manager) * be sure to install the -devel package, or install Python * from source. See README.LINUX for details bash-2.05b$ /configure --with-username=adam --with-cgi-gid=webgroup --with-mailhost=nan nypay.net --with-urlhost=nannypay.net --with-python=/usr/local/lib/python2.3 checking for --with-python... /usr/local/lib/python2.3 checking Python interpreter... /usr/local/lib/python2.3 checking Python version... ./configure: line 1379: /usr/local/lib/python2.3: is a directory cat: conftest.out: No such file or directory configure: error: * /usr/local/lib/python2.3 is too old (or broken) * Python 2.1 or newer is required * Python 2.1.3 or better is recommended -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ -- "I can feel it, comin' back again...Like a rolling thunder chasin' the wind..." -Dan Mahoney, JS, JB & SL, May 10th, 1997, Approx 1AM Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --- -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] Mailman configuration error
Thanks John. If I use no Python option or simply: --with-python=/usr/bin/ , I get the following error: checking that Python has a working distutils... Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] 'import site' failed; use -v for traceback configure: error: If I use --with-python=/usr/bin/python2.3, I get this one: checking for --with-python... /usr/bin/python2.3 checking Python interpreter... /usr/bin/python2.3 checking Python version... Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] 'import site' failed; use -v for traceback 2.3.4 checking that Python has a working distutils... Could not find platform independent libraries Could not find platform dependent libraries Consider setting $PYTHONHOME to [:] 'import site' failed; use -v for traceback configure: error: * Distutils is not available or is incomplete for /usr/bin/python2.3 * If you installed Python from RPM (or other package manager) * be sure to install the -devel package, or install Python * from source. See README.LINUX for details Thanks. Adam - Original Message - From: "John Dennis" <[EMAIL PROTECTED]> To: "Adam G. Garson" <[EMAIL PROTECTED]> Cc: "mailman-users" <[EMAIL PROTECTED]> Sent: Wednesday, October 27, 2004 2:17 PM Subject: Re: [Mailman-Users] Mailman configuration error > You specified the python directory to configure instead of the path to > the python interpreter. What does "which python" give you? Probably > /usr/bin/python, you probably don't need to use the --with-python > argument (unless you have another version of python installed and you > want to force one over the other) > > John > > On Wed, 2004-10-27 at 13:55, Adam G. Garson wrote: > > Hi -- I'm trying to install Mailman on a Mandrake 10.1 system. I have new > > installations of Python 2.3.4 and GCC 3.4.2 both compiled from source -- no > > rpms. When I run the configure script I get the error quoted below. This > > occurs even as root, so I don't think it's a permission problem. I've done > > everything I can think of but can't resolve the issue. Can anybody give me > > some guidance on how to troubleshoot this one (I'm not a programmer)? > > Thanks very much. > > > > Adam Garson > > > > * Distutils is not available or is incomplete for /usr/bin/python > > * If you installed Python from RPM (or other package manager) > > * be sure to install the -devel package, or install Python > > * from source. See README.LINUX for details > > bash-2.05b$ > > > > /configure --with-username=adam --with-cgi-gid=webgroup --with-mailhost=nan > > nypay.net --with-urlhost=nannypay.net --with-python=/usr/local/lib/python2.3 > > checking for --with-python... /usr/local/lib/python2.3 > > checking Python interpreter... /usr/local/lib/python2.3 > > checking Python version... ./configure: line 1379: > > /usr/local/lib/python2.3: is a directory > > cat: conftest.out: No such file or directory > > configure: error: > > > > * /usr/local/lib/python2.3 is too old (or broken) > > * Python 2.1 or newer is required > > * Python 2.1.3 or better is recommended > > > > > > -- > > Mailman-Users mailing list > > [EMAIL PROTECTED] > > http://mail.python.org/mailman/listinfo/mailman-users > > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ > -- > John Dennis <[EMAIL PROTECTED]> > > -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Re: [Mailman-Users] Mailman configuration error
You specified the python directory to configure instead of the path to the python interpreter. What does "which python" give you? Probably /usr/bin/python, you probably don't need to use the --with-python argument (unless you have another version of python installed and you want to force one over the other) John On Wed, 2004-10-27 at 13:55, Adam G. Garson wrote: > Hi -- I'm trying to install Mailman on a Mandrake 10.1 system. I have new > installations of Python 2.3.4 and GCC 3.4.2 both compiled from source -- no > rpms. When I run the configure script I get the error quoted below. This > occurs even as root, so I don't think it's a permission problem. I've done > everything I can think of but can't resolve the issue. Can anybody give me > some guidance on how to troubleshoot this one (I'm not a programmer)? > Thanks very much. > > Adam Garson > > * Distutils is not available or is incomplete for /usr/bin/python > * If you installed Python from RPM (or other package manager) > * be sure to install the -devel package, or install Python > * from source. See README.LINUX for details > bash-2.05b$ > > /configure --with-username=adam --with-cgi-gid=webgroup --with-mailhost=nan > nypay.net --with-urlhost=nannypay.net --with-python=/usr/local/lib/python2.3 > checking for --with-python... /usr/local/lib/python2.3 > checking Python interpreter... /usr/local/lib/python2.3 > checking Python version... ./configure: line 1379: > /usr/local/lib/python2.3: is a directory > cat: conftest.out: No such file or directory > configure: error: > > * /usr/local/lib/python2.3 is too old (or broken) > * Python 2.1 or newer is required > * Python 2.1.3 or better is recommended > > > -- > Mailman-Users mailing list > [EMAIL PROTECTED] > http://mail.python.org/mailman/listinfo/mailman-users > Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py > Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ -- John Dennis <[EMAIL PROTECTED]> -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
[Mailman-Users] Mailman configuration error
Hi -- I'm trying to install Mailman on a Mandrake 10.1 system. I have new installations of Python 2.3.4 and GCC 3.4.2 both compiled from source -- no rpms. When I run the configure script I get the error quoted below. This occurs even as root, so I don't think it's a permission problem. I've done everything I can think of but can't resolve the issue. Can anybody give me some guidance on how to troubleshoot this one (I'm not a programmer)? Thanks very much. Adam Garson * Distutils is not available or is incomplete for /usr/bin/python * If you installed Python from RPM (or other package manager) * be sure to install the -devel package, or install Python * from source. See README.LINUX for details bash-2.05b$ /configure --with-username=adam --with-cgi-gid=webgroup --with-mailhost=nan nypay.net --with-urlhost=nannypay.net --with-python=/usr/local/lib/python2.3 checking for --with-python... /usr/local/lib/python2.3 checking Python interpreter... /usr/local/lib/python2.3 checking Python version... ./configure: line 1379: /usr/local/lib/python2.3: is a directory cat: conftest.out: No such file or directory configure: error: * /usr/local/lib/python2.3 is too old (or broken) * Python 2.1 or newer is required * Python 2.1.3 or better is recommended -- Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/