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: linux and the QT client... it's a pain  (Read 3213 times)

0 Members and 1 Guest are viewing this topic.

Online fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 4069
  • No Pain, No Gain
    • View Profile
    • BitShares 2.0 SmartCoin
  • BTS: fav
linux and the QT client... it's a pain
« on: November 23, 2013, 03:22:03 PM »

Hi,

just built protoshares on my freshly installed ubuntu... and it's a horrible experience.

first of all, the lack of a installation manual is hilarious.

but to the main problem:

although the client shows 8 connections it just won't sync properly, most of the time. and if it does, it stops after a short period.

any help?
« Last Edit: November 23, 2013, 03:42:16 PM by favdesu »
► How-to Buy BitShares: https://goo.gl/i9j2YZ

Offline luckybit

Re: linux and the QT client... it's a pain
« Reply #1 on: November 23, 2013, 03:48:01 PM »
At some point they need to just release the binaries or some instructions.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Online fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 4069
  • No Pain, No Gain
    • View Profile
    • BitShares 2.0 SmartCoin
  • BTS: fav
Re: linux and the QT client... it's a pain
« Reply #2 on: November 23, 2013, 04:01:56 PM »
At some point they need to just release the binaries or some instructions.

yeah..

at least wine qt is working
► How-to Buy BitShares: https://goo.gl/i9j2YZ

Online fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 4069
  • No Pain, No Gain
    • View Profile
    • BitShares 2.0 SmartCoin
  • BTS: fav
Re: linux and the QT client... it's a pain
« Reply #3 on: November 23, 2013, 04:32:45 PM »
Code: [Select]
walletdb.cpp:(.text+0x2df9): undefined reference to `SHA256_Update'
walletdb.cpp:(.text+0x2e40): undefined reference to `SHA256_Update'
libprotoshares.a(walletdb.o):walletdb.cpp:(.text+0x2e6c): more undefined references to `SHA256_Update' follow
libprotoshares.a(walletdb.o): In function `uint256 SerializeHash<CTransaction>(CTransaction const&, int, int) [clone .constprop.1254]':
walletdb.cpp:(.text+0x2ec1): undefined reference to `SHA256_Final'
walletdb.cpp:(.text+0x2ef6): undefined reference to `SHA256'
libprotoshares.a(walletdb.o): In function `ReadKeyValue(CWallet*, CDataStream&, CDataStream&, int&, std::vector<uint256, std::allocator<uint256> >&, bool&, bool&, std::string&, std::string&)':
walletdb.cpp:(.text+0x376f): undefined reference to `OPENSSL_cleanse'
walletdb.cpp:(.text+0x3903): undefined reference to `OPENSSL_cleanse'
walletdb.cpp:(.text+0x3a8a): undefined reference to `SHA256'
walletdb.cpp:(.text+0x3ad2): undefined reference to `SHA256'
walletdb.cpp:(.text+0x4a2d): undefined reference to `OPENSSL_cleanse'
walletdb.cpp:(.text+0x4a86): undefined reference to `OPENSSL_cleanse'
libprotoshares.a(walletdb.o): In function `CWalletDB::LoadWallet(CWallet*)':
walletdb.cpp:(.text+0x4e01): undefined reference to `Dbt::Dbt()'

tried to rebuilt. see above
► How-to Buy BitShares: https://goo.gl/i9j2YZ

Offline Evan

  • Full Member
  • ***
  • Posts: 75
    • View Profile
  • BTS: evan
Re: linux and the QT client... it's a pain
« Reply #4 on: November 23, 2013, 04:35:32 PM »
Hi,

just built protoshares on my freshly installed ubuntu... and it's a horrible experience.

first of all, the lack of a installation manual is hilarious.

but to the main problem:

although the client shows 8 connections it just won't sync properly, most of the time. and if it does, it stops after a short period.

any help?


What were the commands that you used to build protoshares-qt?

Is your Ubuntu installation up-to-date?  I ask since "freshly installed" does not necessarily mean up-to-date.

Are the required dependencies installed?

I have a functional protoshares-qt which I compiled on my Arch Linux 64-bit system.  I recall having a similar problem with syncing in the past, but I do not experience that after the most recent git commits.  I can share how I compiled it if that would be useful for you.

Online fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 4069
  • No Pain, No Gain
    • View Profile
    • BitShares 2.0 SmartCoin
  • BTS: fav
Re: linux and the QT client... it's a pain
« Reply #5 on: November 23, 2013, 04:48:25 PM »
used http://pastebin.com/b9BHARLS as reference.

and yes, all deps are installed
► How-to Buy BitShares: https://goo.gl/i9j2YZ

Offline Evan

  • Full Member
  • ***
  • Posts: 75
    • View Profile
  • BTS: evan
Re: linux and the QT client... it's a pain
« Reply #6 on: November 23, 2013, 05:23:31 PM »
I tried using the cmake method from the pastebin and got a lot of undefined references, then make failed.  I don't know if this might be due to differences between Arch and Ubuntu or user error on my part.

Code: [Select]
CMakeFiles/protosharesd.dir/build.make:91: recipe for target 'protosharesd' failed
make[2]: *** [protosharesd] Error 1
CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/protosharesd.dir/all' failed
make[1]: *** [CMakeFiles/protosharesd.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2

I used the qmake method to compile protoshares-qt successfully after ensuring all dependencies are installed:

Code: [Select]
git clone git://github.com/InvictusInnovations/ProtoShares.git
cd ProtoShares/
qmake-qt4 -makefile protoshares-qt.pro
make

Try substituting qmake if qmake-qt4 is not found on your system.

Online fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 4069
  • No Pain, No Gain
    • View Profile
    • BitShares 2.0 SmartCoin
  • BTS: fav
Re: linux and the QT client... it's a pain
« Reply #7 on: November 23, 2013, 05:28:48 PM »
thanks evan, qt make method worked!
► How-to Buy BitShares: https://goo.gl/i9j2YZ

Offline Evan

  • Full Member
  • ***
  • Posts: 75
    • View Profile
  • BTS: evan
Re: linux and the QT client... it's a pain
« Reply #8 on: November 23, 2013, 05:38:30 PM »
thanks evan, qt make method worked!

No problem, favdesu.  I'm glad that it worked for you.

Offline TotalPanda

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: linux and the QT client... it's a pain
« Reply #9 on: November 23, 2013, 06:27:41 PM »
Xubuntu is more friendly 4 newbie like me

Offline Magic

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: linux and the QT client... it's a pain
« Reply #10 on: November 29, 2013, 02:57:32 PM »
Code: [Select]
EXCEPTION: 9key_error       
CKey::CKey() : EC_KEY_new_by_curve_name failed       
protoshares in Runaway exception       

protoshares-qt: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:81: boost::condition_variable::~condition_variable(): Assertion `!ret' failed.
Aborted (core dumped)

