Mailman 3 Branch, install fails with --prefix specified

Bug #667252 reported by Simon Fraser
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Undecided
Unassigned

Bug Description

When trying to install mailman outside the Python tree, I get the following error:

(I've replaced my home directory with $HOME in the below text)

$ whoami
srf
$ /software/bin/python-2.6.3 setup.py install --prefix=~srf/mailman-install
running install
Checking .pth file support in /$HOME/mailman-install/lib/python2.6/site-packages/
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 2] No such file or directory: '/$HOME/mailman-install/lib/python2.6/site-packages/test-easy-install-20075.pth'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /$HOME/mailman-install/lib/python2.6/site-packages/

This directory does not currently exist. Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).

Tags: mailman3
Barry Warsaw (barry)
tags: added: mailman3
Changed in mailman:
status: New → Triaged
Revision history for this message
Barry Warsaw (barry) wrote :

I'm not sure a straight 'python setup.py install' works since MM3 is based on buildout. Does this work or fail for you:

$ /software/bin/python-2.6.3 bootstrap.py
$ bin/buildout

?

Changed in mailman:
status: Triaged → Incomplete
Barry Warsaw (barry)
Changed in mailman:
status: Incomplete → New
Revision history for this message
Barry Warsaw (barry) wrote :

Try --root instead of --prefix

Changed in mailman:
status: New → Invalid
Revision history for this message
Simon Fraser (simonfr) wrote :

Am currently unable to 'bzr branch' mailman again, to re-establish the environment needed to test this. Will keep trying and update later. Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.