Subject: Re: Cygwin build documentation error.
From: "Aaron Gray" <[email-masked]>
To: <[email-masked]>
Cc: "GCC Mailing List" <[email-masked]>
Date: Tue, 1 May 2007 05:30:26 +0100
List-Id: <cygwin.cygwin.com>

> Aaron Gray wrote:
>
>> I am getting errors on building Cygwin. It appears to be something to do
>> with the documentation.
>>
>> Am I missing something simple such as a package like cygwin-doc and if so
>> where do I get it ?
>>
>> Error text below...
>>
>> Many thanks in advance,
>> [...]
> `/usr/build/cygwin/i686-pc-cygwin/winsup/doc'
>> gcc -g /usr/src/src/winsup/doc/doctool.c -o doctool
>> ./doctool -m -d /usr/src/src/winsup/doc -d /usr/src/src/winsup/utils -d
>> /usr/src/src/winsup/cygwin -s /usr/src/src/winsup/doc -o 
>> cygwin-ug-net.sgml
>> /usr/src/src/winsup/doc/cygwin-ug-net.in.sgml
>> xmlto html -o cygwin-ug-net/ -m /usr/src/src/winsup/doc/cygwin.dsl
>> cygwin-ug-net.sgml
>> usage: xmlto [OPTION]... FORMAT XML
>
>
> This should go to the Cygwin list.  You're building in winsup, which is
> not part of gcc, so this is totally off topic.
>
> The answer is that you probably have a missing package, or maybe a
> non-Cygwin/native version of xmlto in your PATH, but we don't know.
> Send your cygcheck output as directed in cygwin.com/problems.html.
>
> Brian

I have appended the cygcheck output as an attachment. And append the build 
error output ...

Many thanks in advance,

Aaron

make[3]: Entering directory `/usr/build/cygwin/i686-pc-cygwin/winsup/doc'
gcc -g /usr/src/src/winsup/doc/doctool.c -o doctool
./doctool -m -d /usr/src/src/winsup/doc -d /usr/src/src/winsup/utils -d 
/usr/src/src/winsup/cygwin -s /usr/src/src/winsup/doc -o cygwin-ug-net.sgml 
/usr/src/src/winsup/doc/cygwin-ug-net.in.sgml
xmlto html -o cygwin-ug-net/ -m /usr/src/src/winsup/doc/cygwin.dsl 
cygwin-ug-net.sgml
usage: xmlto [OPTION]... FORMAT XML
OPTIONs are:
  -v              verbose output (-vv for very verbose)
  -x stylesheet   use the specified stylesheet instead of choosing one
  -m fragment     use the XSL fragment to customize the stylesheet
  -o directory    put output in the specified directory instead of
                  the current working directory
  -p postprocopts pass option to postprocessor
  --extensions    turn on stylesheet extensions for this tool chain
  --searchpath    colon-separated list of fallback directories
  --skip-validation
                  do not attempt to validate the input before processing

Available FORMATs depend on the type of the XML file (which is
determined automatically).

For documents of type "docbook":
fo
html
html-nochunks
htmlhelp
javahelp
man
txt
xhtml
xhtml-nochunks
xmlto html-nochunks -m /usr/src/src/winsup/doc/cygwin.dsl cygwin-ug-net.sgml
usage: xmlto [OPTION]... FORMAT XML
OPTIONs are:
  -v              verbose output (-vv for very verbose)
  -x stylesheet   use the specified stylesheet instead of choosing one
  -m fragment     use the XSL fragment to customize the stylesheet
  -o directory    put output in the specified directory instead of
                  the current working directory
  -p postprocopts pass option to postprocessor
  --extensions    turn on stylesheet extensions for this tool chain
  --searchpath    colon-separated list of fallback directories
  --skip-validation
                  do not attempt to validate the input before processing

Available FORMATs depend on the type of the XML file (which is
determined automatically).

For documents of type "docbook":
fo
html
html-nochunks
htmlhelp
javahelp
man
txt
xhtml
xhtml-nochunks
cp cygwin-ug-net.html cygwin-ug-net/cygwin-ug-net-nochunks.html
rm -f cygwin-ug-net/cygwin-ug-net-nochunks.html.gz
gzip cygwin-ug-net/cygwin-ug-net-nochunks.html
./doctool -m -d /usr/src/src/winsup/doc -d /usr/src/src/winsup/utils -d 
/usr/src/src/winsup/cygwin -s /usr/src/src/winsup/doc -o cygwin-api.sgml 
/usr/src/src/winsup/doc/cygwin-api.in.sgml
xmlto html -o cygwin-api/ -m /usr/src/src/winsup/doc/cygwin.dsl 
cygwin-api.sgml
usage: xmlto [OPTION]... FORMAT XML
OPTIONs are:
  -v              verbose output (-vv for very verbose)
  -x stylesheet   use the specified stylesheet instead of choosing one
  -m fragment     use the XSL fragment to customize the stylesheet
  -o directory    put output in the specified directory instead of
                  the current working directory
  -p postprocopts pass option to postprocessor
  --extensions    turn on stylesheet extensions for this tool chain
  --searchpath    colon-separated list of fallback directories
  --skip-validation
                  do not attempt to validate the input before processing

Available FORMATs depend on the type of the XML file (which is
determined automatically).

For documents of type "docbook":
fo
html
html-nochunks
htmlhelp
javahelp
man
txt
xhtml
xhtml-nochunks
xmlto html -o faq -m /usr/src/src/winsup/doc/cygwin.dsl 
/usr/src/src/winsup/doc/faq-sections.xml
usage: xmlto [OPTION]... FORMAT XML
OPTIONs are:
  -v              verbose output (-vv for very verbose)
  -x stylesheet   use the specified stylesheet instead of choosing one
  -m fragment     use the XSL fragment to customize the stylesheet
  -o directory    put output in the specified directory instead of
                  the current working directory
  -p postprocopts pass option to postprocessor
  --extensions    turn on stylesheet extensions for this tool chain
  --searchpath    colon-separated list of fallback directories
  --skip-validation
                  do not attempt to validate the input before processing

Available FORMATs depend on the type of the XML file (which is
determined automatically).

For documents of type "docbook":
fo
html
html-nochunks
htmlhelp
javahelp
man
txt
xhtml
xhtml-nochunks
sed -i 's;</a><a name="id[0-9]*"></a>;</a>;g' faq/faq.*.html
xmlto html -o faq -m /usr/src/src/winsup/doc/cygwin.dsl 
/usr/src/src/winsup/doc/faq.xml
usage: xmlto [OPTION]... FORMAT XML
OPTIONs are:
  -v              verbose output (-vv for very verbose)
  -x stylesheet   use the specified stylesheet instead of choosing one
  -m fragment     use the XSL fragment to customize the stylesheet
  -o directory    put output in the specified directory instead of
                  the current working directory
  -p postprocopts pass option to postprocessor
  --extensions    turn on stylesheet extensions for this tool chain
  --searchpath    colon-separated list of fallback directories
  --skip-validation
                  do not attempt to validate the input before processing

Available FORMATs depend on the type of the XML file (which is
determined automatically).

For documents of type "docbook":
fo
html
html-nochunks
htmlhelp
javahelp
man
txt
xhtml
xhtml-nochunks
sed -i 's;</a><a name="id[0-9]*"></a>;</a>;g' faq/faq-nochunks.html
make[3]: Leaving directory `/usr/build/cygwin/i686-pc-cygwin/winsup/doc'
make[2]: Leaving directory `/usr/build/cygwin/i686-pc-cygwin/winsup'
make[1]: Leaving directory `/usr/build/cygwin'
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/