On 3 August 2010 11:56, Stuart Rackham <[email protected]> wrote: > > > On 29/07/10 10:53, Lex Trotman wrote: >> >> Hi Stuart, >> >> I tried to install asciidoc 8.5.3 from hg on a new Linux Mint 9. >> >> I got an error generating the manpages : python a2x.py -f manpage >> doc/asciidoc.1.txt >> >> a2x: ERROR: xsltproc --nonet --stringparam callout.graphics 0 >> --stringparam navig.graphics 0 --stringparam admon.textlabel 1 >> --stringparam admon.graphics 0 >> /home/lex/projects/asciidoc/asciidoc-8.5.3/docbook-xsl/manpage.xsl >> /home/lex/projects/asciidoc/asciidoc-8.5.3/doc/asciidoc.1.xml returned >> non-zero exit status 5 >> >> Exit status 5 is error in the stylesheet >> >> xsltproc version is >> >> xsltproc --version >> Using libxml 20706, libxslt 10126 and libexslt 815 >> xsltproc was compiled against libxml 20706, libxslt 10126 and libexslt 815 >> libxslt 10126 was compiled against libxml 20706 >> libexslt 815 was compiled against libxml 20706 > > I don't have an answer, could it be the same problem in this post (i.e. an > existing version on the system)? Probably not if it was a new system. > > http://groups.google.com/group/asciidoc/browse_thread/thread/e763d9cf7b6d3741/63df218a9ec293a3?lnk=gst&q=missing+configuration+file#63df218a9ec293a3 >
No it still fails now I've got an installed version. I ran the xsltproc command as printed by the a2x error message (see above) with -v and got the following errors. I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl" compilation error: file /usr/local/etc/asciidoc/docbook-xsl/manpage.xsl line 13 element import xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl Looks like the manpage.xsl is trying to load from the net, but xsltproc is being run with --nonet I can't see http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl in the distribution files, is it missing? Otherwise I don't see how the xsltproc could ever run with --nonet Cheers Lex > >> >> I have installed 8.5.3 from tarball ok instead, but I also noticed >> that the big green download button on sourceforge points to 8.5.2 not >> 8.5.3 > > I've no idea why that is, 8.5.3 is up there. > > > Cheers, Stuart > > >> >> Cheers >> Lex >> > > -- > You received this message because you are subscribed to the Google Groups > "asciidoc" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/asciidoc?hl=en. > > -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