Built ok, error on start. Libboost differs on .rpm instead of .deb distros? :)
OS - Fedora 19 64 bit
« Last Edit: November 29, 2013, 03:00:47 PM by Magic »

Offline devilfish

  • Full Member
  • ***
  • Posts: 98
    • View Profile
Re: linux and the QT client... it's a pain
« Reply #11 on: November 30, 2013, 04:19:44 AM »
BTC: 1MqCxQ2qD7ZuS3ELFY43wfaBTbA2XkYwDP
PTS: PiuFEJHz6zScALgPWzcu2SDKtWJW4cnUFi
XPM: Af5qzgsEwWaHZdGUq8dUoHkhmH4XBmnGW9

Offline Evan

  • Full Member
  • ***
  • Posts: 75
    • View Profile
  • BTS: evan
Re: linux and the QT client... it's a pain
« Reply #12 on: November 30, 2013, 04:47:50 AM »
Code: [Select]
EXCEPTION: 9key_error       
CKey::CKey() : EC_KEY_new_by_curve_name failed       
protoshares in Runaway exception       

protoshares-qt: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:81: boost::condition_variable::~condition_variable(): Assertion `!ret' failed.
Aborted (core dumped)

Built ok, error on start. Libboost differs on .rpm instead of .deb distros? :)
OS - Fedora 19 64 bit

OpenSSL differs on .rpm distros, but the parts needed for Bitcoin and its derivatives should be enabled by default in Fedora 20.  I have no experience compiling Bitcoin on Fedora myself, however.

Offline reorder

  • Sr. Member
  • ****
  • Posts: 400
    • View Profile
Re: linux and the QT client... it's a pain
« Reply #13 on: November 30, 2013, 08:22:00 AM »
Code: [Select]
EXCEPTION: 9key_error       
CKey::CKey() : EC_KEY_new_by_curve_name failed       
protoshares in Runaway exception       

protoshares-qt: /usr/include/boost/thread/pthread/condition_variable_fwd.hpp:81: boost::condition_variable::~condition_variable(): Assertion `!ret' failed.
Aborted (core dumped)

Built ok, error on start. Libboost differs on .rpm instead of .deb distros? :)
OS - Fedora 19 64 bit

Redhat does not include EC crypto in their bundled OpenSSL due to US export restrictions. You have to build one yourself: http://danielpocock.com/ussing-ecc-ecdsa-in-openssl-and-strongswan-fedora

Offline pvaladares

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: linux and the QT client... it's a pain
« Reply #14 on: December 06, 2013, 10:39:57 PM »
I used the qmake method to compile protoshares-qt successfully after ensuring all dependencies are installed:

Code: [Select]
git clone git://github.com/InvictusInnovations/ProtoShares.git
cd ProtoShares/
qmake-qt4 -makefile protoshares-qt.pro
make

Try substituting qmake if qmake-qt4 is not found on your system.

That made the trick.
« Last Edit: December 07, 2013, 01:06:58 AM by pvaladares »
PTS : PkbJAm9uxuGgC9n2NVwWYs8bvX3Mj8uAg3 | MMC : M91vp33SSVBG7N3X9CbrgMcwSBxTDQeDAb
BTC : 1CrAkkYZrVCnwDKSBw3bcnMSYMakEhfB6N
Trade BTC/PTS @ cryptsy.com

 

Google+