Darkcoin-0.11: Porting the Bitcoin-0.9 tree ...

UdjinM6

Official Dash Dev
Dash Core Team
Moderator
May 20, 2014
3,638
3,536
1,183
./autogen.sh
./configure
make

This created everything BUT darkcoin-qt, no errors at all.
And, no, darkcoin-qt was also not created in the qt folder.

I guess when I'm back home I'll download the source again and start from scratch.

Edit: and I have already done this with older versions quite often and without problems, so every library which is need is installed.
I had the same problem - I didn't noticed warning that it won't build qt because "PROTOC not found"
try "./configure --with-gui"

If you want to build Bitcoin-Qt, make sure that the required packages for Qt development are installed. Either Qt 4 or Qt 5 are necessary to build the GUI. If both Qt 4 and Qt 5 are installed, Qt 4 will be used. Pass --with-gui=qt5 to configure to choose Qt5.
https://github.com/darkcoin/darkcoi...ix.md#dependencies-for-the-gui-ubuntu--debian
 
  • Like
Reactions: crowning

crowning

Well-known Member
May 29, 2014
1,415
1,997
183
Alpha Centauri Bc
Last edited by a moderator:

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
BTW, over at Bitcointalk there's a lengthy discussion about your natural gender, vertoe. Those guys get easily confused :D
What is bitcointalk? And why my natural gender?

setgenerate true immediately crashes mine. I'll have a closer look tomorrow.
Yep, the miner code is broken.

Code:
[New Thread 0x7fff9e7fc700 (LWP 9054)]
terminate called after throwing an instance of 'std::runtime_error'
  what():  CreateNewBlock() : ConnectBlock failed

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff9e7fc700 (LWP 9054)]
0x00007ffff39c1a97 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff39c1a97 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff39c2e6a in abort () from /usr/lib/libc.so.6
#2  0x00007ffff42acfcd in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/libstdc++.so.6
#3  0x00007ffff42aae56 in __cxxabiv1::__terminate(void (*)()) () from /usr/lib/libstdc++.so.6
#4  0x00007ffff42aaea1 in std::terminate() () from /usr/lib/libstdc++.so.6
#5  0x00007ffff42ab0b8 in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0x00000000006f4809 in CreateNewBlock (scriptPubKeyIn=...) at miner.cpp:395
#7  0x00000000006f518d in CreateNewBlockWithKey (reservekey=...) at miner.cpp:479
#8  0x00000000006f5705 in BitcoinMiner (pwallet=0x7fffe8180a70) at miner.cpp:544
#9  0x0000000000702c49 in boost::_bi::list1<boost::_bi::value<CWallet*> >::operator()<void (*)(CWallet*), boost::_bi::list0> (this=0x7fffe0003c60, [email protected]: 0x6f5631 <BitcoinMiner(CWallet*)>, a=...)
  at /usr/include/boost/bind/bind.hpp:253
#10 0x0000000000702bce in boost::_bi::bind_t<void, void (*)(CWallet*), boost::_bi::list1<boost::_bi::value<CWallet*> > >::operator() (this=0x7fffe0003c58) at /usr/include/boost/bind/bind_template.hpp:20
#11 0x0000000000702b6d in boost::detail::thread_data<boost::_bi::bind_t<void, void (*)(CWallet*), boost::_bi::list1<boost::_bi::value<CWallet*> > > >::run (this=0x7fffe0003aa0)
  at /usr/include/boost/thread/detail/thread.hpp:116
#12 0x00007ffff7533f2a in ?? () from /usr/lib/libboost_thread.so.1.57.0
#13 0x00007ffff51d8314 in start_thread () from /usr/lib/libpthread.so.0
#14 0x00007ffff3a765bd in clone () from /usr/lib/libc.so.6
eduffield is currently adding the masternode payments.
 

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
I guess we should create a v0.11 testing thread here: https://darkcointalk.org/forums/testing.53/ to collect all bugs.

I'm not allowed to create one myself there: "(You have insufficient privileges to post here.)"
No we dont start public testing until the most basic things work.

The client from darkcoil works https://github.com/vertoe/darkcoil/tree/master-0.9

The client from darkcoin is undergoing the masternode and darksend integration. https://github.com/darkcoin/darkcoin/tree/v0.11.0.x
 

crowning

Well-known Member
May 29, 2014
1,415
1,997
183
Alpha Centauri Bc

vertoe

Three of Nine
Mar 28, 2014
2,573
1,652
1,283
Unimatrix Zero One
I'll repeat here then: Congratulations! :)

Back to business: I can't sync on testnet4, any nodes?

Testnet4 is not compatible with the old testnet.

Try me:
2014-12-12 22:11:28 AddLocal([2003:45:497c:1f00:e17d:3c57:da00:a83c]:19960,1)
2014-12-12 22:11:31 AddLocal(84.131.75.139:19960,4)

And me:
188.40.57.201:19999
[2a01:4f8:100:32ee::2]:19999
 
Last edited by a moderator:

crowning

Well-known Member
May 29, 2014
1,415
1,997
183
Alpha Centauri Bc
no qmake no workie :)

Code:
./autogen.sh
./configure
make -j $(nproc)
how did you get the daemon compiled without these steps? there should be no makefile available without calling autogen.sh
I had to re-clone from git (for other reasons), and that's the deal:

v0.11.x branch:
Code:
./autogen.sh
./configure
make
master branch:
Code:
qmake
make
 

flare

Administrator
Dash Core Team
Moderator
May 18, 2014
2,286
2,404
1,183
Germany
It's the answer (in case someone else is also a bit confused that there's no autogen.sh or configure in the repository).
Yep, build system fundamentally changed to automake in bitcoin 0.9.x, no more static make/qmake files
 
  • Like
Reactions: crowning