[xsl] xsltproc Parse Error

Subject: [xsl] xsltproc Parse Error
From: Chris Share <cpsmusic@xxxxxxxxx>
Date: Tue, 5 Aug 2008 19:01:48 -0700 (PDT)
Hi,

I'm having problems building GTK+ for OSX (see http://developer.imendio.com/projects/gtk-macosx/build-instructions).

I'm using Mac OS 10.4.11.

When I do the 

jhbuild build meta-gtk-osx-bootstrap

I get the following errors:

*** Building gtk-doc *** [4/13]
make  
Making all in help
Making all in manual
Unknown option: n
Usage: head [-options] <url>...
    -m <method>   use method for the request (default is 'HEAD')
    -f            make request even if head believes method is illegal
    -b <base>     Use the specified URL as base
    -t <timeout>  Set timeout value
    -i <time>     Set the If-Modified-Since header on the request
    -c <conttype> use this content-type for POST, PUT, CHECKIN
    -a            Use text mode for content I/O
    -p <proxyurl> use this as a proxy
    -P            don't load proxy settings from environment
    -H <header>   send this HTTP header (you can specify several)
    -C <username>:<password>
                  provide credentials for basic authentication

    -u            Display method and URL before any response
    -U            Display request headers (implies -u)
    -s            Display response status code
    -S            Display response status chain
    -e            Display response headers
    -d            Do not display content
    -o <format>   Process HTML content in various ways

    -v            Show program version
    -h            Print this message

    -x            Extra debugging output
xsltproc -o gtk-doc-manual-C.omf --stringparam db2omf.basename gtk-doc-manual --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd  --stringparam db2omf.lang C --stringparam db2omf.omf_dir "/Users/christophershare/gtk/inst/share/omf" --stringparam db2omf.help_dir "/Users/christophershare/gtk/inst/share/gnome/help" --stringparam db2omf.omf_in "/Users/christophershare/gtk/source/gtk-doc/help/manual/gtk-doc-manual.omf.in"  `/Users/christophershare/gtk/inst/bin/pkg-config --variable db2omf gnome-doc-utils` C/gtk-doc-manual.xml || { rm -f "gtk-doc-manual-C.omf"; exit 1; }
warning: failed to load external entity "db2omf.lang"
cannot parse db2omf.lang
make[2]: *** [gtk-doc-manual-C.omf] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
*** error during stage build of gtk-doc: ########## Error running make   *** [4/13]

I suspect this is a problem with xsltproc (?) however I'm not sure how to fix it.

Any help would be appreciated.
Here's the results of the command xsltproc -V:

Using libxml 20616, libxslt 10111 and libexslt 809
xsltproc was compiled against libxml 20616, libxslt 10111 and libexslt 809
libxslt 10111 was compiled against libxml 20616
libexslt 809 was compiled against libxml 20616

Cheers,

Chris

Current Thread