Main Menu

Bitshares - Archlinux

Started by iHashFury, September 07, 2014, 03:23:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bytemaster

For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

capoeira


jernau

From the comments section: https://aur.archlinux.org/packages/bitsharesx/?comments=all

Comment by DigitalPioneer
2014-09-09 13:13
This just in, the BitShares core devs have added support for Boost 1.56, so DacSun should be pulling that in for the next release. The build should work again (hopefully) after that.

Comment by DigitalPioneer
2014-09-09 13:09
Nope, it's not just you. Looks like the project is not compatible with Boost 1.56. I hadn't updated yet on my build system. Just did, and now I'm getting the same error.
PTS: PgiEykg2RATYwWYhFtyNRqwSxQyEApLSmW

xeroc

Nathan is a core developer .. id say its safe

capoeira

Quote from: jernau on September 09, 2014, 11:26:50 AM
Are you compiling with multiple threads?

yes, tried with now with -j1....didn't solve

Quote from: jernau on September 09, 2014, 11:26:50 AM
Also, is your Arch completely up to date?

yes





I'm giving up. you guys think it is dangerous to use the binary of the mantainer of the PCKGBUILD? https://nathanhourt.com/bitsharesx-0.4.12-1-x86_64.pkg.tar.xz

jernau

Are you compiling with multiple threads? I mean are you using `make -j $(nprocs)`? I had issues with that. If you're not already, try compiling without the -j flag. Also, is your Arch completely up to date?
PTS: PgiEykg2RATYwWYhFtyNRqwSxQyEApLSmW

capoeira

Quote from: xeroc on September 09, 2014, 07:11:13 AM
/usr/include/boost/atomic/atomic.hpp:31:16: error: target of using declaration conflicts with declaration already in scope
using atomics::atomic;


your boost library is up-to-date?

yes it is, maintainer asked the same question (see coments there)

capoeira

Quote from: jernau on September 09, 2014, 05:26:47 AM
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.

well, the output is exactly from that one

xeroc

/usr/include/boost/atomic/atomic.hpp:31:16: error: target of using declaration conflicts with declaration already in scope
using atomics::atomic;


your boost library is up-to-date?

jernau

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.
PTS: PgiEykg2RATYwWYhFtyNRqwSxQyEApLSmW


capoeira

Quote from: sva_h4cky0 on September 08, 2014, 10:15:29 PM
based on https://aur.archlinux.org/packages/bitshares-x/

PKGBUILD


# 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=bitsharesx
epoch=1
pkgver=0.4.12
pkgrel=1
pkgdesc="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.desktop

[Desktop Entry]
Name=BitSharesX
Comment=A decentralized bank and exchange
Exec=BitSharesX %u
Icon=/usr/share/pixmaps/bitsharesx256.png
Type=Application
Encoding=UTF-8
Categories=Office;
MimeType=x-scheme-handler/btsx;



don't know what you did but I tried this and still:

2 errors generated.
libraries/fc/CMakeFiles/fc.dir/build.make:215: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o' failed
make[3]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o] Error 1
CMakeFiles/Makefile2:196: recipe for target 'libraries/fc/CMakeFiles/fc.dir/all' failed
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
CMakeFiles/Makefile2:1862: recipe for target 'programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule' failed
make[1]: *** [programs/qt_wallet/CMakeFiles/BitSharesX.dir/rule] Error 2
Makefile:593: recipe for target 'BitSharesX' failed
make: *** [BitSharesX] Error 2



anyways. the .exe works in wine

sva_h4cky0

#14
based on https://aur.archlinux.org/packages/bitshares-x/

PKGBUILD


# 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=bitsharesx
epoch=1
pkgver=0.4.12
pkgrel=1
pkgdesc="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.desktop

[Desktop Entry]
Name=BitSharesX
Comment=A decentralized bank and exchange
Exec=BitSharesX %u
Icon=/usr/share/pixmaps/bitsharesx256.png
Type=Application
Encoding=UTF-8
Categories=Office;
MimeType=x-scheme-handler/btsx;
天の道を行き、総てを司る! Ten no michi o iki, subete o tsukasadoru!

capoeira

I tried:
https://aur.archlinux.org/packages/bitshares-x/
https://aur.archlinux.org/packages/bitsharesx/
https://aur.archlinux.org/packages/bitsharesx-gui-git/

all fail.

output of the 3rd script:

2 errors generated.
libraries/fc/CMakeFiles/fc.dir/build.make:215: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o' failed
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/task.cpp.o] Error 1
6 errors generated.
libraries/fc/CMakeFiles/fc.dir/build.make:169: recipe for target 'libraries/fc/CMakeFiles/fc.dir/src/thread/thread_specific.cpp.o' failed
make[2]: *** [libraries/fc/CMakeFiles/fc.dir/src/thread/thread_specific.cpp.o] Error 1
CMakeFiles/Makefile2:196: recipe for target 'libraries/fc/CMakeFiles/fc.dir/all' failed
make[1]: *** [libraries/fc/CMakeFiles/fc.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2

jernau

There's a few of us around. Modprobe is another one :D
PTS: PgiEykg2RATYwWYhFtyNRqwSxQyEApLSmW