当前位置:   article > 正文

centOS 编译strongswan_strongswan内核太编译

strongswan内核太编译

安装编译环境

yum groupinstall "Development Tools"

编译strongswan

  1. Download strongSwan:

    wget https://download.strongswan.org/strongswan-x.x.x.tar.bz2
  2. Unpack the tarball and navigate into the directory:

    tar xjf strongswan-x.x.x.tar.bz2; cd strongswan-x.x.x
  3. Configure strongSwan using the available options:

    ./configure --prefix=/usr --sysconfdir=/etc --<your-options>
  4. Build the sources and install the binaries as root:

    make
    sudo make install

执行./configure报错

编译安装gmp

gmp下载The GNU MP Bignum Library

https://gmplib.org/download/gmp/gmp-6.2.1.tar.xz

解压

 xz -d gmp-6.2.1.tar.xz

tar -xvf gmp-6.2.1.tar

编译安装
cd gmp-6.2.1
./configure
make
make install

参考

https://docs.strongswan.org/docs/5.9/install/install.html

The GNU MP Bignum Library

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/805288
推荐阅读
相关标签
  

闽ICP备14008679号