Bug#244659: Build fails with "checking for libwrap... configure: error: *** libwrap missing"
Package: ssh
Version: 1:3.8p1-3
On an unstable/experimental system I did the following to build ssh:
apt-get build-dep ssh
apt-get source ssh
cd openssh-3.8p1
dpkg-buildpackage
The build fails with:
[...]
checking whether struct dirent allocates space for d_name... yes
checking for libwrap... configure: error: *** libwrap missing
libwrap0 and libwrap0-dev (both 7.6.dbs-1) are installed. The libwrap test
seems to fail because __BEGIN_DECLS, __END_DECLS and FILE are not declared
in tcpd.h, adding
#include <stdio.h>
right before
#include <tcpd.h>
in configure.ac and configure fixes the build and .ac file for me. I'm not
sure if that's a good fix, though (wouldn't configure have to check for
stdio.h, too, then?).
--
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/info
Reply to: