<<< Date Index >>>     <<< Thread Index >>>

Re: Make of docs and other stuff



Brian Salter-Duke wrote:
> I have some comments from the 1.5.15 build. As I found years ago the main
> problems are in the make in the doc directory. This is amazingingly
> complex, at least to me. It uses tools I have not meet before and I had
> to download them from the cygwin site. It failed with:-
> 
> make[2]: Entering directory `/home/Brian/prog/mutt-1.5.15/doc'
> make makedoc-all
> make[3]: Entering directory `/home/Brian/prog/mutt-1.5.15/doc'
> sed -e 's,@sysconfdir\@,/usr/local/etc,g' -e 's,@bindir\@,/usr/local/bin,g' 
>       -e 's,@docdir\@,/usr/local/doc/mutt,g' ./mutt.man> mutt.1
> gcc -E -I. -I.. -I/usr/local/include -I.. -DSYSCONFDIR=\"/usr/local/etc\" 
>       -DBINDIR=\"/usr/local/bin\" -DHAVE_CONFIG_H=1 -I../intl -D_MAKEDOC 
>       -C ../init.h | ../makedoc -m |      \
>               cat ./muttrc.man.head - ./muttrc.man.tail\
>               > muttrc.man
> make -j1 ../makedoc.exe # we do not want to rebuild the documentation in 
>       tarball builds
> make[4]: Entering directory `/home/Brian/prog/mutt-1.5.15/doc'
> make[4]: `../makedoc.exe' is up to date.
> make[4]: Leaving directory `/home/Brian/prog/mutt-1.5.15/doc'
> ( date=`head -n 1 ../ChangeLog | LC_ALL=C cut -d ' ' -f 1` && \
>         sed -e "s/@VERSION\@/`cat ../VERSION` ($date)/" ./manual.xml.head && \
>         gcc -E -I. -I.. -I/usr/local/include -I.. 
>       -DSYSCONFDIR=\"/usr/local/etc\" -DBINDIR=\"/usr/local/bin\" 
>       -DHAVE_CONFIG_H=1 -I../intl -D_MAKEDOC -C ../init.h | ../makedoc 
>       -s && \
>         gcc -E -I. -I.. -I/usr/local/include -I.. 
>       -DSYSCONFDIR=\"/usr/local/etc\" -DBINDIR=\"/usr/local/bin\" 
>       -DHAVE_CONFIG_H=1 -I../intl -D_MAKEDOC -C ../functions.h | \
>           perl ./gen-map-doc ./manual.xml.tail ../OPS* \
>       )> manual.xml
> touch stamp-doc-xml
> xsltproc --nonet ./chunk.xsl manual.xml
> I/O error : Attempt to load network entity 
>       http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl
> warning: failed to load external entity 
>       "http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl";
> compilation error: file ./chunk.xsl line 3 element import
> xsl:import : unable to load 
>       http://docbook.sourceforge.net/release/xsl/current/xhtml/chunk.xsl
> make[3]: [stamp-doc-chunked] Error 5 (ignored)
> touch stamp-doc-chunked
> xsltproc --nonet -o manual.html ./html.xsl manual.xml
> I/O error : Attempt to load network entity 
>       http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl
> warning: failed to load external entity 
>       "http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl";
> compilation error: file ./html.xsl line 3 element import
> xsl:import : unable to load 
>       http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl
> make[3]: [manual.html] Error 5 (ignored)
> lynx -dump -nolist -with_backspaces manual.html> manual.txt || 
>       w3m -dump manual.html> manual.txt
> 
> It then quit. I have added some <newline><tab> to make it clearer. So:
> 
> 1. Why does it have to get this stuff from the internet and why is it
> failing to do so? I have a reliable broadband access.

I ran into this on linux and I believe it's due to not having the
docbook-xsl stylesheets[1] installed.  I added those, as well as
libxslt and the docs built fine.  I have no idea if adding those to
cygwin is a simple task or not.

[1] http://wiki.docbook.org/topic/DocBookXslStylesheets

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
======================================================================
The only difference between the saint and the sinner is that every
saint has a past and every sinner has a future.
    -- Oscar Wilde

Attachment: pgpz8p13fXZbY.pgp
Description: PGP signature