Compile of OpenSSH 3.7.1p2 failing - TRU64 5.1A

Strickland, Trevor (Contractor) Trevor.Strickland at ed.gov
Thu Oct 16 23:17:50 EST 2003


THANK YOU - 

Chris Linn
Darren Tucker

Strangely enough, when I simply added the --with-zlib=PATH, it compiled.  I
didn't have to re-install zlib or place it into a different location.  It
looks as if it just didn't know where to find it.

Trevor

-----Original Message-----
From: Christopher Linn [mailto:celinn at mtu.edu]
Sent: Wednesday, October 15, 2003 10:25 PM
To: Darren Tucker
Cc: Strickland, Trevor (Contractor); 'openssh-unix-dev at mindrot.org'
Subject: Re: Compile of OpenSSH 3.7.1p2 failing - TRU64 5.1A


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