[xml/sgml-pkgs] Bug#422328: /usr/bin/xmlto: line 164: getopt: command not found

Edward Cherlin echerlin at gmail.com
Sat May 5 07:18:40 UTC 2007

Package: xmlto
Version: 0.0.18s5.1

In building Sugar from One Laptop Per Child
(http://dev.laptop.org/Sugar_on_Debian) I am unable to build dbus
because of a failure in xmlto.

sugar-jhbuild buildone dbus

Make gives the following message:

make[2]: Entering directory `/home/mokurai/dev/sugar-jhbuild/source/dbus/doc'
/usr/bin/xmlto html-nochunks dbus-specification.xml
/usr/bin/xmlto: line 164: getopt: command not found

xmlto says

GETOPT=getopt # a getopt that supports --longoptions
# Process any options
	--longoptions=help,version,extensions,searchpath:,skip-validation \
	-n xmlto -- x:m:o:p:v "$@")

As far as I can tell, there is no command-line getopt in Debian.
Edward Cherlin
Earth Treasury: End Poverty at a Profit
WIRE AFRICA  http//www.wireafrica.org/

More information about the debian-xml-sgml-pkgs mailing list