Operating System - HP-UX
1833758 Members
2321 Online
110063 Solutions
New Discussion

Compiling SSH2 on an HPUX 11i server

 
SOLVED
Go to solution
Scott Hewes
Advisor

Compiling SSH2 on an HPUX 11i server

What do I need and where can I get the necessary source code to compile ssh2 on an HP server running HPUX 11.11 (11i)? AND, are there any tricks to compiling the software.

I have downloaded binutils, gcc, zlib, openssl and openssh from the HPUX Porting and Archive Center at http://hpux.cs.utah.edu but I am having a terrible time getting anything to compile. I gave up on the binutils and gcc and just installed these from the Dynamically Linked Binaries using swinstall. I then compiled zlib but am having trouble compiling openssl. I do not have the HP ANSI C compiler either.

Can anybody steer me in the right direction to get this installed? I am also wondering if the software from the HPUX Porting and Archiving Center is for HPUX 11.00 only and not for HPUX 11i too. Is this correct?
3 REPLIES 3
Steven Sim Kok Leong
Honored Contributor
Solution

Re: Compiling SSH2 on an HPUX 11i server

Hi,

Have you given SSH Communication's SSH2 a try? It compiles fine on HP-UX 11.00 and only requires downloading and compilation of a single tarball source (includes zlib etc). If you don't have gcc, ansi-C compiler is sufficient.

ftp://ftp.ssh.fi/pub/ssh/ssh-3.1.0.tar.gz

Hope this helps. Regards.

Steven Sim Kok Leong
John Lindo
New Member

Re: Compiling SSH2 on an HPUX 11i server

OK tried the openssh. At the end of the ./configure I get the following error message

WARNING********Your snprintf function is broken complain to your vendor
checking for Openssl directory ... error: Could not find working OpenSSL library

Thanks
Konrath
Occasional Advisor

Re: Compiling SSH2 on an HPUX 11i server

Some time ago I did this work also using the gcc compiler. It was a bit tricky and time consuming, but finally I got ssh2d compiled based on version 2.0.11-beta19. It works fine with 11.0 and 11i. Unfortunately I lost the sources and compile directories except the binaries. If any interest I can provide them via email.