Boost logo

Boost :

Subject: Re: [boost] [mpl][doc]setup.py not installing docutils.core?
From: David Abrahams (dave_at_[hidden])
Date: 2009-04-13 18:04:11


on Sun Apr 12 2009, "Aleksey Gurtovoy" <agurtovoy-AT-meta-comm.com> wrote:

> On Mon, 06 Apr 2009 16:02:56 -0500, Larry Evans <cppljevans_at_[hidden]> wrote:
>> I did get the agurtovoy/html_frames and then followed all 4 steps in:
>>
>>
> https://svn.boost.org/trac/boost/browser/trunk/libs/mpl/doc/src/README.txt?rev=52206#L12
>>
>> However, the last step gave error messages:
>> -{--build.py errors--
>>
>> ~/prog_dev/boost-svn/ro/boost-trunk/libs/mpl/doc/src $ python build.py
>> at.rst:3207: (ERROR/3) Undefined substitution referenced: "overloaded name".
>> clear.rst:3950: (ERROR/3) Undefined substitution referenced: "concept-identical".
>> insert.rst:4189: (ERROR/3) Undefined substitution referenced: "overloaded name".
>
> [skip more errors]
>
> Hmm, these should have come from "terminology.rst". Please check if you
> are completely in sync with the trunk. If that doesn't help, could you
> send me your refmanual.gen (produced by build.py in
> libs/mpl/doc/src/refmanual/)?

The problem was that until very recently, docutils.jam didn't work at
all with a standard docutils installation. It was necessary to download
a docutils source distribution and then, in user-config.jam:

  using docutils : path/to/docutils/source/distro ;

In the trunk you can now install docutils and then:

  using docutils
  : # empty
  : directory/of/installed/rst2html.py ;

HTH,

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk