[Bug 667252] [NEW] Mailman 3 Branch, install fails with --prefix specified
Public bug reported: 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). ** Affects: mailman Importance: Undecided Status: New -- Mailman 3 Branch, install fails with --prefix specified https://bugs.launchpad.net/bugs/667252 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.
** Tags added: mailman3 ** Changed in: mailman Status: New => Triaged -- Mailman 3 Branch, install fails with --prefix specified https://bugs.launchpad.net/bugs/667252 You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman.
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 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/667252 Title: Mailman 3 Branch, install fails with --prefix specified
** Changed in: mailman Status: Incomplete => New -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/667252 Title: Mailman 3 Branch, install fails with --prefix specified
Try --root instead of --prefix ** Changed in: mailman Status: New => Invalid -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/667252 Title: Mailman 3 Branch, install fails with --prefix specified To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/667252/+subscriptions
Am currently unable to 'bzr branch' mailman again, to re-establish the environment needed to test this. Will keep trying and update later. Thanks. -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/667252 Title: Mailman 3 Branch, install fails with --prefix specified To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/667252/+subscriptions
participants (2)
-
Barry Warsaw
-
Simon Fraser