ssh with tcp wrappers support

ssh with tcp wrappers support

Post by hegemon.. » Tue, 30 Jan 2001 07:09:08



I'm trying to install openssh 2.3.0 with tcp wrappers support, however,
when I run ./configure --with-tcp-wrappers I get a configure error:
configure error:  *** libwrap missing.

I've already installed tcp wrappers and libwrap.a exists.  How can I
tell configure where to find libwrap?

Thanks

Sent via Deja.com
http://www.deja.com/

 
 
 

ssh with tcp wrappers support

Post by dmuhr.. » Tue, 30 Jan 2001 08:26:11




> I'm trying to install openssh 2.3.0 with tcp wrappers support, however,
> when I run ./configure --with-tcp-wrappers I get a configure error:
> configure error:  *** libwrap missing.

> I've already installed tcp wrappers and libwrap.a exists.  How can I
> tell configure where to find libwrap?

> Thanks

> Sent via Deja.com
> http://www.deja.com/

You need to put tcpd.h into /usr/include or /usr/local/include depending
where you put libwrap.a.

Dave

Sent via Deja.com
http://www.deja.com/

 
 
 

ssh with tcp wrappers support

Post by Logan Sh » Tue, 30 Jan 2001 08:53:58



>I'm trying to install openssh 2.3.0 with tcp wrappers support, however,
>when I run ./configure --with-tcp-wrappers I get a configure error:
>configure error:  *** libwrap missing.

>I've already installed tcp wrappers and libwrap.a exists.  How can I
>tell configure where to find libwrap?

I haven't tried it with openssh, but usually with configure it works
something like this:

        $ CFLAGS='-I/usr/local/libwrap/include'
        $ export CFLAGS
        $ LDFLAGS='-L/usr/local/libwrap/lib'
        $ export LDFLAGS
        $ ./configure --with-tcp-wrappers

Sometimes it also works to do

        $ ./configure --with-tcp-wrappers=/usr/local/libwrap

If none of that works, I usually trick the configure script into
doing the right thing.  I do this by lying to it about what the compiler
is called.  That is, instead of this:

        $ CC=gcc
        $ export CC
        $ ./configure

I do something like this:

        $ CC='gcc -I/usr/local/libwrap/include -L/usr/local/libwrap/lib'
        $ export CC
        $ ./configure

That way, as long as the Makefile runs $(CC) whenever it needs to
compile or link, it will be able to find what it needs.  (For some
reason, some developers feel compelled to make their Makefiles and
configure scripts override settings of LDFLAGS and CFLAGS with stuff
that doesn't work in many cases, so sometimes this is the only way.)

  - Logan

 
 
 

ssh with tcp wrappers support

Post by hegemon.. » Wed, 31 Jan 2001 04:46:18




> I'm trying to install openssh 2.3.0 with tcp wrappers support,
however,
> when I run ./configure --with-tcp-wrappers I get a configure error:
> configure error:  *** libwrap missing.

> I've already installed tcp wrappers and libwrap.a exists.  How can I
> tell configure where to find libwrap?

> Thanks

> Sent via Deja.com
> http://www.deja.com/

Thanks all, I got it working.  I changed the config file to add the
path to where I'd made tcp wrappers to CFLAGS and LDFLAGS before it
tested for libwrap.

Sent via Deja.com
http://www.deja.com/