[Libguestfs] ANNOUNCE: libguestfs 1.26 released

Olaf Hering olaf at aepfle.de
Fri Mar 28 09:00:49 UTC 2014


On Fri, Mar 28, Richard W.M. Jones wrote:

> I'd say this is a gnulib problem, although why gnulib has decided to
> use replacement functions is a mystery.  My understanding is that
> getopt_long is part of glibc, so gnulib shouldn't need to replace it.
> Did ./configure output mention getopt*?  If there is a config.cache
> file, can you delete it and run ./configure again.

Its always a clean build:

...
[   12s] + CFLAGS='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wno-unused'
[   12s] + export CFLAGS
[   12s] + CXXFLAGS='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -Wno-unused'
[   12s] + export CXXFLAGS
[   12s] + FFLAGS='-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables'
[   12s] + export FFLAGS
[   12s] + ./configure --host=x86_64-suse-linux-gnu --build=x86_64-suse-linux-gnu --target=x86_64-suse-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib64 --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --docdir=/usr/share/doc/packages/libguestfs --enable-daemon --enable-install-daemon --with-qemu=/usr/bin/qemu-kvm --without-java --enable-appliance '--with-supermin-packager-config=/usr/src/packages/BUILD/libguestfs-1.26.0/zypper.priv.conf --use-installed --verbose' --disable-haskell --disable-php --enable-fuse --enable-lua --enable-ocaml --enable-perl --enable-python --disable-ruby --disable-rpath --disable-static
...
[   14s] checking for netinet/in.h... yes
[   14s] checking getopt.h usability... yes
[   14s] checking getopt.h presence... yes
[   14s] checking for getopt.h... yes
[   14s] checking sys/time.h usability... yes
...
[   22s] checking whether getlogin is declared... yes
[   22s] checking for getopt.h... (cached) yes
[   22s] checking for getopt_long_only... yes
[   22s] checking whether getopt is POSIX compatible... yes
[   22s] checking for working GNU getopt function... no
[   22s] checking whether getenv is declared... yes
...

Does your build have "working GNU getopt function... yes"?

Olaf




More information about the Libguestfs mailing list