Compile of OpenSSH 3.7.1p2 failing - TRU64 5.1A

Christopher Linn celinn at mtu.edu
Thu Oct 16 12:25:09 EST 2003


On Thu, Oct 16, 2003 at 10:11:22AM +1000, Darren Tucker wrote:
> "Strickland, Trevor (Contractor)" wrote:
> > 
> > All,
> > 
> > I'm getting the following error message when trying to 'make' OpenSSH
> > 3.7.1p2:
> > 
> > cc: Severe: compress.c, line 19: Cannot find file "zlib.h" specified in
> > #include directive. (noinclfilef)
> > #include "zlib.h"
> > -^
> > *** Exit 1
> > Stop.
> > 
> > What can I do to get this to compile correctly?
> 
> That file is part of the zlib package, perhaps it's not installed
> correctly.  Try reinstalling it (you can get it from www.zlib.org).  You
> may have to specify the path to it to OpenSSH's configure
> (--with-zlib=PATH).

i have a machine which was pre-installed with Compaq Tru64 UNIX V5.1A
(Rev. 1885); this has a /usr/lib/libz.a but no corrosponding zlib.h
file installed.  not sure if this came in the base system or as an
optional package.

what i did was to leave the system file alone, and in a non-standard
location install zlib.h, zconf.h and libz.a from the zlib-1.1.4 release.
then use --with-zlib=PATH to get the OpenSSH configure script to find it.

chris

-- 
Christopher Linn, (celinn at mtu.edu) | By no means shall either the CEC
Staff System Administrator            | or MTU be held in any way liable
  Center for Experimental Computation | for any opinions or conjecture I
    Michigan Technological University | hold to or imply to hold herein.




More information about the openssh-unix-dev mailing list