1. 程式人生 > >Ubuntu14.04下安裝glog

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一樣