Operating System - HP-UX
1823920 Members
3169 Online
109667 Solutions
New Discussion юеВ

Secure Shell (ssh2) install on 11.0

 
SOLVED
Go to solution
Stephen Sneeringer
Occasional Contributor

Secure Shell (ssh2) install on 11.0

Do I have to use only the HP C / ANSI C compiler for this package. I've tried using /usr/bin/cc with no success.
success=95% attitude + 5% knowledge
10 REPLIES 10
Vikas Khator
Honored Contributor

Re: Secure Shell (ssh2) install on 11.0

We tried using gcc but issues with make . had problems like unresolved symbol ..

So best bet would be aCC. Though not sure if that would work either. please let us know.
Keep it simple
Darren Miller
Advisor

Re: Secure Shell (ssh2) install on 11.0

Hello!

I've compiled ssh2 (commercial version 2.1.0) using HP's C-ANSI-C compiler and haven't had any trouble.

After unzipping and untarring, I did the following:

./configure -prefix /opt/ssh2
mkdir /opt/ssh2
make
make install
/opt/ssh2/sbin/sshd2

As I recall, there is a FastStart (?) document of some sort that clearly described the procedure required to enable user authentication and some of the other features.
Anthony Goonetilleke
Esteemed Contributor

Re: Secure Shell (ssh2) install on 11.0

You can compile it with gcc just get the latest version of that as well as binutils. I didnt have too many problems.
Minimum effort maximum output!
Madanagopalan S
Frequent Advisor

Re: Secure Shell (ssh2) install on 11.0

I did the following on my machine .

tar zxvf ssh-2.2.x.tar.gz

./configure
make
make install

ansic is already installed on our server.
let Start to create peaceful and happy world
Andre Meeuwesen
New Member
Michael Dun_1
New Member
Solution

Re: Secure Shell (ssh2) install on 11.0

The reason you had problems with cc is it's really only used for recompiling the kernel - it's practically useless for anything else!
Try not! Do, or Do Not - there is no "Try."
Stephen Sneeringer
Occasional Contributor

Re: Secure Shell (ssh2) install on 11.0

Well heres where I'm at....
I've gotten the gcc compiler and other related packages. Now when I try to run the configure file it keeps grabing the cc compiler. I've try setting varables like CC=gcc and GCC=gcc. I've put the opt/gcc/bin & /opt/binutils at the head of the PATH variable. All of this has been to no avail. I looked and search the configur file over and over trying to figure out just where they would grab the gcc compiler.

Any help would be greatly welcome......
success=95% attitude + 5% knowledge
Stephen Sneeringer
Occasional Contributor

Re: Secure Shell (ssh2) install on 11.0

Here is what I did to load ssh2 using gcc:
From www.hpux.cs.utah.edu/hppd/hpux I got the following packages as recommended by Bill Hart -- gcc2.95.2, binutils2.9.1, bison1.28, & flex2.5.4
Bill recommended several patches which I did not need since I had loaded the most current patch release. If you think you might need to patch see Bill's response by seaching the forum for SSH.

After this I needed to download SSH2 version 2.3 You must use this version as previous ones had trouble generating the .pub codekey.

To configure I used the following parameters:

set path to include gcc, binutils, flex, bison, and ssh2
set variable--- CC=gcc

Follow install instructions with these values:
./configure --host=hpp2.0-hp-hpux11.00 --disable-static --enable-debug
make
make install

NOTE: If the install fails and you want to re-compile after changes remember that the file config.cache are the values it will use to re-config. Remove it or modify it with new values.

I hope this info will help.
success=95% attitude + 5% knowledge
Asad Malik
Frequent Advisor

Re: Secure Shell (ssh2) install on 11.0

Hi
I am following the procedure and getting following message when try to run make
"can not load gcc"
i have set CC=gcc
Asad Malik
Frequent Advisor

Re: Secure Shell (ssh2) install on 11.0

Hi
I am following the procedure and getting following message when try to run make
"can not load gcc"
i have set CC=gcc