Always keep a beginner's mind, don't forget the beginner'|

zhijun

园龄:2年10个月粉丝:16关注:1

MPTCP(四):mptcpd编译及安装

mptcpd编译及安装

简介

源码下载

解压

tar -xvf mptcpd-0.12.tar.gz

在树莓派中编译及安装

  • 安装依赖
sudo apt-get -y install autoconf automake libtool autoconf-archive libell-dev pkg-config
  • 进入解压目录,执行./bootstrap
# ./bootstrap
  • 执行./configure
# ./configure
  • make install编译并安装
# make install
  • 安装成功后即可找到可执行程序mptcpize
# which mptcpize
/usr/local/bin/mptcpize

ubuntu20.04中编译及安装

  • ubuntu中编译和安装的方法和树莓派略有不同,因为在ubuntu无法直接通过apt安装libell-dev
  • 安装依赖
sudo apt-get -y install autoconf automake libtool autoconf-archive pkg-config
  • 源码编译ell(Embedded Linux Library)

    • 官网链接如下:

      https://git.kernel.org/pub/scm/libs/ell/ell.git

    • 下载ell(Embedded Linux Library)源码,并检出tag 0.56

      git clone git://git.kernel.org/pub/scm/libs/ell/ell.git
      git checkout 0.56
    • 进入源码目录,依次执行./bootstrap./configure

      root# ./bootstrap
      root# ./configure
    • make install编译并安装

      root# make install
  • 编译mptcpd

    • 进入mptcpd解压目录, 依次执行./bootstrap./configure

      root# ./bootstrap
      root# ./configure
    • make install编译并安装

      root# make install
    • 查看mptcpd是否安装成功

      root@ecs-92da:/tmp/mptcpd-0.12# which mptcpize
      /usr/local/bin/mptcpize

本文作者:zhijun

本文链接:https://www.cnblogs.com/zhijun1996/p/17430186.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   zhijun  阅读(1286)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起