Author Topic: Trouble getting the Ubuntu GUI up  (Read 2324 times)

0 Members and 1 Guest are viewing this topic.

Offline VoR0220

After "make BitShares" went through successfully, you can start the GUI manually from the command line:

Code: [Select]
programs/qt_wallet/bin/BitShares
If you also copied the binary and the .desktop file to /usr/local, the client should now appear in your desktop menu. (Not quite sure how Ubuntu handles that.)
Yup, that did it. Thanks a ton guys.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
After "make BitShares" went through successfully, you can start the GUI manually from the command line:

Code: [Select]
programs/qt_wallet/bin/BitShares
If you also copied the binary and the .desktop file to /usr/local, the client should now appear in your desktop menu. (Not quite sure how Ubuntu handles that.)
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline VoR0220

alright guys. I reinstalled it just the way it says in the documentation. Now how do I actually start the GUI? I seem to have built well. Went to the QT wallet page for some insight. Doesn't seem to be working but then again it hasn't been working for a while. I tried forcebuildweb and that doesn't seem to do anything.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

38PTSWarrior

  • Guest
Hm, someone needs to change the manual and put sudo in front of npm install, thank you

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
OK, if you install lineman globally you have to do that as root too.

What seems to have happened here is that something lineman-related was installed locally as root. That's why certain files/directories in the local tree now belong to root and can't be unlinked/deleted by the normal user. I think it is possible to install lineman locally, but you shouldn't do that as root.
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

38PTSWarrior

  • Guest
You can do it up to npm install without sudo but then it is necessary otherwise you will get the error VoR0220 explained. How do you do it without sudo npm install?

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
Don't run anything as root. This causes all kinds of permission problems, like what you're seeing now. Delete the folder and start from scratch.

The only thing that *needs* root permission is when you finally copy the generated executables to /usr/local/bin. Edit: ...and "npm install -g lineman".
« Last Edit: January 29, 2015, 09:10:57 am by pc »
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline VoR0220

you are missing lineman
Do as described here:
http://wiki.bitshares.org/index.php/Developer/Build#Configuration_and_Compilation_.28GUI.29

Everything appears to go smoothly until I try the second npm command.

Then I get this:

Code: [Select]
vor0220@VOR-Qosmio-X875:~/bitshares/programs/web_wallet$ npm install
npm WARN package.json bitshares-gui@0.0.1 No repository field.
npm WARN prefer global lineman@0.34.4 should be installed with -g
npm ERR! Error: EACCES, unlink '/home/vor0220/bitshares/programs/web_wallet/node_modules/.bin/lineman'
npm ERR!  { [Error: EACCES, unlink '/home/vor0220/bitshares/programs/web_wallet/node_modules/.bin/lineman']
npm ERR!   errno: 3,
npm ERR!   code: 'EACCES',
npm ERR!   path: '/home/vor0220/bitshares/programs/web_wallet/node_modules/.bin/lineman' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

npm ERR! System Linux 3.13.0-37-generic
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/vor0220/bitshares/programs/web_wallet
npm ERR! node -v v0.10.25
npm ERR! npm -v 1.3.10
npm ERR! path /home/vor0220/bitshares/programs/web_wallet/node_modules/.bin/lineman
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! stack Error: EACCES, unlink '/home/vor0220/bitshares/programs/web_wallet/node_modules/.bin/lineman'
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/vor0220/bitshares/programs/web_wallet/npm-debug.log
npm ERR! not ok code 0

If I just ran it as the root administrator, why would I need to run it again as root administrator? Seems odd and I'm not getting the results I think I should be getting. Any clarifications or advice from here?
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc

Offline VoR0220

I've been scouring throughout the forums to figure out how to get it to work. Did everything in the BUILD_UBUNTU Readme. Looked at old posts from arhag. Tried the make command and got this error:

Code: [Select]
[ 91%] Built target pack_web
[ 92%] Automoc for target web_update_utility
[ 92%] Built target web_update_utility_automoc
[ 93%] Built target web_update_utility
[ 93%] Automoc for target BitShares
[ 93%] Built target BitShares_automoc
-- Spawning lineman build...
CMake Error at GenerateHtDocs.cmake:16 (message):
  lineman build spawn failed: 'No such file or directory'


make[2]: *** [programs/qt_wallet/CMakeFiles/buildweb] Error 1
make[1]: *** [programs/qt_wallet/CMakeFiles/buildweb.dir/all] Error 2
make: *** [all] Error 2

Any suggestions on how to best go about getting the GUI up and running?
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads