16
Technical Support / Re: BitsharesX 0.4.12 - Build error on Archlinux
« on: September 09, 2014, 01:16:34 pm »
turns out that Arch's boost is "too new". read the last two coments: https://aur.archlinux.org/packages/bitsharesx/
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
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 scope
using atomics::atomic;
your boost library is up-to-date?
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=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.desktopCode: [Select][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;
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
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