This is the mail archive of the
mailing list for the Cygwin project.
/usr/bin/getopt executable, which package is it in ?
- From: Darryl Miles <darryl-mailinglists at netbauds dot net>
- To: cygwin at cygwin dot com
- Date: Sat, 01 Jul 2006 21:31:57 +0100
- Subject: /usr/bin/getopt executable, which package is it in ?
CVS cygwin build of winsup module uses xmlto that uses getopt executable.
Bash has a builtin implementation of getopt. But the 'xmlto' tool which
is used to build CYGWIN winsup module is expecting to be able to run an
application version of getopt. There does not appear to be a package
called 'getopt' so maybe this tool is hidden away inside another CYGWIN
package. Does anyone know what package that is called, maybe the
website CVS build instructions can be updated to include that
The error looks something like this.
xmlto html -o faq -m /oss/src/winsup/doc/cygwin.dsl /oss/src/winsup/doc/faq-sections.xml
/usr/bin/xmlto: line 160: getopt: command not found
usage: xmlto [OPTION]... FORMAT XML
-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
do not attempt to validate the input before processing
Available FORMATs depend on the type of the XML file (which is
find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it). Please specify options before other arguments.
For documents of type "docbook":
fo html html-nochunks htmlhelp javahelp man txt xhtml xhtml-nochunks
make: [faq/faq.html] Error 1 (ignored)
sed -i 's;</a><a name="id[0-9]*"></a>;</a>;g' faq/faq.*.html
sed: can't read faq/faq.*.html: No such file or directory
make: [faq/faq.html] Error 2 (ignored)
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html