[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #6436 [Tor Relay]: Asciidoc files don't build using Homebrew on Mac OS X
#6436: Asciidoc files don't build using Homebrew on Mac OS X
-----------------------+----------------------------------------------------
Reporter: sjmurdoch | Owner:
Type: defect | Status: new
Priority: minor | Milestone:
Component: Tor Relay | Version:
Keywords: | Parent:
Points: | Actualpoints:
-----------------------+----------------------------------------------------
Having installed asciidoc and docbook on Mac OS X using homebrew, the
asciidoc files fail to build:
{{{
Baird:doc sjm217$ make
../doc/asciidoc-helper.sh man /usr/local/bin/a2x ../doc/tor.1.in
a2x: ERROR: "xmllint" --nonet --noout --valid
"/Users/sjm217/w/tor/doc/tor.1.xml" returned non-zero exit status 4
==================================
You need a working asciidoc installed to be able to build the manpage.
...
}}}
This appears to be because even though the docbook DTD files are
installed, xmllint will not find them by default. To fix this, the
{{{XML_CATALOG_FILES}}} environment variable must be set to include
{{{/usr/local/etc/xml/catalog}}}.
The attached patch clarifies the error message.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6436>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs