Author Topic: Setting up a linux wallet?  (Read 2114 times)

0 Members and 1 Guest are viewing this topic.

gabes

  • Guest
Hi recently I got into troubles buliding the QT wallet here: https://bitsharestalk.org/index.php?topic=13427.0
And now I found this thread with the same bug I described above, the corrupted config.json after running the app.
If you know how to treat this, please let me know.



Offline bitAndy

  • Full Member
  • ***
  • Posts: 68
    • View Profile
Thank you so much for all your instructions & links guys! I have a lot to learn with Linux!

I'll wait till tomorrow for the new version & have a go setting up!

Offline islandking

  • Sr. Member
  • ****
  • Posts: 378
  • The king of the island
    • View Profile
You can install and compile the client with the commands here:
https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md

Just make sure you compile the right version. The next version is coming out tomorrow so you may want to wait for the new release of 0.5
I've been working on a new electronic cash system that's fully peer-to-peer, with no trusted third party. - Satoshi

38PTSWarrior

  • Guest
I didn*t see that  zlib1g-dev is missing in the wiki. I definitely needed  zlib1g-dev to make it work.

Offline yak

those two commands are nearly identical, only difference is the second one also installs zlib1g-dev
the use of \'s is just to make it more human readable on a console without scrolling sideways

38PTSWarrior

  • Guest
For me this UBUNTU_BUILD.md worked:

These instructions worked on a fresh Ubuntu 14.04 LTS image.

    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/BitShares/bitshares.git
    cd bitshares
    git submodule init
    git submodule update
    cmake .
    make

For the Qt Wallet, some extra steps are required:

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

By default, the web wallet will not be rebuilt even after pulling new changes. To force the web wallet to rebuild, use `make forcebuildweb`.

The binary will be located at programs/qt_wallet/BitShares
The wallet can be installed as a local application capable of handling xts: URLs like so:

   sudo cp programs/qt_wallet/bin/BitShares /usr/local/bin/
   sudo mkdir -p /usr/local/share/icons/
   sudo cp programs/qt_wallet/images/qtapp80.png /usr/local/share/icons/BitShares.png
   sudo cp programs/qt_wallet/BitShares.desktop /usr/local/share/applications/


The instructions in the wiki somehow are different because when you copy/paste this :
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 zlib1g-dev

...it looks different in the terminal than with the UBUNTU_BUILD from the top of my posting.

Edit: Once it works please let me know if you can start it again after clicking "Quit" and it closes without errors. In case it will show an error, you can delete the config.json file. It could be that it will start downloading blocks from zero after you restart. If this happens, please let us know thank you
« Last Edit: January 13, 2015, 07:14:48 pm by 38PTSWarrior »

Offline fundomatic

  • Full Member
  • ***
  • Posts: 149
    • View Profile
I used these instructions

wiki.bitshares.org/index.php/Developer/Build

to install core client (command line interface).

There are instructions to install GUI client (wallet) too.

Offline yak

have you followed these yet?
https://github.com/BitShares/bitshares/blob/master/BUILD_UBUNTU.md

if you need anymore help lemme know

Offline bitAndy

  • Full Member
  • ***
  • Posts: 68
    • View Profile
I've just installed Lubuntu 14.10 onto a 32 bit laptop. It's the first time I've ever used Linux, are there step by step instructions on how to compile the wallet?

I've looked at Arhag's thread on compiling a wallet but pretty much all of it is going over my head. https://bitsharestalk.org/index.php?topic=5951.0

Should I learn the basics on compiling before I start this kind of task?