[Boost-bugs] [Boost C++ Libraries] #5709: boost.build docutils module not working

Subject: [Boost-bugs] [Boost C++ Libraries] #5709: boost.build docutils module not working
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-18 00:21:52


#5709: boost.build docutils module not working
------------------------------+---------------------------------------------
 Reporter: stefan | Owner: vladimir_prus
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 I'm trying to use the docutils tool as part of boost.build, which results
 in errors.
 The reason appears to be that on my system (Fedora), there is no
 "rst2html.py" script, but a "rst2html" tool (a python script) in /usr/bin.

 The docutils module initialization doesn't know about it, and then invokes
 "python -gdt ..." instead of "rst2html -gdt ..." or "python rst2html.py
 -gdt ...", which is clearly wrong.

 I think there are two issues here to fix:

 1) Instead of generating an invalid command, detect that the "rst2html.py"
 script doesn't exist, and bail out.

 2) Allow alternate scripts, such as "rst2html". Or more conveniently,
 discover that script automatically, and use it as RST2XXX in docutils.jam.

 (I have been attempting to debug this, by injecting "ECHO ... " commands
 into the docutils.jam file. However, these weren't working. Depending on
 where I inserted them, I received errors "ECHO: command not found" or
 others.

 Any help would be appreciated.

 Thanks,
       Stefan

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5709>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:07 UTC