Ubuntu16.04 source code compile and install Poco1.7.8

Environment: ubuntu16.04 x64, GCC 5.4.0 20160609

First, prepare for compilation, compile and install packages such as OPENSSL, and prepare dependent packages for compiling Poco.

1. Compile and install OPENSSL (subject to 1.0.0e)
        source code download address: https://www.openssl.org/source/openssl-1.0.0e.tar.gz
        After downloading, compile and install according to the following instructions:
        tar - xvf openssl-1.0.0e.tar.gz

        cd openssl-1.0.0e

      ./ config --prefix=/usr/local #/usr/local is the installation location of the compiled header files and libraries

        make

        make install

       Or install directly via command:

      sudo apt-get install openssl

      sudo apt-get install libssl-dev

2. Compile and install Poco
        source code download address: https://pocoproject.org/releases/poco-1.7.8/poco-1.7.8-all.tar.gz

        tar -xzvf poco-1.7.8-all.tar.gz

        cd little-1.7.8-all

          ./configure --no-tests --no-samples --prefix=/usr/local/Poco --static --shared   # /usr/local /Poco is the installation location of the compiled header files and libraries
        make
        make install
to This Poco is installed.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324362955&siteId=291194637