distutils is not available or incomplete when ./configure mailman 2.1.23?
Hi,
When I run configure like this:
./configure --prefix=/var/lib/mailman --with-username=list --with-groupname=list --with-cgi-gid=www-data --with-mail-gid=list --with-mailhost=YOUR.EMAIL.DOMAIN --with-urlhost=YOUR.WEB.DOMAIN
A few lines later I get:
… checking that Python has a working distutils... configure: error:
***** 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 sec. 15.1 of the Installation Manual for ***** details
What am I missing?
Thank you, Caesar.
On 12/13/2016 08:17 PM, Caesar Samsi wrote:
Hi,
When I run configure like this:
./configure --prefix=/var/lib/mailman --with-username=list --with-groupname=list --with-cgi-gid=www-data --with-mail-gid=list --with-mailhost=YOUR.EMAIL.DOMAIN --with-urlhost=YOUR.WEB.DOMAIN
A few lines later I get:
… checking that Python has a working distutils... configure: error:
***** 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 sec. 15.1 of the Installation Manual for ***** details
What am I missing?
sudo apt-get install python-dev
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Ah, now it works. Would be great to see this info in the build & install doc/wiki.
Thank you, Caesar.
On Dec 13, 2016, at 9:15 PM, Mark Sapiro mark@msapiro.net wrote:
On 12/13/2016 08:17 PM, Caesar Samsi wrote:
Hi,
When I run configure like this:
./configure --prefix=/var/lib/mailman --with-username=list --with-groupname=list --with-cgi-gid=www-data --with-mail-gid=list --with-mailhost=YOUR.EMAIL.DOMAIN --with-urlhost=YOUR.WEB.DOMAIN
A few lines later I get:
… checking that Python has a working distutils... configure: error:
***** 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 sec. 15.1 of the Installation Manual for ***** details
What am I missing?
sudo apt-get install python-dev
-- Mark Sapiro mailto:mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org mailto:Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/mailinglist%40samsi.us https://mail.python.org/mailman/options/mailman-users/mailinglist%40samsi.us
On 12/14/2016 10:33 AM, Caesar Samsi wrote:
Ah, now it works. Would be great to see this info in the build & install doc/wiki.
It's in the installation manual, section 15.1, as it said in the message you received.
… checking that Python has a working distutils... configure: error:
***** 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 sec. 15.1 of the Installation Manual for ***** details
The manual is in various formats in the doc/ subdirectory of the directory into which you unpacked and ran ./configure. I.e., doc/mailman-install/index.html, doc/mailman-install.dvi, doc/mailman-install.pdf, doc/mailman-install.ps and doc/mailman-install.txt.
It is also online. See http://www.list.org/mailman-install/node48.html for the relevant section.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Indeed it is but what tripped me up was it was not python-devel it is actually python-dev
Not quite a developer so didn’t think of trying -dev … :-)
On Dec 14, 2016, at 11:01 AM, Mark Sapiro mark@msapiro.net wrote:
On 12/14/2016 10:33 AM, Caesar Samsi wrote:
Ah, now it works. Would be great to see this info in the build & install doc/wiki.
It's in the installation manual, section 15.1, as it said in the message you received.
… checking that Python has a working distutils... configure: error:
***** 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 sec. 15.1 of the Installation Manual for ***** details
The manual is in various formats in the doc/ subdirectory of the directory into which you unpacked and ran ./configure. I.e., doc/mailman-install/index.html, doc/mailman-install.dvi, doc/mailman-install.pdf, doc/mailman-install.ps and doc/mailman-install.txt.
It is also online. See http://www.list.org/mailman-install/node48.html for the relevant section.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
You can always search the cache with: apt-cache search python or apt-cache search python-dev to get less noise.
On 12/14/2016 2:58 PM, Caesar Samsi wrote:
Indeed it is but what tripped me up was it was not python-devel it is actually python-dev
Not quite a developer so didn’t think of trying -dev … :-)
On Dec 14, 2016, at 11:01 AM, Mark Sapiro mark@msapiro.net wrote:
On 12/14/2016 10:33 AM, Caesar Samsi wrote:
Ah, now it works. Would be great to see this info in the build & install doc/wiki.
It's in the installation manual, section 15.1, as it said in the message you received.
… checking that Python has a working distutils... configure: error:
***** 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 sec. 15.1 of the Installation Manual for ***** details
The manual is in various formats in the doc/ subdirectory of the directory into which you unpacked and ran ./configure. I.e., doc/mailman-install/index.html, doc/mailman-install.dvi, doc/mailman-install.pdf, doc/mailman-install.ps and doc/mailman-install.txt.
It is also online. See http://www.list.org/mailman-install/node48.html for the relevant section.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/guest2%40sgeinc.com
In conclusion for folks searching the archives … the distutils tool is in python-dev package.
To get it do: sudo apt-get install python-dev
On Dec 14, 2016, at 1:15 PM, Richard Shetron guest2@sgeinc.com wrote:
You can always search the cache with: apt-cache search python or apt-cache search python-dev to get less noise.
On 12/14/2016 2:58 PM, Caesar Samsi wrote:
Indeed it is but what tripped me up was it was not python-devel it is actually python-dev
Not quite a developer so didn’t think of trying -dev … :-)
On Dec 14, 2016, at 11:01 AM, Mark Sapiro mark@msapiro.net wrote:
On 12/14/2016 10:33 AM, Caesar Samsi wrote:
Ah, now it works. Would be great to see this info in the build & install doc/wiki.
It's in the installation manual, section 15.1, as it said in the message you received.
… checking that Python has a working distutils... configure: error:
***** 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 sec. 15.1 of the Installation Manual for ***** details
The manual is in various formats in the doc/ subdirectory of the directory into which you unpacked and ran ./configure. I.e., doc/mailman-install/index.html, doc/mailman-install.dvi, doc/mailman-install.pdf, doc/mailman-install.ps and doc/mailman-install.txt.
It is also online. See http://www.list.org/mailman-install/node48.html for the relevant section.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/guest2%40sgeinc.com https://mail.python.org/mailman/options/mailman-users/guest2%40sgeinc.com
On 12/14/2016 01:22 PM, Caesar Samsi wrote:
In conclusion for folks searching the archives … the distutils tool is in python-dev package.
To get it do: sudo apt-get install python-dev
If your OS is Debian/Ubuntu.
For RHEL/Centos the package is python-devel installed via
sudo yum install python-devel
and for other OS's or Linux distros, it may be something else.
You can also install docutils with
sudo pip install docutils
if you have pip installed, but this may not install other needed python dependencies.
In short, package names and software installation methods vary widely and trying to document all the options would probably be confusing in addition to leaving some out.
-- Mark Sapiro mark@msapiro.net The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (3)
-
Caesar Samsi
-
Mark Sapiro
-
Richard Shetron