Re: Reg: Getting error while configuring libssh2 package.
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/ \
> 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.
Received on 2012-04-14