From: Yangqing Jia Date: Thu, 24 Jul 2014 05:49:16 +0000 (-0700) Subject: gflags should preferrably be installed before glog X-Git-Tag: submit/tizen/20180823.020014~653^2~46^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09f196bf26f7ae95c0ace981c78389a4578c5bed;p=platform%2Fupstream%2Fcaffeonacl.git gflags should preferrably be installed before glog --- diff --git a/docs/installation.md b/docs/installation.md index 6ff1887..5f09259 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -71,13 +71,8 @@ And on **CentOS or RHEL**, you can install via yum using: sudo yum install protobuf-devel leveldb-devel snappy-devel opencv-devel boost-devel hdf5-devel -The only exceptions being the google logging library and the google flags library, which does not exist in the Ubuntu 12.04 or CentOS/RHEL repositories. To install them, do: +The only exceptions being the google flags library and the google logging library, which does not exist in the Ubuntu 12.04 or CentOS/RHEL repositories. To install them, do: - # glog - wget https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz - tar zxvf glog-0.3.3.tar.gz - ./configure - make && make install # gflags wget https://github.com/schuhschuh/gflags/archive/master.zip unzip master.zip @@ -85,6 +80,11 @@ The only exceptions being the google logging library and the google flags librar mkdir build && cd build cmake .. make && make install + # glog + wget https://google-glog.googlecode.com/files/glog-0.3.3.tar.gz + tar zxvf glog-0.3.3.tar.gz + ./configure + make && make install Note that if you have newer versions of Ubuntu, like 13.04 or 14.04, gflags may be available under apt-get.