Hi Stefan,

On Fri, 01 Jun 2012 11:28:12 +0200
Stefan Hinz <stefan.h...@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
scripts.

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/

-- 
Gruß/Regards,
    Thomas Schraitle

---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscr...@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-h...@lists.oasis-open.org

Reply via email to