Author Topic: Ubuntu GUI how to?  (Read 11295 times)

0 Members and 1 Guest are viewing this topic.

38PTSWarrior

  • Guest
Oh god, I'm so happy that I'm not building right now :)

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
Got the same build error  ???

merockstar

  • Guest
attempt to upgrade to 0.4.16rc1 resulted in this:

Code: [Select]
[ 92%] Building CXX object programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/main.cpp.o
In file included from /home/merockstar/bitsharesx/programs/utils/web_update_utility/main.cpp:1:0:
/home/merockstar/bitsharesx/programs/utils/web_update_utility/update_utility.hpp:5:26: fatal error: WebUpdates.hpp: No such file or directory
 #include <WebUpdates.hpp>
                          ^
compilation terminated.
make[2]: *** [programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/main.cpp.o] Error 1
make[1]: *** [programs/utils/web_update_utility/CMakeFiles/web_update_utility.dir/all] Error 2
make: *** [all] Error 2


merockstar

  • Guest
thank you very very much. xeroc and tonyk

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
Code: [Select]
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ git pull https://github.com/dacsunlimited/bitsharesx.git 0.4.15-a
fatal: Couldn't find remote ref 0.4.15-a
Unexpected end of command stream

I haven't been able to upgrade for a few versions now.

v0.4.15-a
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
these ones are the real version numbers:
https://github.com/dacsunlimited/bitsharesx/tags

don't take any other

merockstar

  • Guest
Code: [Select]
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ git pull https://github.com/dacsunlimited/bitsharesx.git 0.4.15-a
fatal: Couldn't find remote ref 0.4.15-a
Unexpected end of command stream

I haven't been able to upgrade for a few versions now.

Offline davidpbrown

Just to note, this does work on Linux Mint 17 as per Reply#6 and #11 above. This was done on a older laptop with only 0.5GB RAM and took ~12 hours, so looking forward to a time this is in a BitShares repository to avoid that.

The only bit I didn't do because it gave an error was the git checkout but not sure what value that adds. I couldn't determine easily what version number is now and slightly surprised that isn't move obvious within github.

Thanks then to 麥可貓 jimewu and puppies. :)
฿://1CBxm54Ah5hiYxiUtD7JGYRXykT5Z6ZuMc

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
moving from 0.4.5 to 0.4.6 merges the data directories of the cli and gui clients.  If you copy ~/BitShares X to ~/.BitSharesX you wont need to create  a new wallet or redownload the blockchain.  Please make sure that you aren't overwriting a wallet that is already in .BitSharesX
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
I updated my instructions.  Please let me know how it works for you, or if I have any typos.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline vikram

It would be great to get this on the community wiki if it's not already there.

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
There is also this. 

https://bitsharestalk.org/index.php?topic=5951.0

(for anyone searching and finding this thread.. the above looks to be a well written walk-through)

I speak for myself and only myself.

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
There is a guide for building qt_wallet of BitSharesX in ubuntu 14.04 here.
However, it's in chinese. So I roughly translate it as the following:

1. Install necessary packages:
Code: [Select]
$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
in Ubuntu 14.04, you also have to install qt5.3.0 and node.js from their official sites.

2. Fetch the source code

Code: [Select]
$ git clone https://github.com/BitShares/bitshares_toolkit.git
$ cd bitshares_toolkit
$ git submodule init
$ git submodule update
$ git checkout 0.2.1
$cmake -DINCLUDE_QT_WALLET=ON CMakeLists.txt

3. Prepare the web wallet
Code: [Select]
$ sudo npm install -g lineman
$ cd programs/web_wallet && npm install
$ cd ../../ && make buildweb

4. Build and run your qt_wallet
Code: [Select]
$ makeand you will get your qt_wallet at bitsharesx/programs/qt_wallet:
Code: [Select]
$ bitsharesx/programs/qt_wallet/BitSharesX



The make buildweb is definitely better than my way of doing it.  that copies the htdocs into the correct folder automatically for you.  I didn't build qt or nodejs from source though.  I got them out of the standard trusty repo.  I am installing a fresh os in a virtual machine to verify exactly which dependencies are needed.

**edit**  I had missed a dependency nodejs-legacy in my original post.  adding the following dependencies will prevent you from having to build nodejs from source.  I am currently building the web wallet, will update if I missed any qt dependencies.
Code: [Select]
sudo apt-get install qt5-default libqt5webkit5-dev npm nodejs-legacy
**double edit** I can now confirm that only those four extra dependencies are needed to build the qt_wallet on a fresh 14.04 ubuntu.
« Last Edit: July 23, 2014, 06:25:27 pm by puppies »
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Can someone checkin the htdocs somewhere?

Try https://www.dropbox.com/s/q1b429v945rqysp/htdocs.tar.gz

I'm not even sure if that link will work.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads