Boost logo

Boost :

Subject: Re: [boost] [mpl][doc] not installing docutils.core? (was src/README.txt step 3 bug? (was Re: [mpl][fold.html] apply<op, _1, deref<_2> > correction needed.
From: Larry Evans (cppljevans_at_[hidden])
Date: 2009-03-16 17:05:38

On 03/16/09 11:45, Larry Evans wrote:
> On 03/16/09 01:34, Aleksey Gurtovoy wrote:
> 4. Do ``python``. It's going to take a couple of minutes to
> finish.
> which resulted in:
> ~/prog_dev/boost-svn/ro/boost-trunk/libs/mpl/doc/src $ ls
> README.txt docutils refmanual
> ~/prog_dev/boost-svn/ro/boost-trunk/libs/mpl/doc/src $ python
> Traceback (most recent call last):
> File "/usr/bin/", line 16, in <module>
> from docutils.core import publish_cmdline, default_description
> ImportError: No module named docutils.core
> There is a file:
> libs/mpl/doc/src/docutils/tools/
> So, I assume the in step 3 (where I had to become root)
> of the README.txt
> 3. Go to ``$BOOST_ROOT/libs/mpl/doc/src/docutils`` directory and do
> ``python install`` to install MPL-specific
> HTML/refdoc Docutils writer.
> should have installed the usr/bin/ file?

OOPS. Should have read the error closer, in particular the part
about docutils.core. Should be installing that?
There is:

   from distutils.core import setup


Here's the output from my run of

root_at_evansl-desktop:/usr/lib/python2.5# mkdir docutils
root_at_evansl-desktop:/usr/lib/python2.5# cd
python install
running install
running build
running build_py
running build_scripts
running install_lib
creating /usr/lib/python2.5/site-packages/docutils
creating /usr/lib/python2.5/site-packages/docutils/writers
creating /usr/lib/python2.5/site-packages/docutils/writers/html4_refdoc
copying build/lib/docutils/writers/html4_refdoc/ ->
copying build/lib/docutils/writers/html4_refdoc/frames.css ->
to __init__.pyc
running install_scripts
copying build/scripts-2.5/ -> /usr/bin
changing mode of /usr/bin/ to 755
running install_egg_info
Writing /usr/lib/python2.5/site-packages/html_refdoc-.1.egg-info
cd ..
README.txt docutils refmanual

Boost list run by bdawes at, gregod at, cpdaniel at, john at