Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
81 lines (62 sloc) 2.54 KB
Build BiblePay Evolution - Ubuntu
/* Optional: How to increase swap space on a machine with 1gb of ram:
free #check if swap is 0 then do this:
sudo fallocate -l 1G /swapfile
sudo dd if=/dev/zero of=/swapfile bs=1024 count=1048576
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo nano /etc/fstab
#add this line:
/swapfile swap swap defaults 0 0
#save the file
sudo swapon --show
free #check - should be 1G
*/
First install Ubuntu dependencies:
apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils
apt-get install libboost-system-dev libboost-filesystem-dev libboost-chrono-dev libboost-program-options-dev libboost-test-dev libboost-thread-dev
apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
apt-get install git
apt-get install curl build-essential libtool autotools-dev automake pkg-config python3 bsdmainutils cmake
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install libdb4.8-dev libdb4.8++-dev
** Building Daemon and QT: **
git clone http://github.com/biblepay/biblepay-evolution
prefix=x86_64-pc-linux-gnu
cd depends
make -j4 # Choose a good -j value, depending on the number of CPU cores available
cd ..
./autogen.sh
#Note: if echo `pwd` does not return your current working directory, replace it with your working directory such as /biblepay-evolution/
./configure --prefix `pwd`/depends/x86_64-pc-linux-gnu
make
See more here:
https://github.com/biblepay/biblepay-evolution/blob/master/doc/build-unix.md
** How to upgrade BiblePay: **
cd ~/biblepay-evolution
git pull origin master
cd src
make
*** NOTE:
Watchman-on-the-wall is no longer required in BiblePay-Evolution (as it is compiled as a part of our wallet now) ****
*** TROUBLESHOOTING ****
Q: What if I receive an error during ./autogen.sh? Libtoolize failed AC_CONFIG_MACRO_DIRS([build-aux/m4]) conflicts with ACLOCAL.AMFLAGS=-I build-aux/m4?
A: This is because some files were downloaded from git with CRLF. Fix with:
find . -name \*.m4|xargs dos2unix
find . -name \*.ac|xargs dos2unix
find . -name \*.am|xargs dos2unix
find . -name \*.sh|xargs dos2unix
**** DEVELOPER SECTION - FOR DEV USE ****
Devs; Evolution; Building Windows using Cross-Compile 64-bit version:
https://github.com/bitcoin/bitcoin/blob/master/doc/build-windows.md
cd depends
make HOST=i686-w64-mingw32 -j4
cd ..
./autogen.sh
./configure --prefix /biblepay-evolution/depends/i686-w64-mingw32
cd src
sudo make
make deploy
(deploy files in /biblepay-evolution)
You can’t perform that action at this time.