Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change http to https, make installation of glog, gflags and double-conversion consistent; use github url for double-conversion #23

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 13 additions & 14 deletions proxygen/deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ sudo apt-get install -yq \
# deps.sh in fbthrift and folly builds anyways (no trap there)
if ! sudo apt-get install libgoogle-glog-dev;
then
echo "fetching glog from svn (apt-get fails)"
if [ ! -e google-glog ]; then
svn checkout http://google-glog.googlecode.com/svn/trunk/ google-glog
echo "fetching glog from svn (apt-get failed)"
svn checkout https://google-glog.googlecode.com/svn/trunk/ google-glog
cd google-glog
./configure
make
Expand All @@ -43,25 +43,24 @@ then
fi
fi

if ! sudo apt-get install libgflags-dev;
if ! sudo apt-get install libgflags-dev;
then
if [ ! -e google-gflags ]; then
echo "Fetching and building libgflags"
wget https://github.com/schuhschuh/gflags/archive/v2.0.tar.gz
mkdir google-gflags
tar xf v2.0.tar.gz -C google-gflags
cd google-gflags/gflags-2.0/
./configure
make
sudo make install
cd ../../
echo "Fetching gflags from svn (apt-get failed)"
svn checkout https://google-gflags.googlecode.com/svn/trunk/ google-gflags
cd google-gflags
./configure
make
sudo make install
cd ..
fi
fi

if ! sudo apt-get install libdouble-conversion-dev;
if ! sudo apt-get install libdouble-conversion-dev;
then
if [ ! -e double-conversion ]; then
git clone https://code.google.com/p/double-conversion double-conversion
echo "Fetching double-conversion from git (apt-get failed)"
git clone https://github.com/floitsch/double-conversion.git double-conversion
cd double-conversion
cmake . -DBUILD_SHARED_LIBS=ON
sudo make install
Expand Down