Title: TECH HELP - trying to build wallet on ubuntu Post by: chinook on May 05, 2015, 01:35:11 PM experienced in coins, but getting this one damn error.
Code: crypto@crypto-Veriton-3900Pro:~/flkcoin/src$ ./flkcoind -testnet flkcoind: main.cpp:2809: bool InitBlockIndex(): Assertion `block.hashMerkleRoot == uint256("0x0")' failed. Aborted (core dumped) anyone have any ideas? Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: chrisvl on May 05, 2015, 01:45:03 PM check this https://bitcointalk.org/index.php?topic=391983.msg11257411#msg11257411
Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: chrisvl on May 05, 2015, 01:46:33 PM im attempting to build a litecoin based wallet on ubuntu open the terminal type cd /home/yourname/.flkcoinand getting this error Code: crypto@crypto-Veriton-3900Pro:~/flkcoin/src$ ./flkcoind -testnet flkcoind: main.cpp:2809: bool InitBlockIndex(): Assertion `block.hashMerkleRoot == uint256("0x0")' failed. Aborted (core dumped) anyone have any ideas? at first i thought it was normal to get this error, to genereate a merkle hash, but it has not generated any debug.log file anywhere, new to linux, am i blind or is it hidden? then type ls -l to see if debug.log exist sudo nano debug.log Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: chrisvl on May 05, 2015, 03:43:53 PM openthe ternimal and type cd /home/crypto/.flkcoin
then ls -l and tell me what folders are exist here Are you build new coin or wallet from existing coin ? Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: chrisvl on May 05, 2015, 03:55:19 PM Give the debug.log results how you compile it using some guide ?
Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: YarkoL on May 05, 2015, 04:31:52 PM Code: crypto@crypto-Veriton-3900Pro:~/flkcoin/src$ ./flkcoind -testnet Try deleting everything in the testnet3 folder and run again. Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: YarkoL on May 05, 2015, 04:58:44 PM how do i access that folder via GUI, i can see it via command, but id like a visual rep. new to linux sorry. if you're on ubuntu or debian, ctrl-h will show the hidden folders in the gui view- Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: YarkoL on May 05, 2015, 05:07:35 PM Well then, what happens if you remove everything from /home/crypto/.flkcoin/ ? Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: YarkoL on May 05, 2015, 05:17:34 PM Hm. That error message says simply
that it can't open the database. But if there is no database, then you shouldn't be getting that. Maybe debug.log has some new info? And I take it you have generated a new genesis block succesfully by replacing the values from the debug.log? Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: YarkoL on May 05, 2015, 07:22:08 PM I think there might be something funny with the database installation.. Searching this forum for your error "error Invalid argument (22)" brings up few results but no conclusive fix. For now, maybe you could try removing the db and reinstalling.. Code: sudo apt-get remove libdb5.1-dev libdb5.1++-dev Code: sudo update then go to your coin src directory and Code: make -f makefile.unix clean and rebuild Code: make -f makefile.unix USE_UPNP=- I have no idea if that would work. If not, I guess re-installing ubuntu might do the trick. Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: YarkoL on May 06, 2015, 02:37:30 PM I forgot to put "apt-get" before "update" Code: sudo apt-get update then try again Code: sudo apt-get install libdb5.1-dev libdb5.1++-dev Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: chinook on May 06, 2015, 03:13:40 PM now getting
Code: crypto@crypto-Veriton-3900Pro:~$ apt-get upgrade -y Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: YarkoL on May 06, 2015, 03:29:31 PM yeh, but sudo before update and upgrade commands. You need to acquaint yourself with linux a little bit before taking on this kind of project. Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: chrisvl on May 06, 2015, 05:52:25 PM now getting try sudo apt-get install libdb++-devCode: crypto@crypto-Veriton-3900Pro:~$ apt-get upgrade -y Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: chinook on May 06, 2015, 06:17:57 PM ok all done!
im trying ./flkcoind -testnet and getting Code: crypto@crypto-Veriton-3900Pro:~/flkcoin/src$ ./flkcoind -testnet and in debug.log Code: 2015-05-05 17:01:16 flkcoin version v0.8.7.5-unk-beta (2015-05-05 01:41:38 +0800) ahhhh driving me crazy, it was a fresh install of ubuntu last week too, Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: dreamwatcher on May 06, 2015, 06:57:59 PM Just off the top of my head:
Is it possible this coin daemon is incompatible with a later version of Berkeley database? Perhaps, one needs to go in the opposite direction and install version 4.8? Most coins, unless they are cloned off a very old code base, will at least give the option to use level db exclusively instead of Berkeley database. Title: Re: TECH HELP - trying to build wallet on ubuntu Post by: YarkoL on May 06, 2015, 07:03:15 PM I thought of downgrading too, but he said he was following Shakezula's
old tutorial, and libdb 5.1 is used there. chinook, do you have the source for your coin on github? Though github seems to be down atm :P |