Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Compile Lycancoin on Ubuntu 16.04 using Autotools for version 1.1.2.7 and later
Initial setup & dependencies
----------------------------
```
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
sudo apt-get install libqrencode-dev
sudo apt-get install libminiupnpc-dev
sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install -y libdb4.8-dev libdb4.8++-dev
```
Download Lycancoin source code
------------------------------
```
cd ~
git clone https://github.com/lycancoin/lycancoin-release.git
```
Download and compile Berkley DB 4.8
-----------------------------------
```
cd ~
mkdir lycancoin-release/db4/
wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
tar -xzvf db-4.8.30.NC.tar.gz
cd db-4.8.30.NC/build_unix/
../dist/configure --enable-cxx --disable-shared --with-pic --prefix=/home/theusername/lycancoin-release/db4/
make install
```
Compile Bitcoin with Berkley DB 4.8
-----------------------------------
```
cd ~/lycancoin-release/
./autogen.sh
./configure LDFLAGS="-L/home/theusername/lycancoin-release/db4/lib/" CPPFLAGS="-I/home/theusername/lycancoin-release/db4/include/"
make -s -j5
```
Run Lycancoin Daemon/QT/Client
----------------------------
```
./src/lycancoind
./src/qt/lycancoin-qt
./src/lycancoin-cli
```
@lycancoin

This comment has been minimized.

Copy link
Owner Author

@lycancoin lycancoin commented Jun 28, 2021

If you have both Qt 4 and Qt 5 installed Autotools will default to Qt 4. Add "--with-qui-qt5" at the end of ./configure to force Qt 5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment