I don't know if this is the right place
Ancelmo Rodriguez Parra
ancelmo at siia.umich.mx
Sat Feb 10 07:46:05 EST 2001
> On Fri, 9 Feb 2001, Ancelmo Rodriguez Parra wrote:
> : checking for HPUX trusted system password database... yes
> : configure: warning: This configuration is untested
> : checking for deflate in -lz... no
> : configure: error: *** zlib missing - please install first ***
> :
> : can you help me? if not, please also tell me.
>
> if your zlib isn't in a place the compiler and linker will find headers
> and lib, you need to tell them where they are; i do this:
>
> VER=openssh-2.3.0p1
> SRC=/usr/src
>
> CFLAGS="+w1 +W 486,474 +O3 +ESlit +Optrs_strongly_typed \
> -I$SRC/zlib/zlib-1.1.3/ -I$SRC/tcp_wrappers/tcp_wrappers_7.6" \
> LDFLAGS="-L$SRC/zlib/zlib-1.1.3 -L$SRC/tcp_wrappers/tcp_wrappers_7.6" \
> ./configure --prefix=/opt/${VER} \
> --sysconfdir=/etc/opt/openssh \
> --with-default-path="/usr/bin:/usr/sbin:/opt/${VER}/bin" \
> --with-ssl-dir=$SRC/openssl/openssl-0.9.6 \
> --with-tcp-wrappers \
> --disable-suid-ssh \
> --with-egd-pool=/etc/opt/egd/entropy \
> --with-pam
>
I did the following:
****************************************
VER=openssh-2.3.0p1
SRC=/usr/src
CFLAGS="+w1 +W 486,474 +O3 +ESlit +Optrs_strongly_typed \
-I /opt/zlib/include/ "
LDFLAGS="-L /opt/zlib/lib/"
./configure --prefix=/opt/${VER} \
--sysconfdir=/etc/opt/openssh \
--with-default-path="/usr/bin:/usr/sbin:/opt/${VER}/bin" \
--with-ssl-dir=/opt/openssl/lib/ \
--disable-suid-ssh \
--with-egd-pool=/etc/opt/egd/entropy \
--with-pam
# ls /opt/zlib
doc include lib
**************************************************************
and it still doesn't work :(
More information about the openssh-unix-dev
mailing list