Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Ubuntu/Linux client for BitsharesX  (Read 591 times)

0 Members and 1 Guest are viewing this topic.

Offline scot

  • Newbie
  • *
  • Posts: 2
    • View Profile
Ubuntu/Linux client for BitsharesX
« on: September 11, 2014, 04:08:10 PM »

Hi,
I am user of Ubuntu Linux.Currently there is no client for Ubuntu.
Are you going to create one?If yes,when?
thanks

Offline svk

Re: Ubuntu/Linux client for BitsharesX
« Reply #1 on: September 11, 2014, 04:12:06 PM »
There is a well functioning client for Ubuntu/Linux, you just need to compile it yourself. It's quite simple, you can find the instructions here:

http://wiki.bitshares.org/index.php/BuildInstructionsBitSharesX#Debian.2FUbuntu

Worker: dev.bitsharesblocks

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: Ubuntu/Linux client for BitsharesX
« Reply #2 on: September 11, 2014, 06:10:45 PM »
i suggest learning to compile yourself, but if you want you can use the PPA in my signature. You would have to trust that I don't do anything nefarious. I'm a delegate and you are already running software on your computer that I compiled (I'm a DD and Ubuntu contributor), so you are already trusting me.

Even so, I think you should try compiling even if it just gets you closer to the code
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 lafona

Re: Ubuntu/Linux client for BitsharesX
« Reply #3 on: September 13, 2014, 02:22:56 AM »
Hi I am also a user of Ubuntu and I have been having difficulty with the build. It is not a fresh install as it is my everyday computer but I have tried to set the dependencies to the right versions(boost 1.54 etc). However,  every time I go through the process listed above it crashes when it gets to 75%. Any help would be appreciated. Thanks

Here are the last few lines.

[ 75%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o
/home/lafona/Applications/bts/bitsharesx/libraries/blockchain/chain_database.cpp: In member function ‘void bts::blockchain::chain_database::open(const fc::path&, fc::optional<fc::path>, std::function<void(float)>)’:
/home/lafona/Applications/bts/bitsharesx/libraries/blockchain/chain_database.cpp:1171:63: internal compiler error: in calc_dfs_tree, at dominance.c:401
    } FC_RETHROW_EXCEPTIONS( warn, "", ("data_dir",data_dir) ) }
                                                               ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccjrG95c.out file, please attach this to your bugreport.
make[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 1
make[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2
make: *** [all] Error 2
BTS Witnesses: delegate-1.lafona     Thread: https://bitsharestalk.org/index.php/topic,21569.msg280911/topicseen.html#msg280911
MUSE Witness: delegate-1.lafona
Witness information: https://github.com/lafona/delegate-1.lafona

Offline pc

  • Hero Member
  • *****
  • Posts: 1013
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BTS: cyrano
  • Witness: cyrano
  • Payrate: 100%
Re: Ubuntu/Linux client for BitsharesX
« Reply #4 on: September 13, 2014, 05:51:54 AM »
An "internal compiler error" is usually caused by insufficient RAM. You need to add more swapspace for compiling. Or even better - add more RAM. :-)
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline jernau

  • Full Member
  • ***
  • Posts: 78
    • View Profile
Re: Ubuntu/Linux client for BitsharesX
« Reply #5 on: September 13, 2014, 08:17:45 AM »
Also, you might try closing all applications. Better still, log in without X at the log in screen so you get to a TTY screen (just a black screen with text) and compile from there.
PTS: PgiEykg2RATYwWYhFtyNRqwSxQyEApLSmW

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
Re: Ubuntu/Linux client for BitsharesX
« Reply #6 on: September 13, 2014, 08:21:38 AM »
An "internal compiler error" is usually caused by insufficient RAM. You need to add more swapspace for compiling. Or even better - add more RAM. :-)

For me 4 GB of Swap wasn't enough. It worked with 8 GB...

Offline pc

  • Hero Member
  • *****
  • Posts: 1013
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BTS: cyrano
  • Witness: cyrano
  • Payrate: 100%
Re: Ubuntu/Linux client for BitsharesX
« Reply #7 on: September 13, 2014, 08:30:54 AM »
Huh? I'm regularly building it on a netbook with 1G RAM + 1G swap.
Are you using make -j?
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12065
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Ubuntu/Linux client for BitsharesX
« Reply #8 on: September 13, 2014, 10:34:47 AM »
that issue is GCC related ….. i though it is fixed in the latest release.
but you can alternatively also use CLANG for comilation:
https://bitsharestalk.org/index.php?topic=8510.msg110667#msg110667
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
Re: Ubuntu/Linux client for BitsharesX
« Reply #9 on: September 13, 2014, 10:57:59 AM »
Huh? I'm regularly building it on a netbook with 1G RAM + 1G swap.
Are you using make -j?

make -j? didnt help.

Offline pc

  • Hero Member
  • *****
  • Posts: 1013
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BTS: cyrano
  • Witness: cyrano
  • Payrate: 100%
Re: Ubuntu/Linux client for BitsharesX
« Reply #10 on: September 13, 2014, 12:16:24 PM »
No... I was asking if you're using the -j flag when running make. That would mean several compiler processes running in parallel, to make better use of multi-core CPUs. Of course that also requires much more memory and only makes sense when you don't run into swapping.

High optimization levels also consume more memory, and 64bit architectures require more than 32bit. I really don't see why you should need several GB, though.
Please vote for my BitShares witness "cyrano" and for my STEEM witness "cyrano.witness"!
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline santaclause102

  • Hero Member
  • *****
  • Posts: 2486
    • View Profile
Re: Ubuntu/Linux client for BitsharesX
« Reply #11 on: September 13, 2014, 12:22:48 PM »
I compiled it with 4GB Swap and make -j (as you described) as well as with a 4 GB Swap and without make -j. The only thing that worked was to increase the swap to 8 GB (no make -j).

 

Google+