bitshares / bitshares1-core

Software to run the old chain (before 2015-10-13). Code for current chain is https://github.com/bitshares/bitshares-core
https://bitshares.org/
The Unlicense
219 stars 174 forks source link

Build instructions for Linux #27

Closed jcalfee closed 10 years ago

jcalfee commented 10 years ago

Please provide BUILD_LINUX.md or BUILD_UBUNTU.md ..

nmushegian commented 10 years ago

enjoy https://github.com/BitShares/bitshares_toolkit/blob/master/BUILD_UBUNTU.md

jcalfee commented 10 years ago

I was able to compile in a Ubuntu 14.04 LXC container. Thank you...

My host is Ubuntu 12.04 and its repository did not have the recent versions of cmake and boost that you require. Rather than resolve these manually at some risk to my primary OS, I use a LXC container to help separate the environment from my main machine. This should work for any version of Linux that has LXC with the Ubuntu 14.04 template. This introduces a learning curve for LXC containers...

UBUNTU 14.04 LTS (repository has required versions of cmake and boost)

sudo su apt-get install -y lxc lxc-create -n bitshares -t ubuntu -- --release trusty lxc-start -d -n bitshares lxc-attach -n bitshares

http://askubuntu.com/questions/452398/lxc-trusty-ubuntu-14-04-network-interface-is-not-starting

The network interface required manual starting: ifup eth0

ifup eth0 locale-gen en_US.UTF-8 apt-get install -y git git clone https://github.com/bitshares/bitshares_toolkit.git cd bitshares_toolkit cat BUILD_UBUNTU.md #compare or upgrade the following commands: apt-get update apt-get install -y git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev build-essential libbz2-dev libboost-dev libboost-all-dev git submodule init git submodule update cmake . make