Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
26 lines (26 loc) · 893 Bytes

File metadata and controls

26 lines (26 loc) · 893 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/bash
sudo yum install lzo snappy-devel libaio-devel openssl-devel mysql-devel numactl-devel
sudo yum install -b test t-csrd-tbnet-devel t_libeasy-devel
# install gtest
GTEST_SRC='http://googletest.googlecode.com/files/gtest-1.6.0.zip'
wget $GTEST_SRC -O gtest-1.6.0.zip
unzip ./gtest-1.6.0.zip
cd gtest-1.6.0
./configure
make
sudo cp -rf include/* /usr/local/include/
sudo ./libtool --mode=install cp lib/libgtest.la /usr/local/lib/
cd ..
# install gmock
GMOCK_SRC='http://googlemock.googlecode.com/files/gmock-1.6.0.zip'
wget $GMOCK_SRC -O gmock-1.6.0.zip
unzip ./gmock-1.6.0.zip
cd gmock-1.6.0
./configure
make
sudo cp -rf include/* /usr/local/include/
sudo ./libtool --mode=install cp lib/libgmock.la /usr/local/lib/
cd ..
# done
echo "Add the follow lines into your .bashrc:"
echo -e "\nexport TBLIB_ROOT=/opt/csr/common\nexport EASY_ROOT=/usr\nexport EASY_LIB_PATH=/usr/lib64\n"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.