1.配置
sudo apt-get install autoconf automake libtool
2.下载glog
git clone git://github.com/boboxxd/glog.git
注:如果在git clone https://github.com/google/glog里下载,则出现错误bash./ autogen 没有这个文件
3.编译与安装
提取与打开glog文件夹,打开终端
./autogen.sh
./configure
make -j 24
sudo make install
参考链接:
http://www.voidcn.com/article/p-dzuxwkco-bmr.html
https://blog.csdn.net/weixin_44946842/article/details/119342155