/usr/bin/getopt executable, which package is it in ?

Darryl Miles darryl-mailinglists@netbauds.net
Sat Jul 1 20:32:00 GMT 2006


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 
pre-requisite package.

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
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).
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[3]: [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[3]: [faq/faq.html] Error 2 (ignored)



Darryl



--
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/



More information about the Cygwin mailing list