[Varnish] #1473: Can't build on OS X because of rst2man/python-docutils requirement

Varnish varnish-bugs at varnish-cache.org
Thu Apr 10 14:28:45 CEST 2014


#1473: Can't build on OS X because of rst2man/python-docutils requirement
---------------------------------+--------------------
 Reporter:  jpotter              |       Type:  defect
   Status:  new                  |   Priority:  high
Milestone:  Varnish 4.0 release  |  Component:  build
  Version:  4.0.0                |   Severity:  major
 Keywords:                       |
---------------------------------+--------------------
 It looks like going from 3.0.5 to 4.0.0 that rst2man is now required to be
 installed to build varnish. In 3.0.5, configure would skip over man pages
 and changelog when it wasn't present:

 {{{
 checking for rst2man... no
 checking for rst2man.py... no
 configure: WARNING: rst2man not found – not building man pages
 checking for rst2html... no
 checking for rst2html.py... no
 configure: WARNING: rst2html not found – not building change log
 }}}

 Whereas in 4.0.0:

 {{{
 checking for rst2man... no
 checking for rst2man.py... no
 configure: error: rst2man is needed to build Varnish, please install
 python-docutils.
 }}}

 Running configure with the flag "--without-rst2man" doesn't work, either:
 configure is okay, but then make errors out:

 {{{
 Making all in man
   CC     vsc2rst.o
   CCLD   vsc2rst
 ./vsc2rst | no - varnish-counters.7
 /bin/sh: no: command not found
 make[3]: *** [varnish-counters.7] Error 127
 make[2]: *** [all-recursive] Error 1
 make[1]: *** [all] Error 2
 }}}

 Can this either be reverted to the old behavior, or can the --without-
 rst2man flag be checked to skip building the man pages and html docs?

 We can't built varnish currently as OS X doesn't have rst2man, and there's
 no package for it (or python-docutils) in brew, etc.

 Thanks,
 Jeff

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1473>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list