0 Members and 1 Guest are viewing this topic.
pacman -S nodejspacman -U /var/cache/pacman/pkg/nodejs-0.10.32-...
I am having the same issues not sure if they are bitshares related or lineman related
npm ERR! Linux 3.17.2-1-ARCHnpm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" "lineman" "--prefix=/home/jason/bin/.global_npm" "-g"npm ERR! node v0.10.33npm ERR! npm v2.1.8npm ERR! code ELIFECYCLEnpm ERR! js2coffee@0.2.7 preinstall: `npm run-script ./cyclic.js`npm ERR! Exit status 1npm ERR! npm ERR! Failed at the js2coffee@0.2.7 preinstall script 'npm run-script ./cyclic.js'.npm ERR! This is most likely a problem with the js2coffee package,npm ERR! not with npm itself.npm ERR! Tell the author that this fails on your system:npm ERR! npm run-script ./cyclic.jsnpm ERR! You can get their info via:npm ERR! npm owner ls js2coffeenpm ERR! There is likely additional logging output above.npm ERR! Please include the following file with any support request:npm ERR! /home/jason/tmp/git/bitshares/programs/web_wallet/npm-debug.log
###### archlinux #######pacman -S clang#git clone https://github.com/dacsunlimited/bitsharesx.gitgit clone https://github.com/BitShares/bitshares.gitcd bitsharesgit pullgit submodule initgit submodule updatecd programs/web_walletnpm install lineman --prefix=/home/jason/bin/.global_npm -gnpm installcd -rm -rf CMakeCache.txt CMakeFiles/export CC=clang;export CXX=clang++cmake -DINCLUDE_QT_WALLET=ON .make BitSharesstrip ~/tmp/git/bitshares/programs/qt_wallet/bin/BitShares###### archlinux ######
I'd call this a bug in the qt_wallet .. would you please report it at github?http://wiki.bitshares.org/index.php/BitShares_X_Solutions#Reporting_bugs_to_the_developers
QObject::startTimer: Timers can only be used with threads started with QThreadQObject::startTimer: Timers can only be used with threads started with QThread
Is Open Orders and Order history working on archlinux "client_version": "v0.4.16" gui?
Quote from: capoeira on September 09, 2014, 01:16:34 pmturns out that Arch's boost is "too new". read the last two coments: https://aur.archlinux.org/packages/bitsharesx/0.4.13 has fixes for that
turns out that Arch's boost is "too new". read the last two coments: https://aur.archlinux.org/packages/bitsharesx/
Are you compiling with multiple threads?
Also, is your Arch completely up to date?
Code: [Select]/usr/include/boost/atomic/atomic.hpp:31:16: error: target of using declaration conflicts with declaration already in scopeusing atomics::atomic;your boost library is up-to-date?
/usr/include/boost/atomic/atomic.hpp:31:16: error: target of using declaration conflicts with declaration already in scopeusing atomics::atomic;
Just a bit of help. Try the plain bitsharesx package: https://aur.archlinux.org/packages/bitsharesx/I managed to make that one compile and can maybe help you with any errors. Post the full error log here.
based on https://aur.archlinux.org/packages/bitshares-x/PKGBUILDCode: [Select]# Maintainer: Qhor Vertoe <vertoe at qhor dot net># Contributor: Noel Maersk <veox at wemakethings dot net># Contributor: Mike Lenzen <lenzenmi at gmail dot com>pkgname=bitshares-x_gitname=bitsharesxepoch=1pkgver=0.4.12pkgrel=1pkgdesc="BitShares X is a peer-to-peer network-based digital asset exchange."arch=('i686' 'x86_64')url="http://bitshares-x.info/"license=('MIT')depends=('qt5-base>=5.3' 'boost-libs>=1.52' 'miniupnpc>=1.6')makedepends=('git' 'boost' 'gcc' 'make' 'nodejs' 'clang')provides=('bitshares-x')source=('git://github.com/dacsunlimited/bitsharesx.git' 'BitSharesX.desktop')md5sums=('SKIP' 'SKIP')build() { export CC=clang export CXX=clang++ cd "$srcdir/$_gitname" rm -rf CMakeFiles # Prepare dependencies git submodule init git submodule update # Checkout release git checkout $pkgver cd $srcdir/$_gitname/programs/web_wallet sudo npm install -g lineman npm install # Configure and compile the wallet cd "$srcdir/$_gitname" cmake -DINCLUDE_QT_WALLET=ON . make $MAKEFLAGS -j $(nproc) buildweb make $MAKEFLAGS -j $(nproc) BitSharesX}package() { # Install BitShares-X Qt-wallet install -Dm644 BitSharesX.desktop ${pkgdir}/usr/share/applications/BitSharesX.desktop install -Dm755 "$srcdir/$_gitname/programs/qt_wallet/bin/BitSharesX" "$pkgdir/usr/bin/BitSharesX" install -Dm644 "$srcdir/$_gitname/programs/qt_wallet/images/qtapp64.png" "$pkgdir/usr/share/pixmaps/bitsharesx256.png" # Install license install -D -m644 "$srcdir/$_gitname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"}BitSharesX.desktopCode: [Select][Desktop Entry]Name=BitSharesXComment=A decentralized bank and exchangeExec=BitSharesX %uIcon=/usr/share/pixmaps/bitsharesx256.pngType=ApplicationEncoding=UTF-8Categories=Office;MimeType=x-scheme-handler/btsx;
# Maintainer: Qhor Vertoe <vertoe at qhor dot net># Contributor: Noel Maersk <veox at wemakethings dot net># Contributor: Mike Lenzen <lenzenmi at gmail dot com>pkgname=bitshares-x_gitname=bitsharesxepoch=1pkgver=0.4.12pkgrel=1pkgdesc="BitShares X is a peer-to-peer network-based digital asset exchange."arch=('i686' 'x86_64')url="http://bitshares-x.info/"license=('MIT')depends=('qt5-base>=5.3' 'boost-libs>=1.52' 'miniupnpc>=1.6')makedepends=('git' 'boost' 'gcc' 'make' 'nodejs' 'clang')provides=('bitshares-x')source=('git://github.com/dacsunlimited/bitsharesx.git' 'BitSharesX.desktop')md5sums=('SKIP' 'SKIP')build() { export CC=clang export CXX=clang++ cd "$srcdir/$_gitname" rm -rf CMakeFiles # Prepare dependencies git submodule init git submodule update # Checkout release git checkout $pkgver cd $srcdir/$_gitname/programs/web_wallet sudo npm install -g lineman npm install # Configure and compile the wallet cd "$srcdir/$_gitname" cmake -DINCLUDE_QT_WALLET=ON . make $MAKEFLAGS -j $(nproc) buildweb make $MAKEFLAGS -j $(nproc) BitSharesX}package() { # Install BitShares-X Qt-wallet install -Dm644 BitSharesX.desktop ${pkgdir}/usr/share/applications/BitSharesX.desktop install -Dm755 "$srcdir/$_gitname/programs/qt_wallet/bin/BitSharesX" "$pkgdir/usr/bin/BitSharesX" install -Dm644 "$srcdir/$_gitname/programs/qt_wallet/images/qtapp64.png" "$pkgdir/usr/share/pixmaps/bitsharesx256.png" # Install license install -D -m644 "$srcdir/$_gitname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"}
[Desktop Entry]Name=BitSharesXComment=A decentralized bank and exchangeExec=BitSharesX %uIcon=/usr/share/pixmaps/bitsharesx256.pngType=ApplicationEncoding=UTF-8Categories=Office;MimeType=x-scheme-handler/btsx;
2 errors generated.libraries/fc/CMakeFiles/fc.dir/build.make:215: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o' failedmake[3]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o] Error 1CMakeFiles/Makefile2:196: recipe for target 'libraries/fc/CMakeFiles/fc.dir/all' failedmake[2]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2CMakeFiles/Makefile2:1862: recipe for target 'programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule' failedmake[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule] Error 2Makefile:593: recipe for target 'BitSharesX' failedmake: *** [BitSharesX] Error 2
2 errors generated.libraries/fc/CMakeFiles/fc.dir/build.make:215: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o' failedmake[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o] Error 16 errors generated.libraries/fc/CMakeFiles/fc.dir/build.make:169: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/thread_specific.cpp.o' failedmake[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/thread_specific.cpp.o] Error 1CMakeFiles/Makefile2:196: recipe for target 'libraries/fc/CMakeFiles/fc.dir/all' failedmake[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2Makefile:76: recipe for target 'all' failedmake: *** [all] Error 2
Quote from: xeroc on September 07, 2014, 05:50:46 pmQuote from: bytemaster on September 07, 2014, 05:43:28 pmCan someone create a BUILD_ARCHLINUX.md file and submit a pull request to the toolkit?in theory yes .. but for archlinux .. I already wrote a so called PKGBUILD file for AUR .. I just need to modify it so that it uses clang ..the conent for a build_archlinux.md would just be "yaourt -S bitsharesx-gui-git":-)Nice
Quote from: bytemaster on September 07, 2014, 05:43:28 pmCan someone create a BUILD_ARCHLINUX.md file and submit a pull request to the toolkit?in theory yes .. but for archlinux .. I already wrote a so called PKGBUILD file for AUR .. I just need to modify it so that it uses clang ..the conent for a build_archlinux.md would just be "yaourt -S bitsharesx-gui-git":-)
Can someone create a BUILD_ARCHLINUX.md file and submit a pull request to the toolkit?
# Maintainer: Fabian Schuh <mail@xeroc.org>pkgname="bitsharesx-git"pkgver="20140824"pkgrel=1pkgdesc="BitSharesX command line client/daemon"url="http://www.bitshares-x.info"arch=('x86_64' 'i686')license=('unlicense')depends=('boost')makedepends=('git' 'cmake' 'clang' 'make')_gitroot="git://github.com/dacsunlimited/bitsharesx.git"_gitname="bitsharesx"build() { cd "$srcdir" msg "Connecting to GIT server...." if [[ -d "${_gitname}" ]]; then cd "${_gitname}" && git pull origin msg "The local files are updated." else git clone "$_gitroot" "$_gitname" fi msg "Starting build..." #rm -rf "$srcdir/$_gitname" cd "$srcdir/$_gitname" git submodule init git submodule update export CC=clang CXX=clang++ cmake . make}package() { mkdir -p "$pkgdir/usr/bin/" install -Dm755 "$srcdir/$_gitname/programs/client/bitshares_client" "$pkgdir/usr/bin/bitsharesx"}# vim:set ts=2 sw=2 et:
make arm -rf CMakeCache.txt CMakeFiles/ to delete the cmake cache ..than run cmake again .. first few lines should show you the new compiler is CLANG
rm -rf CMakeCache.txt CMakeFiles/export CC=clang;export CXX=clang++makecmake -DINCLUDE_QT_WALLET=ON .export CC=clang;export CXX=clang++make BitSharesX
[ 80%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o/home/jason/tmp/git/bitsharesx/libraries/blockchain/chain_database.cpp: In member function ‘void bts::blockchain::chain_database::open(const fc::path&, fc::optional<fc::path>, std::function<void(float)>)’:/home/jason/tmp/git/bitsharesx/libraries/blockchain/chain_database.cpp:1145:63: internal compiler error: in calc_dfs_tree, at dominance.c:401 } FC_RETHROW_EXCEPTIONS( warn, "", ("data_dir",data_dir) ) } ^Please submit a full bug report,with preprocessed source if appropriate.See <https://bugs.archlinux.org/> for instructions.libraries/blockchain/CMakeFiles/bts_blockchain.dir/build.make:570: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o' failedmake[3]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 1CMakeFiles/Makefile2:847: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/all' failedmake[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2CMakeFiles/Makefile2:1862: recipe for target 'programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule' failedmake[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule] Error 2Makefile:593: recipe for target 'BitSharesX' failedmake: *** [BitSharesX] Error 2
git clone https://github.com/dacsunlimited/bitsharesx.gitcd bitsharesx#git pull#git checkout 0.4.12git submodule initgit submodule updatemake cleancmake -DINCLUDE_QT_WALLET=ON .cd programs/web_walletnpm install lineman --prefix=/home/jason/bin/.global_npm -gnpm install#npm updatecd -export CC=clang;export CXX=clang++make buildweb $MAKEFLAGSmake BitSharesX $MAKEFLAGSmake $MAKEFLAGScd ~/tmp/git/bitsharesx/programs/qt_wallet/bin/strip BitSharesX
[ 78%] Building CXX object libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.ocd /home/jason/tmp/git/bitsharesx/libraries/blockchain && /usr/bin/c++ -std=c++11 -Wall -O2 -g -DNDEBUG -I/home/jason/tmp/git/bitsharesx/libraries/blockchain/include -I/home/jason/tmp/git/bitsharesx/libraries/fc/include -I/home/jason/tmp/git/bitsharesx/libraries/db/include -I/home/jason/tmp/git/bitsharesx/vendor/leveldb-1.12.0 -I/home/jason/tmp/git/bitsharesx/vendor/leveldb-1.12.0/include -std=c++11 -Wall -fnon-call-exceptions -o CMakeFiles/bts_blockchain.dir/chain_database.cpp.o -c /home/jason/tmp/git/bitsharesx/libraries/blockchain/chain_database.cpp/home/jason/tmp/git/bitsharesx/libraries/blockchain/chain_database.cpp: In member function ‘void bts::blockchain::chain_database::open(const fc::path&, fc::optional<fc::path>, std::function<void(float)>)’:/home/jason/tmp/git/bitsharesx/libraries/blockchain/chain_database.cpp:1145:63: internal compiler error: in calc_dfs_tree, at dominance.c:401 } FC_RETHROW_EXCEPTIONS( warn, "", ("data_dir",data_dir) ) } ^Please submit a full bug report,with preprocessed source if appropriate.See <https://bugs.archlinux.org/> for instructions.libraries/blockchain/CMakeFiles/bts_blockchain.dir/build.make:570: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o' failedmake[2]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/chain_database.cpp.o] Error 1make[2]: Leaving directory '/home/jason/tmp/git/bitsharesx'CMakeFiles/Makefile2:847: recipe for target 'libraries/blockchain/CMakeFiles/bts_blockchain.dir/all' failedmake[1]: *** [libraries/blockchain/CMakeFiles/bts_blockchain.dir/all] Error 2make[1]: Leaving directory '/home/jason/tmp/git/bitsharesx'Makefile:117: recipe for target 'all' failedmake: *** [all] Error 2