This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: libwrap missing on configure of OpenSSH


Gerrit,

I appreciate your help ...


> Somehow your installation is messed up.

deleted everything
re-downloaded all tarballs and all source
re-installed
regenerated passwd / group
checked env vars
rebuilt tcp_wrappers
success
libwrap.a in /usr/lib
tcpd.h in /usr/include

rebuilt openssl
success

openssh --with-tcp-wrappers

checking for vis.h... no
checking for GLOB_ALTDIRFUNC support... yes
checking for gl_matchc field in glob_t... no
checking whether struct dirent allocates space for d_name... yes
checking for libwrap... configure: error: *** libwrap missing

back to square one !!!

No other cygwin1.dll's at all.

cleaned up the path so there's nothing but the cygwin dirs now.
/usr/bin /bin /sbin etc
still no joy

Is this a problem of not finding libwrap.a or is there something
wrong in the configure test?

What is it the configure looks for in this:

# Check whether user wants TCP wrappers support
TCPW_MSG="no"
# Check whether --with-tcp-wrappers or --without-tcp-wrappers was given.
if test "${with_tcp_wrappers+set}" = set; then
  withval="$with_tcp_wrappers"

                if test "x$withval" != "xno" ; then
                        saved_LIBS="$LIBS"
                        LIBS="-lwrap $LIBS"
                        echo $ac_n "checking for libwrap""... $ac_c" 1>&6
echo "configure:3176: checking for libwrap" >&5
                        cat > conftest.$ac_ext <<EOF
#line 3178 "configure"
#include "confdefs.h"

#include <tcpd.h>
                                      int deny_severity = 0, allow_severity =0;

int main() {
hosts_access(0);
; return 0; }

what I don't understand is this worked a treat with previous versions of openssh.

Thanks again 

Lawrence

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]