im trying to compile openssh 2.9.9p2 and 2.9p2 on solaris 2.6. i
have installed tcpwrappers as a packge for sunfreeware and by hand.
i have used multiple versions of gcc(packages), a full version
of sun's cc, with tcpwrappers 7.6. to configure im using:
./configure --with-cflags="-static" --with-tcp-wrappers --with-pam
--with-random=/dev/random
i have even put in -I/usr/local/include and -L/usr/local/lib (that
is where tcpd.h and libwrap.a live. they are readable by the user
that im trying to compile them as. i have tried without the -static
flag.
i was able to compile it this way on linux and solaris 2.8. this is
the last part of the config.log(hope it helps):
configure:3220: checking for libwrap
configure:3232: /usr/local/bin/gcc -o conftest -g -O2 -Wall
-Wpointer-arith -Wno-uninitialized
-I/usr/local/include -L/usr/local/lib -R/usr/local/lib
conftest.c -lwrap -lz -lsocket -lnsl
-lgen 1>&5
/user/emtek/local/tmp/cco0Wqiw.o: In function `main':
/export/src/openssh-2.9.9p2/configure:3228: undefined reference to
`hosts_access'
collect2: ld returned 1 exit status
configure: failed program was:
#line 3222 "configure"
#include "confdefs.h"
#include <tcpd.h>
int deny_severity = 0,
allow_severity = 0;
int main() {
hosts_access(0);
; return 0; }
thank you in advance.
--
--spencer white
[EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]