服务器安装opencv
遇到下载ippicv protocal problem:
I solved the problem by exchanging the downloaded packages cmake and curl with self-compiled versions.
First I removed cmake and curl:
$ sudo apt-get remove cmake
$ sudo apt-get remove curl
I installed zlib because it is needed later to build cmake
$ sudo apt-get install zlib1g
$ sudo apt-get install zlib1g-dev
I installed the developer package for openssl because this is needed to build curl with open-ssl support
sudo apt-get install libssl-dev
I downloaded the curl source code from here: https://curl.haxx.se/download.html
Compiled curl with:
/CurlExtractFolder$ ./configure --with--ssl
/CurlExtractFolder$ make
/CurlExtractFolder$ sudo make install
After the configure step it should mention that SSL support is enabled and if one types curl --versionthe output should mention the https protocol.
I cloned the git repository of CMake to CMakeExtractFolder and build it with:
$ git clone -b v3.9.1 https://cmake.org/cmake.git cmake
$ cd cmake
$ ./bootstrap --system-curl
$ make
$ sudo make install
网友评论