Ubuntu14.04下安装glog

下载原始代码编译

1. Clone Source Code  glog

git clone https://github.com/google/glog

2. Install dependencies and tools

sudo apt-get install autoconf automake libtool

3. install glog

./autogen.sh
./configure
make -j 6
sudo make install

Warning: Problems during ./configure

Makefile.am: error: required file './README' not found

解决方式:只要touch缺失文件,再重新执行即可

直接安装的方式

libgoogle-glog-dev

 libxmlrpc的原始代码安装方式和glog一样

猜你喜欢

转载自www.cnblogs.com/flyinggod/p/10120906.html