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: Trouble getting the Ubuntu GUI up  (Read 544 times)

0 Members and 1 Guest are viewing this topic.

Offline VoR0220

Trouble getting the Ubuntu GUI up
« on: January 28, 2015, 11:02:12 AM »

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

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12339
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Trouble getting the Ubuntu GUI up
« Reply #1 on: January 28, 2015, 11:55:06 AM »
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline VoR0220

Re: Trouble getting the Ubuntu GUI up
« Reply #2 on: January 28, 2015, 11:32:20 PM »
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]
[email protected]:~/bitshares/programs/web_wallet$ npm install
npm WARN package.json [email protected] No repository field.
npm WARN prefer global [email protected] 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 pc

  • Hero Member
  • *****
  • Posts: 1280
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BTS: cyrano
  • Witness: cyrano
  • Payrate: 100%
Re: Trouble getting the Ubuntu GUI up
« Reply #3 on: January 29, 2015, 08:53:46 AM »
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 »
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

38PTSWarrior

  • Guest
Re: Trouble getting the Ubuntu GUI up
« Reply #4 on: January 29, 2015, 09:05:27 AM »
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: 1280
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BTS: cyrano
  • Witness: cyrano
  • Payrate: 100%
Re: Trouble getting the Ubuntu GUI up
« Reply #5 on: January 29, 2015, 09:13:41 AM »
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.
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

38PTSWarrior

  • Guest
Re: Trouble getting the Ubuntu GUI up
« Reply #6 on: January 29, 2015, 09:34:39 AM »
Hm, someone needs to change the manual and put sudo in front of npm install, thank you

Offline VoR0220

Re: Trouble getting the Ubuntu GUI up
« Reply #7 on: January 29, 2015, 10:27:36 AM »
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

Offline pc

  • Hero Member
  • *****
  • Posts: 1280
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BTS: cyrano
  • Witness: cyrano
  • Payrate: 100%
Re: Trouble getting the Ubuntu GUI up
« Reply #8 on: January 29, 2015, 11:01:09 AM »
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.)
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 VoR0220

Re: Trouble getting the Ubuntu GUI up
« Reply #9 on: January 29, 2015, 11:04:59 AM »
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

 

Google+