Csound Csound-dev Csound-tekno Search About

[Csnd-dev] trouble building a manual

Date2024-04-28 21:12
FromJohn ff
Subject[Csnd-dev] trouble building a manual
trying to build a local manual I get errors I do not understand.  In
particular


rm -rf html
Remember to use the html-dist target for distribution!
mkdir -p html
xsltproc  --xinclude -o html/ xsl/customXHTMLchunk.xsl manual.xml
warning: failed to load external entity "examples-xml/filelen.csd.xml"
manual.xml:55: element include: XInclude error : could not load examples-xml/filelen.csd.xml, and no fallback was found
warning: failed to load external entity "examples-xml/gen49.csd.xml"
manual.xml:97: element include: XInclude error : could not load examples-xml/gen49.csd.xml, and no fallback was found
make[1]: *** [Makefile:706: html] Error 6
make[1]: Leaving directory '/home/jpff/cs7/manual'
make: *** [Makefile:719: html-dist] Error 2

What have I missed?

==John ffitch

Date2024-04-30 20:26
FromKelly Hirai
SubjectRe: [Csnd-dev] trouble building a manual
on gentoo i have docbook installed and use the following base path:

XSL_BASE_PATH=/usr/share/sgml/docbook/xsl-stylesheets/ make -j8 html

seems to be working from a fresh pull on the default branch over here.

here's a hint on how xsl/customXHTMLchunk.xsl is created from that process:

sed -e 's|@xsl_base_path@|/usr/share/sgml/docbook/xsl-stylesheets/|' 
xsl/customXHTMLchunk.xsl.in > xsl/customXHTMLchunk.xsl


k.

On 4/28/24 4:12 PM, John ff wrote:
> trying to build a local manual I get errors I do not understand.  In
> particular
> 
> 
> rm -rf html
> Remember to use the html-dist target for distribution!
> mkdir -p html
> xsltproc  --xinclude -o html/ xsl/customXHTMLchunk.xsl manual.xml
> warning: failed to load external entity "examples-xml/filelen.csd.xml"
> manual.xml:55: element include: XInclude error : could not load examples-xml/filelen.csd.xml, and no fallback was found
> warning: failed to load external entity "examples-xml/gen49.csd.xml"
> manual.xml:97: element include: XInclude error : could not load examples-xml/gen49.csd.xml, and no fallback was found
> make[1]: *** [Makefile:706: html] Error 6
> make[1]: Leaving directory '/home/jpff/cs7/manual'
> make: *** [Makefile:719: html-dist] Error 2
> 
> What have I missed?
> 
> ==John ffitch

-- 
kelly hirai
https://hiraimusic.net/~khirai