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: [SOLVED] Trouble with build BitSharesX GUI on Linux Mint  (Read 439 times)

0 Members and 1 Guest are viewing this topic.

Offline FuLl

  • Full Member
  • ***
  • Posts: 96
    • View Profile
[SOLVED] Trouble with build BitSharesX GUI on Linux Mint
« on: October 26, 2014, 12:09:48 AM »

Hi,

I had to do the following differently during build to get past errors I encountered during the process.

1. sudo aptitude install qttools5-dev

2a. After the step: cd programs/web_wallet

2b. npm config set registry http://registry.npmjs.org/

3a. After the step: sudo npm install -g lineman

3b. sudo npm install


When I get to the step where I do: make BitSharesX

I'm doing this: sudo cp programs/qt_wallet/bin/BitSharesX /usr/local/bin/

...to install it system wide, but there's nothing in /home/full/bitsharesx/programs/qt_wallet/bin

So I guess it didn't build properly.

I'm following the instructions on the wiki to build it with the QT GUI on Ubuntu 14.04.

How do I fix it?

Thanks,
-F
« Last Edit: October 27, 2014, 06:27:27 PM by FuLl »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12057
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Trouble with build BitSharesX GUI on Linux Mint
« Reply #1 on: October 26, 2014, 12:53:31 PM »
can you run
    make BitSharesX
again and copy/paste the last few lines here ..

if it doesn't say 100% anywhere there .. there went something wrong!
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline mira

  • Full Member
  • ***
  • Posts: 135
    • View Profile
Re: Trouble with build BitSharesX GUI on Linux Mint
« Reply #2 on: October 26, 2014, 08:37:11 PM »
I don't know if this would help/work for you, but I just posted the steps that got it running easily for me on Linux Mint 17:

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


Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12057
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Trouble with build BitSharesX GUI on Linux Mint
« Reply #3 on: October 26, 2014, 08:59:58 PM »
I created a pull request to let the devs fix it:
https://github.com/dacsunlimited/bitsharesx/pull/84/files

Thanks for pointing it out!
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline FuLl

  • Full Member
  • ***
  • Posts: 96
    • View Profile
Re: Trouble with build BitSharesX GUI on Linux Mint
« Reply #4 on: October 27, 2014, 06:16:40 PM »
can you run
    make BitSharesX
again and copy/paste the last few lines here ..

if it doesn't say 100% anywhere there .. there went something wrong!

Code: [Select]
[ 95%] Built target bts_mail
-- Target htdocs directory already exists, exiting...
[ 95%] Built target buildweb
[ 96%] Generating ru_RU.qm
/bin/sh: 1: /usr/lib/x86_64-linux-gnu/qt5/bin/lrelease: not found
make[3]: *** [programs/qt_wallet/ru_RU.qm] Error 127
make[2]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/all] Error 2
make[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule] Error 2
make: *** [BitSharesX] Error 2
[email protected] ~/bitsharesx $

Offline FuLl

  • Full Member
  • ***
  • Posts: 96
    • View Profile
Re: Trouble with build BitSharesX GUI on Linux Mint
« Reply #5 on: October 27, 2014, 06:27:04 PM »
I don't know if this would help/work for you, but I just posted the steps that got it running easily for me on Linux Mint 17:

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

Thanks, this helped.

I was missing qttools5-dev-tools, installed it, all went well with the build, & I'm able to move on through the next step.



One final thing, on my system, I didn't have a dir to copy the .desktop file to, so I had to add a step:
Code: [Select]
sudo mkdir /usr/local/share/applications
Before executing the final step:
Code: [Select]
sudo cp programs/qt_wallet/BitSharesX.desktop /usr/local/share/applications/

Offline FuLl

  • Full Member
  • ***
  • Posts: 96
    • View Profile
Re: [SOLVED] Trouble with build BitSharesX GUI on Linux Mint
« Reply #6 on: October 27, 2014, 06:35:47 PM »
I documented the process, & for future reference here it is.

I've installed these apps on my system, of course not all of them are necessary to build BitSharesX, but some of them certainly are.
Code: [Select]
aptitude synaptic htop iotop kate chromium-browser git autotools-dev build-essential automake autoconf ntp libssl-dev libdb-dev libdb++-dev libboost-all-dev libqrencode-dev kate chromium-browser cmake g++ libz-dev libssl-dev libreadline-dev qt5-default libqt5webkit5-dev electrum python-qt4 python-pip python-dev python-slowaes uuid-dev libdb-dev zip openssl libicu-dev libbz2-dev libboost-dev zlib1g-dev npm nodejs-legacy qttools5-dev qttools5-dev-tools

The complete set of commands I executed to install were as follows:

Code: [Select]
git clone https://github.com/dacsunlimited/bitsharesx

cd bitsharesx

git submodule init

git submodule update

cmake -DINCLUDE_QT_WALLET=ON .

cd programs/web_wallet

npm config set registry http://registry.npmjs.org/

sudo npm install -g lineman

sudo npm install

cd -

make buildweb

make BitSharesX

sudo cp programs/qt_wallet/bin/BitSharesX /usr/local/bin/

sudo mkdir -p /usr/local/share/icons/

sudo cp programs/qt_wallet/images/qtapp80.png /usr/local/share/icons/BitSharesX.png

sudo mkdir /usr/local/share/applications

sudo cp programs/qt_wallet/BitSharesX.desktop /usr/local/share/applications/

 

Google+