Help!
Keefe Drayton <[email protected]>
| Newsgroups | gmane.os.openbsd.www |
|---|---|
| Message-ID | <OFD196DFA5.EE06875B-ON8525726D.00638FF2-8525726D.00642ABC@us.ibm.com> |
I cannot compile OpenSSH on 192.XXX.XXX.XXX. The ZLIB library needs
installed.
root@wrnxxx:/opt/ssh/sources/openssh-4.5p1 $ ./configure --prefix=/opt/ssh
checking for deflate in -lz... no
configure: error: *** zlib missing - please install first or check
config.log ***
When I attempted to build the zlib library I get this.
root@wrnxxx:/opt/ssh/sources/zlib-1.2.3 $ ./configure
Checking for gcc...
Building static library libz.a version 1.2.3 with cc.
Checking for unistd.h... No.
Checking whether to use vs[n]printf() or s[n]printf()... using
s[n]printf()
Checking for snprintf() in stdio.h... No.
WARNING: snprintf() not found, falling back to sprintf(). zlib
can build but will be open to possible buffer-overflow security
vulnerabilities.
Checking for return value of sprintf()... No.
WARNING: apparently sprintf() does not return a value. zlib
can build but will be open to possible string-format security
vulnerabilities.
Checking for errno.h... No.
Checking for mmap support... No.
root@wrnxxx:/opt/ssh/sources/zlib-1.2.3 $ make
cc -O -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c adler32.c
(Bundled) cc: warning 480: The -O option is available only with the C/ANSI
C product; ignored.
(Bundled) cc: "adler32.c", line 72: error 1701: Unsigned suffix is an ANSI
feature.
(Bundled) cc: "adler32.c", line 73: error 1701: Unsigned suffix is an ANSI
feature.
(Bundled) cc: "adler32.c", line 75: error 1701: Unsigned suffix is an ANSI
feature.
(Bundled) cc: "adler32.c", line 76: error 1701: Unsigned suffix is an ANSI
feature.
(Bundled) cc: "adler32.c", line 90: error 1701: Unsigned suffix is an ANSI
feature.
(Bundled) cc: "adler32.c", line 91: error 1701: Unsigned suffix is an ANSI
feature.
(Bundled) cc: "adler32.c", line 92: error 1701: Unsigned suffix is an ANSI
feature.
(Bundled) cc: "adler32.c", line 104: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 105: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 119: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 120: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 138: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 141: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 142: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 143: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 144: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 144: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 145: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 145: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 146: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 146: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 147: error 1701: Unsigned suffix is an
ANSI feature.
(Bundled) cc: "adler32.c", line 147: error 1701: Unsigned suffix is an
ANSI feature.
*** Error exit code 1
Please help with solution
Thanks,
Keefe Drayton