先安装boost,见前文,然后上官网下载不带boost的asio,版本为:asio-1.12.2
cd到下载的库目录,配置 ./configure --with-boost="boost的安装路径",通常为/usr/local/include`
./configure --with-boost="boost的安装路径",通常
编译 make
make
安装asio
make install