Author Topic: [SOLVED] Trouble with build BitSharesX GUI on Linux Mint  (Read 3101 times)

0 Members and 1 Guest are viewing this topic.

Offline FuLl

  • Full Member
  • ***
  • Posts: 101
    • View Profile
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/

Offline FuLl

  • Full Member
  • ***
  • Posts: 101
    • View Profile
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: 101
    • View Profile
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
user@host ~/bitsharesx $

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I created a pull request to let the devs fix it:
https://github.com/dacsunlimited/bitsharesx/pull/84/files

Thanks for pointing it out!

Offline mira

  • Full Member
  • ***
  • Posts: 135
    • View Profile
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: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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!

Offline FuLl

  • Full Member
  • ***
  • Posts: 101
    • View Profile
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 »