well, I got an error while compiling:
/usr/include/boost/variant/get.hpp: In instantiation of 'typename boost::add_reference<T>::type boost::strict_get(boost::variant<T0, TN ...>&) [with U = const CScriptID&; T0 = CNoDestination; TN = {CKeyID, CScriptID}; typename boost::add_reference<T>::type = const CScriptID&]':
/usr/include/boost/variant/get.hpp:284:33: required from 'typename boost::add_reference<T>::type boost::get(boost::variant<T0, TN ...>&) [with U = const CScriptID&; T0 = CNoDestination; TN = {CKeyID, CScriptID}; typename boost::add_reference<T>::type = const CScriptID&]'
src/rpcrawtransaction.cpp:242:77: required from here
/usr/include/boost/variant/get.hpp:212:5: error: static assertion failed: boost::variant does not contain specified type U, call to boost::get<U>(boost::variant<T...>&) will always throw boost::bad_get exception
BOOST_STATIC_ASSERT_MSG(
^
Makefile:2199: recipe for target 'build/rpcrawtransaction.o' failed
make: *** [build/rpcrawtransaction.o] Error 1
I don't know if this is something that upstream can fix.
Search Criteria
Package Details: vertcoin-git 0.9.0.1-1
Package Actions
| Package Base: | vertcoin-git |
|---|---|
| Description: | Peer-to-peer network based digital currency (includes both the qtclient and the headless daemon) |
| Upstream URL: | http://www.vertcoin.org/ |
| Category: | network |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | lothar_m |
| Maintainer: | lothar_m |
| Last Packager: | lothar_m |
| Votes: | 2 |
| First Submitted: | 2014-02-05 12:21 |
| Last Updated: | 2015-01-31 10:02 |
Latest Comments
Comment by shackra
Comment by lothar_m
Updated to version 0.9.0.1
Removed the tag section of the git command for simplicity.
Comment by ArchMagic
You can remove #tag=v0n.n.n from the source line in the PKGBUILD altogether if you're having errors during build.
Comment by csolisr
Vertcoin has upgraded to version 0.9.0.1, please update the PKGBUILD replacing the relevant version number (currently 0.8.7.3) in the source line, from
source=("$_gitname::git+https://github.com/vertcoin/vertcoin#tag=v0.8.7.3"
to
source=("$_gitname::git+https://github.com/vertcoin/vertcoin#tag=v0.9.0.1"
Comment by lothar_m
You're right regarding secp256k1. Updated the PKGBUILD.
Comment by ArchMagic
Addendum to the previous comment; vertcoin-qt will only built AND launch if the AUR package of secp256k1-git is used.
Comment by ArchMagic
Current git files will not build without secp256k1 installed, so it should be added to the dependencies.
One can install from AUR https://aur.archlinux.org/packages/secp256k1-git/
Or from git:
git clone https://github.com/bitcoin/secp256k1.git
cd secp256k1
./autogen.sh
./configure
make
make install
Comment by lothar_m
@earlz:
It seems to me that the error you describe is not PKGBUILD related but a bug in the application code, therefor i suggest you file a bug report upstream (if you still get the error of course).
Comment by earlz
I get a compiler error:
src/scrypt.cpp:147:34: error: ‘be32enc’ was not declared in this scope
be32enc(ivec, (uint32_t)(i + 1));
Comment by lothar_m
Added desktop file.
Comment by ArchMagic
Please consider installing the /src/vertcoin/share/pixmaps/vertcoin128.png with your PKGBUILD script into the /usr/share/pixmaps folder, and then make a .desktop file to install the entry into the menu of whatever DE the user is using. An example .desktop file would contain:
[Desktop Entry]
Encoding=UTF-8
Name=Vertcoin
Comment=Vertcoin P2P Cryptocurrency
Exec=/usr/bin/vertcoin-qt
Terminal=false
Type=Application
Icon=/usr/share/pixmaps/vertcoin128.png
MimeType=x-scheme-handler/vertcoin;
Categories=Office;
Comment by lothar_m
Added pkgver() function to the PKGBUILD.
Comment by lothar_m
Updated PKGBUILD with kbs1 patch.
Thanks.
Comment by Furian-RX
Thanks! Works fine now!
Comment by kbs1
The fix is to patch PKGBUILD using the new methods:
build() {
cd "${_gitname}"
cd "$srcdir/$_gitname"
# and make qt gui
qmake-qt4 USE_QRCODE=1 USE_UPNP=1
make
# make vertcoin daemon
cd "$srcdir/$_gitname/src"
make $MAKEFLAGS -f makefile.unix
}
package() {
# install vertcoin-qt client
install -D -m755 "$srcdir/$_gitname/vertcoin-qt" "$pkgdir/usr/bin/vertcoin-qt"
# install vertcoin daemon
install -D -m755 "$srcdir/$_gitname/src/vertcoind" "$pkgdir/usr/bin/vertcoind"
# install license
install -D -m644 "$srcdir/$_gitname/COPYING" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
There are only slight changes, the directory names for the daemon were wrong (missing src/ suffix)
This way it compiles and installs fine.
Comment by kbs1
Does not compile.
make: makefile.unix: No such file or directory
make: *** No rule to make target 'makefile.unix'. Stop.
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
Comment by Furian-RX
Same here...
make: makefile.unix: No such file or directory
make: *** No rule to make target 'makefile.unix'. Stop.
==> ERROR: A failure occurred in build().
Aborting...
I got wired trying to build it up myself, but since Im a neu-b
its quite a big deal.
Comment by gnuish
make: makefile.unix: No such file or directory