[Mailman-Users] Mailman configuration error

Adam G. Garson aggarson at hotmail.com
Wed Oct 27 20:36:23 CEST 2004


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 <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'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
<prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
2.3.4
checking that Python has a working distutils... Could not find platform
independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'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" <jdennis at redhat.com>
To: "Adam G. Garson" <aggarson at hotmail.com>
Cc: "mailman-users" <mailman-users at python.org>
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
> > Mailman-Users at python.org
> > 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 <jdennis at redhat.com>
>
>



More information about the Mailman-Users mailing list