OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: Re: [docbook-apps] 1.77.0 bug with index building?

Hi Stefan,

On Fri, 01 Jun 2012 11:28:12 +0200
Stefan Hinz <stefan.hinz@oracle.com> wrote:

> We're building customized XHTML output for OTN (Oracle Technology 
> Network), for many books. Using the 1.76.1 style sheets, all works
> fine, but switching to the 1.77.0 style sheets gives an error like
> this:
> XML_CATALOG_FILES="../../../mysqldoc-toolset//catalog.xml 
> ../../../mysqldoc-toolset/xsl.d/docbook-xsl-1.77.0/catalog.xml"
> xsltproc --xinclude --novalid  \
>          --stringparam l10n.gentext.default.language en \
>          --stringparam html.stylesheet "mysql-html.css" \
>          --stringparam generate.toc "book toc,title" \
>          --param chunk.section.depth 1 \
>          --output user.xhtml-otn-tmp/ \
>          ../../../mysqldoc-toolset/xsl.d/mysql-xhtml-otn.xsl \
>          user-prepped.xml
> ../../../mysqldoc-toolset/tools/add-index-navlinks.pl 
> user.xhtml-otn-tmp/*.html
> Cannot find top of index 0, file user.xhtml-otn-tmp/ix01.html
> make: *** [user.xhtml-otn] Fehler 25 (German for "error 25")

I've searched for the string "Cannot find top" in the stylesheets and
couldn't find it. I even grepped the complete SVN repository with the
same result. So I guess it might be somewhere in your Makefiles or Perl

To debug it further, grep/search for this string in your build
mechanics. Maybe you can locate it there. Another option could be to
try remake[1] instead of make. It's an "improved error reporting,
tracing, and a debugger for make". Frank, my colleague, uses it to
debug his Makefiles. The output is a bit... challenging to read, but it
could give you some important hints.

Hope this helps. :)

[1] http://bashdb.sourceforge.net/remake/

    Thomas Schraitle

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]