1833800 Members
2557 Online
110063 Solutions
New Discussion

Re: install library

 
bouserg_1
Advisor

install library

Hi,
I want to install a libssh2 library ver0.18 on hp-ux 11.11
Can you please show me where to download the package.

Regards
14 REPLIES 14
Dennis Handly
Acclaimed Contributor

Re: install library

bouserg_1
Advisor

Re: install library

thanks for reply,

I've download libssh2-1.0.tar from sourceforge.
I want to know how to install it on hpux 11.11

Regards


Dennis Handly
Acclaimed Contributor

Re: install library

>I want to know how to install it on HP-UX 11.11

I assume you first have to figure out how to build it.
bouserg_1
Advisor

Re: install library

i attach the file
Dennis Handly
Acclaimed Contributor

Re: install library

>i attach the file

There is a libssh2-1.0/README in your .tgz.
bouserg_1
Advisor

Re: install library

I've installed Openssl
I've executed the following:

#cd libssh2-1.0
#./configure --with-libssl-prefix=PATH

But I got the error message:
configure: error: cannot find OpenSSL or Libgcrypt,
try --with-libssl-prefix=PATH or --with-libgcrypt-prefix=PATH
OldSchool
Honored Contributor

Re: install library

1) you may still need libgcrypt

2) "#./configure --with-libssl-prefix=PATH"

what did you use for PATH in the above? it should be the path to where the ssl
stuff was installed. you will probably have to do the same with libgcrypt
bouserg_1
Advisor

Re: install library

Hi,

I've download libssh2 0.18 and i've no problem with configure.
But when i execute make to compile the package i've the error message,see the attached file.

Regards
bouserg_1
Advisor

Re: install library

The attached file
Dennis Handly
Acclaimed Contributor

Re: install library

>(Bundled) cc: error 1705: Function prototypes are an ANSI feature.

You'll either need to purchase the ANSI C compiler or use gcc.
bouserg_1
Advisor

Re: install library

thanks for reply,

I've not ANSI C installed.
How to use gcc?

Regards
Dennis Handly
Acclaimed Contributor

Re: install library

>How to use gcc?

On your make command line you use CC=gcc. And probably something similar for configure.
bouserg_1
Advisor

Re: install library

Hi Denis,

I've installed gcc with its dependencies(libgcc,libconv and gettext)
Now the make command work without error;also the make install command.
Thanks for your help.

I'll assign you points.

Is there a way to be sure that the libssh2 is correctly installed?

Regards
Dennis Handly
Acclaimed Contributor

Re: install library

>Is there a way to be sure that the libssh2 is correctly installed?

Any test targets in the makefile?