"Pacelli, Louis M, ALABS" wrote:> > Hi, > I apologize for sending in this problem via email, but I had trouble using bugzilla.Please use openssh-unix-dev at mindrot.org for problems with OpenSSH Portable (ie anything that's not OpenBSD).> I'm trying to install openssh-3.7.1p2 > When I run the configure step, I get the following message: > > configure:5641: checking for deflate in -lz > configure:5668: cc -o conftest -g -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURC > E_EXTENDED=1 conftest.c -lz -lnsl -lxnet -lsec >&5 > + eval $CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LI > BS >&5 > + cc -o conftest -g -D_HPUX_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 co > nftest.c -lz -lnsl -lxnet -lsec > + 1>& 5 > /usr/ccs/bin/ld: Can't find library: "z" > configure:5671: $? = 1 > configure: failed program was: > #line 5649 "configure" > #include "confdefs.h" > > /* Override any gcc2 internal prototype to avoid an error. */ > #ifdef __cplusplus > extern "C" > #endif > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char deflate (); > int > main () > { > deflate (); > ; > return 0; > } > configure:5688: result: no > configure:5698: error: *** zlib missing - please install first or check config.l > > I do have zlib installed. How can I make this script find zlib?Try using --with-zlib=/path/to/zlib (eg /usr/local if that's where you installed zlib). -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Pacelli, Louis M, ALABS
2003-Nov-22 12:20 UTC
zlib missing when installing openssh-3.7.1p2
Darren, Thanks for responding, but it still failed. I did as you suggested and sent a request to 'hostmaster at mindrot.org'. I appreciate your efforts. If you can think of anything else for me to try, please let me know. Thanks, Lou Pacelli (407)786-4231 -----Original Message----- From: Darren Tucker [mailto:dtucker at zip.com.au] Sent: Friday, November 21, 2003 7:42 PM To: Pacelli, Louis M, ALABS Cc: OpenSSH Devel List Subject: Re: zlib missing when installing openssh-3.7.1p2 "Pacelli, Louis M, ALABS" wrote:> > Hi, > I apologize for sending in this problem via email, but I had troubleusing bugzilla. Please use openssh-unix-dev at mindrot.org for problems with OpenSSH Portable (ie anything that's not OpenBSD).> I'm trying to install openssh-3.7.1p2 > When I run the configure step, I get the following message: > > configure:5641: checking for deflate in -lz > configure:5668: cc -o conftest -g -D_HPUX_SOURCE -D_XOPEN_SOURCE-D_XOPEN_SOURC> E_EXTENDED=1 conftest.c -lz -lnsl -lxnet -lsec >&5 > + eval $CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGSconftest.$ac_ext $LI> BS >&5 > + cc -o conftest -g -D_HPUX_SOURCE -D_XOPEN_SOURCE-D_XOPEN_SOURCE_EXTENDED=1 co> nftest.c -lz -lnsl -lxnet -lsec > + 1>& 5 > /usr/ccs/bin/ld: Can't find library: "z" > configure:5671: $? = 1 > configure: failed program was: > #line 5649 "configure" > #include "confdefs.h" > > /* Override any gcc2 internal prototype to avoid an error. */ > #ifdef __cplusplus > extern "C" > #endif > /* We use char because int might match the return type of a gcc2 > builtin and then its argument prototype would still apply. */ > char deflate (); > int > main () > { > deflate (); > ; > return 0; > } > configure:5688: result: no > configure:5698: error: *** zlib missing - please install first orcheck config.l> > I do have zlib installed. How can I make this script find zlib?Try using --with-zlib=/path/to/zlib (eg /usr/local if that's where you installed zlib). -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
"Pacelli, Louis M, ALABS" wrote: [snip configure error]> > I do have zlib installed. How can I make this script find zlib?Where is zlib installed? ie where are the files zlib.h and libz.a or libz.sl? -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Pacelli, Louis M, ALABS
2003-Nov-22 22:52 UTC
zlib missing when installing openssh-3.7.1p2
Darren, They are in /usr/local/zlib-1.1.4 Lou -----Original Message----- From: Darren Tucker [mailto:dtucker at zip.com.au] Sent: Saturday, November 22, 2003 5:39 PM To: Pacelli, Louis M, ALABS Cc: OpenSSH Devel List Subject: Re: zlib missing when installing openssh-3.7.1p2 "Pacelli, Louis M, ALABS" wrote: [snip configure error]> > I do have zlib installed. How can I make this script find zlib?Where is zlib installed? ie where are the files zlib.h and libz.a or libz.sl? -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
"Pacelli, Louis M, ALABS" wrote:> > Darren, > They are in /usr/local/zlib-1.1.4 > LouWhat does configure and the zlib section of config.log say when you do: ./configure --with-zlib=/usr/local/zlib-1.1.4 ? -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Pacelli, Louis M, ALABS
2003-Nov-23 01:11 UTC
zlib missing when installing openssh-3.7.1p2
Darren, Thank you sooooooo much. When I ran it as you suggested below - the configure step ran fine. The make step also ran fine. When I ran the make install, the last part of the log looked as though there may be a problem: Generating public/private rsa1 key pair. Your identification has been saved in /usr/local/etc/ssh_host_key. Your public key has been saved in /usr/local/etc/ssh_host_key.pub. The key fingerprint is: cd:a5:2e:90:c7:e8:67:ac:15:32:82:4c:3f:e0:63:2f root at vandevap Generating public/private dsa key pair. Your identification has been saved in /usr/local/etc/ssh_host_dsa_key. Your public key has been saved in /usr/local/etc/ssh_host_dsa_key.pub. The key fingerprint is: 43:6e:ea:27:97:e5:d4:24:33:95:3a:a4:f0:70:7c:58 root at vandevap Generating public/private rsa key pair. Your identification has been saved in /usr/local/etc/ssh_host_rsa_key. Your public key has been saved in /usr/local/etc/ssh_host_rsa_key.pub. The key fingerprint is: 45:6a:09:ca:71:9b:65:ce:31:15:9a:50:ef:da:74:1f root at vandevap /usr/local/sbin/sshd -t -f /usr/local/etc/sshd_config Privilege separation user sshd does not exist *** Error exit code 255 (ignored) Is this OK or is something else wrong? Thanks, Lou -----Original Message----- From: Darren Tucker [mailto:dtucker at zip.com.au] Sent: Saturday, November 22, 2003 6:58 PM To: Pacelli, Louis M, ALABS Cc: OpenSSH Devel List Subject: Re: zlib missing when installing openssh-3.7.1p2 "Pacelli, Louis M, ALABS" wrote:> > Darren, > They are in /usr/local/zlib-1.1.4 > LouWhat does configure and the zlib section of config.log say when you do: ./configure --with-zlib=/usr/local/zlib-1.1.4 ? -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
Pacelli, Louis M, ALABS
2003-Nov-23 10:39 UTC
zlib missing when installing openssh-3.7.1p2
Darren, Thank you again for all your help. I really appreciate it. Lou Pacelli -----Original Message----- From: Darren Tucker [mailto:dtucker at zip.com.au] Sent: Saturday, November 22, 2003 9:35 PM To: Pacelli, Louis M, ALABS Cc: OpenSSH Devel List Subject: Re: zlib missing when installing openssh-3.7.1p2 "Pacelli, Louis M, ALABS" wrote: [snip]> Privilege separation user sshd does not exist > *** Error exit code 255 (ignored) > > Is this OK or is something else wrong?It's a warning. If you're going to use PrivilegeSeparation (which is on by default) you need to create a user for it. The details are in README.privsep. -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.