Subject: Re: Reg: Getting error while configuring libssh2 package.

Re: Reg: Getting error while configuring libssh2 package.

From: Peter Stuge <peter_at_stuge.se>
Date: Sat, 14 Apr 2012 17:01:34 +0200

V, AnilKumar wrote:
> ./configure CC=cc CFLAGS=-xarch=v9 \
> --prefix=/ctxtools/cortex/local/64bit \
> --disable-shared --enable-static \
> --with-openssl --without-libgcrypt \
> --with-libssl-prefix=/ctxtools/cortex/local/64bit/ \
> --with-libz-prefix=/ctxtools/cortex/local/64bit
>
> I am sure openssl was present in this path "/ctxtools/cortex/local/64bit/ ".
..

> configure:2946: checking libssh2 version
> configure:2948: result: 1.2.4

Why are you using code which is more than two years old? You will not
really get help unless you use the latest code.

> configure:12952: checking for libssl
> configure:12971: cc -o conftest -xarch=v9 conftest.c -lnsl -lsocket -lssl -lcrypto >&5
> "conftest.c", line 29: cannot find include file: <openssl/ssl.h>
> cc: acomp failed for conftest.c
> configure:12971: $? = 2

The error message is quite obvious.

You should look into why your prefix isn't in that command line. If
you don't know where to start then try again with the latest code and
send your configure command together with full output from running
configure, as well as config.log.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2012-04-14