Author Topic: Ubuntu GUI how to?  (Read 11200 times)

0 Members and 1 Guest are viewing this topic.

merockstar

  • Guest
apt-get install qttools5-dev qttools5-dev-tools

worked great. thanks!

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
In fact .. it is not so easy to build binaries for linux systems as you need to precompile them for almost each distribution independently ..

However, they could publish binaries for at least ubuntu

that's true, the most linux users use Ubuntu  or distributions based on Ubuntu (like Mint for example)...
the more "advanced" users should not have problems building the wallet visiting  https://github.com/dacsunlimited/bitsharesx/blob/master/BUILD_UBUNTU.md   for more instructions

there are problems that come up every once and a while (new dependencies, changes to the build system that break things, new build options) which could throw even "advanced" users. i've had to stop building the GUI for my PPA because out-of-tree builds are broken, and when I tried to fix them some translation bugs popped up. real-job prevents me from really diving into fixing them so I have to see if it is fixed later on. Not complaining, just pointing out that it is hard even for advanced users.
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
In fact .. it is not so easy to build binaries for linux systems as you need to precompile them for almost each distribution independently ..

However, they could publish binaries for at least ubuntu

that's true, the most linux users use Ubuntu  or distributions based on Ubuntu (like Mint for example)...
the more "advanced" users should not have problems building the wallet visiting  https://github.com/dacsunlimited/bitsharesx/blob/master/BUILD_UBUNTU.md   for more instructions

Offline pc

  • Hero Member
  • *****
  • Posts: 1530
    • View Profile
    • Bitcoin - Perspektive oder Risiko?
  • BitShares: cyrano
I have packages for Fedora + openSUSE (and CLI only for CentOS): http://software.opensuse.org/download.html?project=home%3Ap_conrad%3Abts&package=BitSharesX . openSUSE users must also add the KDE:Qt5 repository for the latest qt libraries.

Donations welcome btsx:cyrano :-)
Bitcoin - Perspektive oder Risiko? ISBN 978-3-8442-6568-2 http://bitcoin.quisquis.de

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
In fact .. it is not so easy to build binaries for linux systems as you need to precompile them for almost each distribution independently ..

However, they could publish binaries for at least ubunut

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
dacslimited should provide, except the windows and mac binaries,
Linux binaries also for download ...

it's not a big deal for Dacslimited but a very big deal for the average Linux user/member

Don't underestimate penguins please!

« Last Edit: September 23, 2014, 01:21:47 pm by liondani »

Offline abrakadabra

  • Full Member
  • ***
  • Posts: 72
    • View Profile
Code: [Select]
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs$ git submodule update
error: The following untracked working tree files would be overwritten by checkout:
app/css/main.less
Please move or remove them before you can switch branches.
Aborting
Unable to checkout '241699f7ce59e63d0d8e15546a6d617ebd18486e' in submodule path 'web_wallet'
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs$ cd web_wallet/
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet$ ls
app  config  dist  generated  Gruntfile.js  LICENSE.md  node_modules  package.json  README.md  reference_app  spec  spec-e2e  tasks  vendor
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet$ cd app
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app$ ls
css  img  js  pages  static  templates
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app$ cd css/
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ ls
footer.css  forms.css  help.css  layout.css  main.css  main.less  market.css  my-ng-grid.css  spinner.css  toolbar.css
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ mv main.less ~/main.less
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ ls
footer.css  forms.css  help.css  layout.css  main.css  market.css  my-ng-grid.css  spinner.css  toolbar.css
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ cd ~/bitsharesx/
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ git submodule update
Submodule path 'programs/web_wallet': checked out '241699f7ce59e63d0d8e15546a6d617ebd18486e'
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ cmake -DINCLUDE_QT_WAALLET=ON .
-- Using custom FindBoost.cmake
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
-- Using custom FindBoost.cmake
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   coroutine
-- Configuring BitShares on Linux
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Configuring project fc located in: /home/merockstar/bitsharesx/libraries/fc
-- Configuring fc to build on Unix/Apple
-- Using custom FindBoost.cmake
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
--   iostreams
--   coroutine
-- Finished fc module configuration...
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Enabling Bitcoin Core Wallet Imports
CMake Error at programs/qt_wallet/CMakeLists.txt:51 (find_package):
  By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5LinguistTools", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/merockstar/bitsharesx/CMakeFiles/CMakeOutput.log".

I vaguely recall encountering this error before but I couldn't figure out how to fix it.

git submodule update wouldn't run until I moved /web_wallet/app/main/main.less somwhere else, then I get this on cmake. I think I have to update something.
apt-get install qttools5-dev qttools5-dev-tools

merockstar

  • Guest
Code: [Select]
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs$ git submodule update
error: The following untracked working tree files would be overwritten by checkout:
app/css/main.less
Please move or remove them before you can switch branches.
Aborting
Unable to checkout '241699f7ce59e63d0d8e15546a6d617ebd18486e' in submodule path 'web_wallet'
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs$ cd web_wallet/
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet$ ls
app  config  dist  generated  Gruntfile.js  LICENSE.md  node_modules  package.json  README.md  reference_app  spec  spec-e2e  tasks  vendor
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet$ cd app
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app$ ls
css  img  js  pages  static  templates
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app$ cd css/
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ ls
footer.css  forms.css  help.css  layout.css  main.css  main.less  market.css  my-ng-grid.css  spinner.css  toolbar.css
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ mv main.less ~/main.less
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ ls
footer.css  forms.css  help.css  layout.css  main.css  market.css  my-ng-grid.css  spinner.css  toolbar.css
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx/programs/web_wallet/app/css$ cd ~/bitsharesx/
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ git submodule update
Submodule path 'programs/web_wallet': checked out '241699f7ce59e63d0d8e15546a6d617ebd18486e'
merockstar@merockstar-HP-Pavilion-dv6-Notebook-PC:~/bitsharesx$ cmake -DINCLUDE_QT_WAALLET=ON .
-- Using custom FindBoost.cmake
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
-- Using custom FindBoost.cmake
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   coroutine
-- Configuring BitShares on Linux
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Configuring project fc located in: /home/merockstar/bitsharesx/libraries/fc
-- Configuring fc to build on Unix/Apple
-- Using custom FindBoost.cmake
-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   thread
--   date_time
--   system
--   filesystem
--   program_options
--   signals
--   serialization
--   chrono
--   unit_test_framework
--   context
--   locale
--   iostreams
--   coroutine
-- Finished fc module configuration...
-- Using  as BerkeleyDB root
-- Looking for: db_cxx-6.0
-- debug/usr/lib/x86_64-linux-gnu/libdb_cxx.sooptimized/usr/lib/x86_64-linux-gnu/libdb_cxx.so
-- Found BerkeleyDB: /usr/include 
-- Enabling Bitcoin Core Wallet Imports
CMake Error at programs/qt_wallet/CMakeLists.txt:51 (find_package):
  By not providing "FindQt5LinguistTools.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "Qt5LinguistTools", but CMake did not find one.

  Could not find a package configuration file provided by "Qt5LinguistTools"
  with any of the following names:

    Qt5LinguistToolsConfig.cmake
    qt5linguisttools-config.cmake

  Add the installation prefix of "Qt5LinguistTools" to CMAKE_PREFIX_PATH or
  set "Qt5LinguistTools_DIR" to a directory containing one of the above
  files.  If "Qt5LinguistTools" provides a separate development package or
  SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!
See also "/home/merockstar/bitsharesx/CMakeFiles/CMakeOutput.log".

I vaguely recall encountering this error before but I couldn't figure out how to fix it.

git submodule update wouldn't run until I moved /web_wallet/app/main/main.less somwhere else, then I get this on cmake. I think I have to update something.

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
i used buildweb, what's the diff? should I recompile?

buildweb only works if you have never built the qt wallet before. If you rebuild the qt wallet, you have to do forcebuildweb otherwise it will never update the user interface in the qt wallet.

okay so that builds the web wallet (which the qt client uses to display the interface).

and I'm fine now even though I didn't use forcebuildweb because the GUI likely hasn't changed since I last compiled.

however, in the future I'll want to use forcebuildweb to make sure that any gui changes get used.

I understand?

yes  :)
it's done this way so the c++ developers don't need to spend time recompiling the web interface when they are busy working on the guts of the program. At some point in the future it will probably change, but for now it's probably more important to make it easier for the developers than "expert" users that will compile it ourselves anyways!
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

merockstar

  • Guest
i used buildweb, what's the diff? should I recompile?

buildweb only works if you have never built the qt wallet before. If you rebuild the qt wallet, you have to do forcebuildweb otherwise it will never update the user interface in the qt wallet.

okay so that builds the web wallet (which the qt client uses to display the interface).

and I'm fine now even though I didn't use forcebuildweb because the GUI likely hasn't changed since I last compiled.

however, in the future I'll want to use forcebuildweb to make sure that any gui changes get used.

I understand?

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
i used buildweb, what's the diff? should I recompile?

buildweb only works if you have never built the qt wallet before. If you rebuild the qt wallet, you have to do forcebuildweb otherwise it will never update the user interface in the qt wallet.
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline Riverhead

If it worked you're fine.

merockstar

  • Guest
probably should be updated to the new build targets

Code: [Select]
git pull
git checkout v0.4.16-RC1
git submodule init
git submodule update
git cmake -DINCLUDE_QT_WALLET=ON .
make bitshares_client
make forcebuildweb
make BitSharesX

note: make forcebuildweb is different

i used buildweb, what's the diff? should I recompile?

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
probably should be updated to the new build targets

Code: [Select]
git pull
git checkout v0.4.16-RC1
git submodule init
git submodule update
git cmake -DINCLUDE_QT_WALLET=ON .
make bitshares_client
make forcebuildweb
make BitSharesX

note: make forcebuildweb is different
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

merockstar

  • Guest
Riverhead's instructions in this thread worked for me.

Code: [Select]
git pull
git checkout v0.4.16-RC1
git submodule init
git submodule update
git cmake -DINCLUDE_QT_WALLET=ON .
make bitshares_client
make buildweb
make BitSharesX

trick seems to be to add git checkout line, and to compile command line and gui separately.