Author Topic: Problems compiling / running  (Read 6683 times)

0 Members and 1 Guest are viewing this topic.

merockstar

  • Guest
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.

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
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

Offline jpark

  • Newbie
  • *
  • Posts: 7
    • View Profile
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.


Offline jpark

  • Newbie
  • *
  • Posts: 7
    • View Profile
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.


Offline jpark

  • Newbie
  • *
  • Posts: 7
    • View Profile
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

« Last Edit: August 29, 2014, 03:41:38 pm by jpark »

Offline FreeTrade

  • Moderator
  • Hero Member
  • *****
  • Posts: 700
    • View Profile
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

Offline jpark

  • Newbie
  • *
  • Posts: 7
    • View Profile
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 :(


« Last Edit: August 29, 2014, 03:35:08 pm by jpark »

Offline jpark

  • Newbie
  • *
  • Posts: 7
    • View Profile
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
« Last Edit: August 29, 2014, 02:29:10 pm by jpark »

merockstar

  • Guest
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.

Offline jpark

  • Newbie
  • *
  • Posts: 7
    • View Profile
put them in ~/.lottoshares ?   or where lottoshares-qt resides?

Offline ionx

  • Newbie
  • *
  • Posts: 19
    • View Profile
Copy the .txt files from the release directory to the top level of lottoshares and run it again.
« Last Edit: August 28, 2014, 06:40:00 pm by ionx »

Offline jpark

  • Newbie
  • *
  • Posts: 7
    • View Profile
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.
« Last Edit: August 28, 2014, 06:27:39 pm by jpark »