我需要安装CMS,但是此CMS需要libssh2库。 当我尝试按照说明进行安装时,出现错误。
在这里,我将给出错误的地方:
$ sudo tar zxvf libssh2-1.4.3.tar.gz
$ cd libssh2-1.4.3.tar.gz
c485186@ryzhikov:/home/libssh2-1.4.3$ sudo ./configure
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating example/Makefile
config.status: creating docs/Makefile
config.status: creating libssh2.pc
config.status: creating src/libssh2_config.h
config.status: creating example/libssh2_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure: summary of build options:
version: 1.4.3
Host type: x86_64-unknown-linux-gnu
Install prefix: /usr/local
Compiler: gcc
Compiler flags: -g -O2
Library types: Shared=yes, Static=yes
Crypto library: openssl: yes (AES-CTR: yes) libgcrypt: no
Debug build: no
Build examples: yes
Path to sshd: /usr/sbin/sshd (only for self-tests)
libz compression: yes
c485186@ryzhikov:/home/libssh2-1.4.3$ sudo make & sudo make innstall
[1] 3120
Making all in src
Making install in src
make[1]: Entering directory '/home/libssh2-1.4.3/src'
make[1]: Entering directory '/home/libssh2-1.4.3/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -g -O2 -MT channel.lo -MD -MP -MF .deps/channel.Tpo -c -o channel.lo channel.c
make all-am
make[2]: Entering directory '/home/libssh2-1.4.3/src'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../include -I../src -g -O2 -MT channel.lo -MD -MP -MF .deps/channel.Tpo -c -o channel.lo channel.c
libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -g -O2 -MT channel.lo -MD -MP -MF .deps/channel.Tpo -c channel.c -fPIC -DPIC -o .libs/channel.o
libtool: compile: gcc -DHAVE_CONFIG_H -I../include -I../src -g -O2 -MT channel.lo -MD -MP -MF .deps/channel.Tpo -c channel.c -fPIC -DPIC -o .libs/channel.o
在这里我看到很多错误。 我该如何解决?