summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrdks <nospaceleftondevice11one@gmail.com>2014-12-20 22:39:13 (GMT)
committer William Swanson <swansontec@gmail.com>2014-12-21 01:39:03 (GMT)
commit040cbe6ea0726a9065aaede903985e03679fe464 (patch)
treefc6353dc0a9c5731473449030bbd484433ac3855
parent6d14053fb7b36f4e5a9f68a7ebbac07e4d9cda06 (diff)
Fix install-sx.sh
- libbitcoin needs to be built from branch 'version1' as 'version2' is not compatible to the obelisk ank sx master branches - libbitcon/secp256k1 is needed instead of bitcoin/secp256k1 - add missing dependency libgmp-dev for ubuntu and debian
-rwxr-xr-xinstall-sx.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/install-sx.sh b/install-sx.sh
index 107e80d..5b566b3 100755
--- a/install-sx.sh
+++ b/install-sx.sh
@@ -76,7 +76,7 @@ install_dependencies(){
if [ "$flavour_id" = "debian" ]; then
D_DEPENDENCIES="\
git build-essential autoconf apt-utils libtool \
- libboost-all-dev pkg-config libcurl4-openssl-dev \
+ libboost-all-dev pkg-config libgmp-dev libcurl4-openssl-dev \
libleveldb-dev libconfig++-dev libncurses5-dev wget"
if [ "$ROOT_INSTALL" = 1 ]; then
apt-get -y remove libzmq*
@@ -92,7 +92,7 @@ install_dependencies(){
elif [ "$flavour_id" = "ubuntu" ]; then
U_DEPENDENCIES="\
git build-essential autoconf apt-utils libtool \
- pkg-config libcurl4-openssl-dev libleveldb-dev \
+ pkg-config libgmp-dev libcurl4-openssl-dev libleveldb-dev \
libconfig++8-dev libncurses5-dev libboost$U_BOOST-all-dev wget"
if [ "$ROOT_INSTALL" = 1 ]; then
apt-get -y remove libzmq*
@@ -268,13 +268,13 @@ install_libsecp256k1(){
echo " --> Updating secp256k1..."
echo
cd secp256k1-git
- git remote set-url origin https://github.com/bitcoin/secp256k1.git
+ git remote set-url origin https://github.com/libbitcoin/secp256k1.git
git pull --rebase
else
echo
echo " --> Downloading secp256k1 from git..."
echo
- git clone https://github.com/bitcoin/secp256k1.git secp256k1-git
+ git clone https://github.com/libbitcoin/secp256k1.git secp256k1-git
fi
cd $SRC_DIR/secp256k1-git
echo
@@ -303,7 +303,7 @@ install_libbitcoin(){
echo
echo " --> Downloading libbitcoin from git..."
echo
- git clone https://github.com/libbitcoin/libbitcoin.git libbitcoin-git
+ git clone --branch version1 https://github.com/libbitcoin/libbitcoin.git libbitcoin-git
fi
cd $SRC_DIR/libbitcoin-git
echo