[Samba] Samba 3.2.0: Unable make document Help

John H Terpstra jht at samba.org
Thu Jul 31 15:18:45 GMT 2008


On Thursday 31 July 2008 09:12:01 Karolin Seeger wrote:
> Hi Oota,
>
> On Thu, Jul 31, 2008 at 08:26:25PM +0900, oota at mail.linux.bs1.fc.nec.co.jp 
wrote:
> > xsltproc --output output/manpages-3/eventlogadm.8 xslt/man.xsl
> > tmp/manpages-3/eventlogadm.8.xml runtime error: file xslt/man.xsl line 41
> > element if
> > unregistered variable list-indent
> > xmlXPathCompOpEval: parameter error
> > xmlXPathCompiledEval: evaluation failed
> > make: *** [output/manpages-3/eventlogadm.8] Error 10
>
> It looks like the package "docbook-xsl-stylesheets" is missing on your
> system.
>
> Please make sure that the following packages are installed:
> dblatex, docbook, docbook-xml-website, docbook-xsl-stylesheets
>
> Package names may vary depending on the operating system.
>
> Does it work for you after that?
>
> Karolin

I added docbook-xml-website. Here are some of the packages I now have 
installed:

jht at merlin:~/Documents/docs-xml> rpm -qa | grep docbook
docbook-xsl-stylesheets-1.73.1-9
docbook-xml-website-2.5.0-129
docbook_4-4.5-42
docbook-dsssl-stylesheets-1.79-81
docbook2x-0.8.8-22
docbook_3-3.1-676

jht at merlin:~/Documents/docs-xml> rpm -qa | grep latex
texlive-bin-latex-2007-68.3
texlive-latex-2007-69
latex2html-2002.2.1-478
dblatex-0.2.7-3.7
latex2html-pngicons-2002.2.1-478

jht at merlin:~/Documents/docs-xml> rpm -qa | grep xml
libxml2-python-2.6.30-4.2
xml-commons-resolver-bootstrap-1.1-125
libxml++-devel-2.20.0-4
libxml2-2.6.30-4.2
python-lxml-1.3.4-8
docbook-xml-website-2.5.0-129
xml-commons-1.3.02-128
xml-commons-which-1.3.02-128
xml-commons-which-bootstrap-1.0.b2-117
libxml++-2.20.0-4
xmltex-2007.8.1-23
libxml2-devel-32bit-2.6.30-4.2
python-xml-2.5.1-39.2
xerces-j2-xml-apis-2.8.1-85
xerces-j2-xml-resolver-2.8.1-85
libxml2-32bit-2.6.30-4.2
perl-libxml-perl-0.08-73
xmlcharent-0.3-335
php5-xmlwriter-5.2.6-30.6
yast2-xml-2.15.0-54
xmlto-0.0.18-108
pyxml-0.8.4-103
xml-commons-apis-bootstrap-1.3-117
libxml2-devel-2.6.30-4.2
php5-xmlreader-5.2.6-30.6
python-xmldiff-0.6.8-85

Does not work. Same problem. So, I tried going to docbook5 ...

Update to docbook5 stuff:
====================

Deleting svg-schema
Deleting emacs-auctex
Deleting xslide
Deleting fop
Deleting docbook-xml-website
Deleting xmlto

Added packages:
----------------------
dbsplit-tools
docbook-css-stylesheets
docbook-simple
docbook_5
jadetex
docbook-toy
docbook5-xsl-stylesheets
docbook-utils

After updating to docbook5 here is my package list:

jht at merlin:~> rpm -qa | grep docbook
docbook-toys-1.51.0-344
docbook-utils-0.6.14-143
docbook_4-4.5-42
docbook_5-5.0CR4-27
docbook-dsssl-stylesheets-1.79-81
docbook2x-0.8.8-22
docbook-css-stylesheets-0.4-75
docbook5-xsl-stylesheets-1.73.1-10
docbook_3-3.1-676
docbook-simple-1.0-241


Still does not work. Same error.

jht at merlin:~/Documents/docs-xml> make pdf
pdflatex --file-line-error-style --interaction nonstopmode 
Samba3-ByExample.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
 file:line:error style messages enabled.
entering extended mode
(./Samba3-ByExample.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, 
noh
yphenation, basque, bulgarian, coptic, welsh, czech, slovak, german, ngerman, 
d
anish, esperanto, spanish, catalan, galician, estonian, finnish, french, 
greek,
 monogreek, ancientgreek, croatian, hungarian, interlingua, ibycus, 
indonesian,
 icelandic, italian, latin, mongolian, dutch, norsk, polish, portuguese, 
pinyin
, romanian, russian, slovenian, uppersorbian, serbian, swedish, turkish, 
ukengl
ish, ukrainian, loaded.
(xslt/latex/sambadoc.cls
Document Class: sambadoc 2005/06/13 Samba Documentation class
(/usr/share/texmf/tex/latex/base/report.cls
Document Class: report 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size11.clo))
(/usr/share/texmf/tex/latex/fancyhdr/fancyhdr.sty)
(/usr/share/texmf/tex/latex/listings/listings.sty
(/usr/share/texmf/tex/latex/graphics/keyval.sty)
(/usr/share/texmf/tex/latex/listings/lstpatch.sty)
(/usr/share/texmf/tex/latex/listings/lstmisc.sty)
(/usr/share/texmf/tex/latex/listings/listings.cfg))
(/usr/share/texmf/tex/latex/xcolor/xcolor.sty
(/usr/share/texmf/tex/latex/config/color.cfg)
(/usr/share/texmf/tex/latex/pdftex-def/pdftex.def)))
(/usr/share/texmf/tex/latex/base/ifthen.sty)
(/usr/share/texmf/tex/latex/graphics/graphicx.sty
(/usr/share/texmf/tex/latex/graphics/graphics.sty
(/usr/share/texmf/tex/latex/graphics/trig.sty)
(/usr/share/texmf/tex/latex/config/graphics.cfg)))
(/usr/share/texmf/tex/latex/base/latexsym.sty)
(/usr/share/texmf/tex/latex/tools/enumerate.sty)
(/usr/share/texmf/tex/latex/fancybox/fancybox.sty
Style option: `fancybox' v1.3 <2000/09/19> (tvz)
) (/usr/share/texmf/tex/latex/float/float.sty)

! LaTeX Error: File `ragged2e.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name:
./Samba3-ByExample.tex:52: Emergency stop.
<read *>

l.52 \usepackage
                {fancyvrb}^^M
./Samba3-ByExample.tex:52:  ==> Fatal error occurred, no output PDF file 
produc
ed!
Transcript written on Samba3-ByExample.log.
make: [Samba3-ByExample.idx] Error 1 (ignored)
makeindex Samba3-ByExample.idx
Input index file Samba3-ByExample.idx not found.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 
idx1 ...]
make: *** [Samba3-ByExample.ind] Error 1                                 


This is badly borken rocket science!  It's way too complicated to build the 
docs this way.  We have to find a method that works reliably on standard 
build Linux systems. Argh!

Over the next few days I will install OpenSUSE 11.0 on a new system.  Then I 
will have another go at getting this to work.  If that fails, I'll import all 
the docbook material into OpenOffice and convert from this awful mess to 
something that anyone can update.  Why should I be the only one who  
maintains the Samba docs?  The few volunteers I have had bailed out because 
they could not get anywhere with our XML sources. I understand why now.

Thanks for your help.

- John T.


More information about the samba mailing list