1830640 Members
2034 Online
110015 Solutions
New Discussion

compile openssh

 
Paul Kolling
New Member

compile openssh

Hi everybody!

I'd like to use openssh and therefore must compile it. But whenever I try to do that,
I got the message that there is a prerequisite that I have to fulfill, named "zlib.zlib-RUN".
I'm not an experienced developer and searched the whole internet and could not find that. I installed zlib.1.3.3 and gcc3.0 and openssl and all packages HP could ever imagine, but nothing changed. Where the hell can I get that "zlib.zlib-RUN" or how can I work around it?

Thanks and best regards
Paul
5 REPLIES 5
linuxfan
Honored Contributor

Re: compile openssh

Hi Paul,

Look at the INSTALL file which comes with the source code for openssh, it says you would need zlib
http://www.freesoftware.com/pub/infozip/zlib and openssl 0.9.5a or greater
http://www.openssl.org

So download zlib and openssl and install them before you try to install openssh.

Ofcourse you have another option to install openssh and other dependencies in swinstall format. You can get them at
http://hpux.cs.utah.edu/hppd/hpux/Networking/Admin/openssh-2.5.1.p1

I do prefer installing from source normally but then its your preference.

-Regards
Ramesh
They think they know but don't. At least I know I don't know - Socrates
Michael Tully
Honored Contributor

Re: compile openssh

Hi,

You can get 'zlib' from the HP-UX porting centre.
http://hpux.connect.org.uk/hppd/hpux/Misc/zlib-1.1.3/

I have had trouble getting it from
http://www.freesoftware.com/pub/infozip/zlib

Once installed make sure that you have a copy of 'zlib.h' and 'zconf.h' in '/usr/include' and 'libz.a' in '/usr/lib'

The good thing about downloading them (including openssh and openssl) from the porting centre is that they are already compiled and ready to install using 'swinstall'
Compiling can be a lot of fun....NOT...when you start to have problems.

HTH
-Michael




Anyone for a Mutiny ?
Joe Doe Sr
Occasional Advisor

Re: compile openssh

Hi Paul,

on http://hpux.tn.tudelft.nl/ you find all the packages you need. Also a little note on gcc. Version 2.95.x is still te best version to use, because of problems with 3. Version 3.0.1 has been released, but you beter wait for 3.1 that is scheduled for April 2002 (this date can change).

-Hans
Bernie Vande Griend
Respected Contributor

Re: compile openssh

zlib.zlib-RUN is part of the zlib.1.1.3 depot which you can find with the links mentioned above. You said in your post you had already installed Zlib, so if this is the case, perhaps it isn't configured yet. You could do a swconfig \* to configure everything, or just remove and re-install the zlib package again.
Ye who thinks he has a lot to say, probably shouldn't.
Juergen Nagel_1
Frequent Advisor

Re: compile openssh

Hi,
I have the same problem.
The swinstall error message is:
The corequisite "zlib.zlib-RUN" for fileset "openssh.openssh-RUN,r=2.5.1p1" cannot be successfully resolved.

I installed the "zlib 1.1.3.2001-06-12 The zlib Compression Library" package. But without result. swconfig /* doesn???t solve the problem.

Pleas help