Skip to content

Commit

Permalink
Travis: fixed build on Linux (uuid and ctemplate)
Browse files Browse the repository at this point in the history
  • Loading branch information
dinhvh committed Jan 3, 2016
1 parent 54c217c commit 5d457fe
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions scripts/travis/before-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,24 @@ elif test x"`uname`" = xLinux ; then
make >/dev/null
sudo make install >/dev/null
cd ..
git clone --depth=1 https://github.com/dinhviethoa/ctemplate
cd ctemplate
./autogen.sh
./configure
make >/dev/null
sudo make install >/dev/null
cd ..
curl -O http://ftp.kernel.org/pub/linux/utils/util-linux/v2.27/util-linux-2.27.1.tar.xz
tar xf util-linux-2.27.1.tar.xz
cd util-linux-2.27.1
./configure
make libuuid.la
sudo make install-uuidincHEADERS
sudo cp .libs/libuuid.so /usr/lib
cd ..

sudo apt-get install libctemplate-dev
sudo apt-get install libicu-dev
sudo apt-get install libsasl2-dev
sudo apt-get install libtidy-dev
sudo apt-get install uuid-dev
sudo apt-get install libxml2-dev
sudo apt-get install libuchardet-dev
fi

0 comments on commit 5d457fe

Please sign in to comment.