BitShares Forum

Main => Technical Support => Topic started by: mira on October 26, 2014, 08:31:41 pm

Title: Building BitsharesX on Linux Mint 17
Post by: mira on October 26, 2014, 08:31:41 pm
These steps, modified slightly from those on github, worked seamlessly for me.  (for BitSharesX using QT wallet)

(Thanks to davidpbrown for clarification in this post: https://bitsharestalk.org/index.php?topic=7414.0 (https://bitsharestalk.org/index.php?topic=7414.0))

I'm posting it in the hope it could simplify the process for other linux mint/ubuntu users grappling with how to build... 

~~~~~~~~~~~~~~~~~~~~~~~~~~

sudo apt-get update
sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev libbz2-dev libboost-dev libboost-all-dev
git clone https:// github .com/dacsunlimited/bitsharesx.git    [remove the spaces in the github address, forum won't let me post the link]
cd bitsharesx
git submodule init
git submodule update
cmake
make

sudo apt-get install npm qt5-default libqt5webkit5-dev qttools5-dev qttools5-dev-tools nodejs-legacy
cd bitsharesx
cmake -DINCLUDE_QT_WALLET=ON
cd programs/web_wallet
sudo npm install -g lineman
sudo npm install
cd -
make buildweb
make BitSharesX

make forcebuildweb

~~~~~~~~~~~~~~~~~~~~~~~~~~

Instructions said the  BitShareX binary would be installed in programs/qt_wallet/, but it was in programs/qt_wallet/bin/


Trying to get build to work was like spending days trying (unsuccesfully) to learn about partial differential equations to finally execute a process that ended up being as easy as tying my shoes :-/  -- it just took changing a few keystrokes.
Title: Re: Building BitsharesX on Linux Mint 17
Post by: xeroc on October 26, 2014, 08:35:09 pm
Somewhere there is an inconsistency in the instructions because the wiki states it correctly:
http://wiki.bitshares.org/index.php/BuildInstructionsBitSharesX#System-wide_Installation_.28optional.29
Title: Re: Building BitsharesX on Linux Mint 17
Post by: mira on October 26, 2014, 08:40:31 pm
Yes, I was following the instructions on github, not bitshares wiki:

https:// github  .com/dacsunlimited/bitsharesx/blob/master/BUILD_UBUNTU.md

at the end of the page it reads:   
"The binary will be located at programs/qt_wallet/BitSharesX The wallet can be installed as a local application capable of handling xts: URLs like so:
sudo cp programs/qt_wallet/BitSharesX /usr/local/bin/"


It took me a while to realize it had installed but was just in a different folder...






(apologies, as newbie, don't know how to post a link properly here yet)
Title: Re: Building BitsharesX on Linux Mint 17
Post by: liondani on October 26, 2014, 09:55:28 pm
I had never problems with original instructions for my mint 7 setup (it's based on Ubuntu )

Sent from my ALCATEL ONE TOUCH 997D