problem installing Mailman 3.0 beta1 - no var directory created during install

On Thu, May 3, 2012 at 1:57 AM, Stephen J. Turnbull <stephen@xemacs.org>wrote:
The short answer is "Anywhere, as long as the relative positions of components are in the same place". Basically, just use "python setup.py install --prefix=$YOUR_PREFERENCE".
I installed it but I didn't get a var directory at all. (On the chance that it is created only after starting Mailman the first time, I tried to start it but that didn't work either.) The last line of the installation output read: error: None
# ls /opt/mailman3/ bin lib
Here's what I did:
export PYTHONPATH=$PYTHONPATH:/opt/mailman3/lib/python2.7/site-packages/ /usr/bin/python setup.py install --prefix=/opt/mailman3
In src/mailman/config/schema.cfg I have: # Which paths.* file system layout to use. layout: dev
In src/mailman/config/mailman.cfg I have: [paths.dev] var_dir: var
[paths.fhs] bin_dir: /sbin var_dir: /var/lib/mailman [snip]
# bin/mailman info Traceback (most recent call last): File "bin/mailman", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module> working_set.require(__requires__) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: restish
root@localhost:/opt/mailman3# bin/mailman start Traceback (most recent call last): File "bin/mailman", line 5, in <module> from pkg_resources import load_entry_point File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module> working_set.require(__requires__) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: restish
mailman-3.0.0b1-source# ls bin copybump.py dist eggs setup.cfg bootstrap.py COPYING distribute-0.6.8-py2.7.egg MANIFEST.in setup.py build cron distribute-0.6.8.tar.gz parts src buildout.cfg data distribute_setup.py PKG-INFO template.py conf.py develop-eggs distribute_setup.pyc README.rst var
participants (1)
-
David