Opened 9 years ago

Closed 9 years ago

Last modified 7 months ago

#1524 closed defect (fixed)

Latest git source version won't compile on NetBSD 5_Stable

Reported by: yancm Owned by:
Priority: Medium Milestone:
Component: Core Tor/Tor Version:
Severity: Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

The latest git version fails on compile.

Message:
Making all in spec
../doc/asciidoc-helper.sh man /usr/pkg/bin/a2x ../doc/tor.1.in
a2x: failed: enhanced getopt(1) required
==================================

a2x is installed, but some required docbook support files are
missing. Please install docbook-xsl, docbook-xml, and
libxml2-utils (Debian) or similar.

==================================
* Error code 1
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

the docbook files are intalled, but I do not have
access to libxml2-utils.

This is a non-standard package, so should not be required to
compile.

--gene

Child Tickets

Change History (6)

comment:1 Changed 9 years ago by Sebastian

Use the --disable-asciidoc switch to compile without asciidoc. That means you don't get the manpages, though.

comment:2 Changed 9 years ago by nickm

Resolution: fixed
Status: newclosed

Hm. I've updated the asciidoc-helper.sh behavior here to give a (hopefully) (even) more useful error message than before. The old one suggested a possible fix that wasn't right for everybody, and didn't say why you should care. The new one says:

==================================
You need a working asciidoc installed to be able to build the manpage.

a2x is installed, but for some reason it isn't working. Sometimes
This happens because required docbook support files are missing.
Please install docbook-xsl, docbook-xml, and libxml2-utils (Debian) or
similar.

Alternatively, to build without manpages, use the --disable-asciidoc
argument when calling configure.
==================================

comment:3 Changed 9 years ago by yancm

Since this ticket is closed, perhaps it's too late to add a comment, but...

In my case I have all suggested utilities installed except the Debian package
"or similar". Is there a similar package? What is it? Where can I get a
cross platform source package of it?

I realize I'm being nitpicky, but this is a workaround and not a fix.

I'll do some additional Googling and see if I can find the "or similar"
package. I downloaded the Debian package, but haven;t figured out
if there is any way to get it working on NetBSD.

comment:4 in reply to:  3 Changed 9 years ago by nickm

Replying to yancm:

Since this ticket is closed, perhaps it's too late to add a comment, but...

It's never too late; if you can come up with some way to make those instructions better for you, please let us know what they should say.

I'm sorry that they're vague, but frankly, I don't know what the prerequisites for asciidoc and docbook are on your operating system, or whether NetBSD ports has them, or what they're called if so. Checking out the asciidoc setup instructions could be a place to start.

comment:5 Changed 9 years ago by yancm

Is it possible to check versions of asciidoc?

After some mucking, I fount that updating from asciidoc 8.3.3 ---> 8.5.3 solved the issue. One caveat is that the later version of asciidoc required an update to python (2.6 versus previous 2.5?) as well, so I cannot be certain if the asciidoc update or the python update allowed the tor compile to complete.

comment:6 Changed 7 years ago by nickm

Component: Tor ClientTor
Note: See TracTickets for help on using tickets.