Main Menu

Problems compiling / running

Started by jpark, August 28, 2014, 06:24:26 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

merockstar

Quote from: jpark on August 29, 2014, 03:22:54 PM
Quote from: merockstar on August 29, 2014, 12:11:02 AM
i copied mine /lottoshares/src, then compiled lottosharesd, then compiled qt, and it worked fine.

before i did that I was getting the same error.

1. Did you use the zip source file,  or did you git pull?
2. How do you compile just lottosharesd ? 
3. Why can't it just be written in the compilation instructions the correct way to do this or what needs to be done - its just that I don't have these type of problems compiling other clients :(

I git pulled.

You go into /src directory and type "make -f makefile.unix" then after that compile go to /lottoshares and "cmake" "make"

It is, but you have to dig for it, and the instructions are for litecoin. Idk.

Glad you got it to work.

FreeTrade

Thanks for the report - any changes you'd recommend to the repo to avoid this problem for future users?
"People should be more sophisticated? How are you gonna get that done?" - Jerry Seinfeld reply to Bill Maher

jpark

Copied the text files from source .zip to the unzipped folder where lottoshares-qt was built.
The don't have to be in the hidden ~/.lottoshares

Seems to be working now.. great.


jpark

Hmm..  in strace it shows about bitcoin.txt being an html format.
When I saved it from git,  it's html somehow

I'll try using the actual text format files out of the zip source..

Sounds like maybe this is the problem.


jpark

#8
Quote from: FreeTrade on August 29, 2014, 03:28:44 PM
Sounds like you might be running into a memory problem - the genesis block is big . . maybe adding more memory would help.

That could be,  I have 2 GB though.  Other clients (dogecoin, litecoin, bitcoin) compile and run fine..
Maybe this requires more?

Edit: actually I have 2 GB..  thought I only had 1


FreeTrade

Sounds like you might be running into a memory problem - the genesis block is big . . maybe adding more memory would help.
"People should be more sophisticated? How are you gonna get that done?" - Jerry Seinfeld reply to Bill Maher

jpark

#6
Quote from: merockstar on August 29, 2014, 12:11:02 AM
i copied mine /lottoshares/src, then compiled lottosharesd, then compiled qt, and it worked fine.

before i did that I was getting the same error.

1. Did you use the zip source file,  or did you git pull?
2. How do you compile just lottosharesd ? 
3. Why can't it just be written in the compilation instructions the correct way to do this or what needs to be done - its just that I don't have these type of problems compiling other clients :(



jpark

#5
All I get now is "Segmentation Fault"  -  I'm now trying to compile with the .zip source file under releases.

And everything looks fine in debug.log.. 
but it just ends at "Initializing Databases..."

I tried copying those text files to all kinds of places, (./lottoshares ./lottoshares/src ./lottoshares/database and a bunch of folders when I compiled) seems to make no difference.

Edit: 

strace shows that it looks like its trying to open "bitcoin.txt"
then sigsegv pops up  {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0}
and  +++killed by SIGSEGV +++


Any other suggestions?

Thanks

merockstar

i copied mine /lottoshares/src, then compiled lottosharesd, then compiled qt, and it worked fine.

before i did that I was getting the same error.

jpark

put them in ~/.lottoshares ?   or where lottoshares-qt resides?

ionx

#2
Copy the .txt files from the release directory to the top level of lottoshares and run it again.

jpark

#1
I keep getting this message when trying to run ./lottoshares-qt
I pulled with git ,  ran qmake and make..

error:
bool InitBlockIndex(): Assertion `block.hashMerkleRoot == merklerootGenesisBlock' failed.
Aborted (core dumped)

In debug.log it says there is a bunch of text files (ie. bitcoin.txt dogecoin.txt) required for airdrop not found.

I'm compiling on linux mint 17 and I also tried on another computer with xubuntu 14.04 and get the same results.

Any ideas how to fix this?

Thanks.