Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

Adding git to Raspbian setup dependencies#4

Open
RobBiddle wants to merge 3 commits intolitecoin-foundation:masterfrom
RobBiddle:patch-1
Open

Adding git to Raspbian setup dependencies#4
RobBiddle wants to merge 3 commits intolitecoin-foundation:masterfrom
RobBiddle:patch-1

Conversation

@RobBiddle
Copy link

Adding git to Raspbian setup dependencies because raspbian-install-litecoin.sh fails when executed on a Raspbian Lite image (2017-09-07-raspbian-stretch-lite) due to missing git

Adding git to Raspbian setup dependencies because raspbian-install-litecoin.sh fails when executed on a Raspbian Lite image (2017-09-07-raspbian-stretch-lite) due to missing git
@losh11
Copy link
Member

losh11 commented Oct 10, 2017

I'll test first.

Adding libevent-dev to Raspbian setup dependencies because raspbian-install-litecoin.sh fails when executed on a Raspbian Lite image (2017-09-07-raspbian-stretch-lite) due to "libevent not found" error during configure
@RobBiddle
Copy link
Author

committed another change, libevent-dev package is also needed

@RobBiddle
Copy link
Author

RobBiddle commented Oct 10, 2017

There's still something else preventing this from working properly on Raspbian Lite.

root@raspberrypi:/home/litecoind# sudo service litecoind start Job for litecoind.service failed because the control process exited with error code.

root@raspberrypi:/home/litecoind# cat /root/install.log | grep -E ' error| failed'
g++: internal compiler error: Killed (program cc1plus) Makefile:5581: recipe for target 'libbitcoin_server_a-init.o' failed SkipMapTxEntry(mempool.mapTx.project<0>(mi), mapModifiedTx, failedTx)) { Makefile:9345: recipe for target 'all-recursive' failed Makefile:741: recipe for target 'all-recursive' failed Job for litecoind.service failed because the control process exited with error code.

@RobBiddle
Copy link
Author

I think I have a fix, testing it now

- RPi3 running Raspbian Lite with default 99MB swap file was running out of memory/swap when compiling miner.o causing the system to kill the process.
- Temporary swap file size is based on original swap file size to compensate for potential changes in future Raspbian defaults.
Fixed copy command
- FIles did not exist in current directory following build.  Using which to grab correct source file
Fixed File Permissions
- Permissions were set during directory creation however when copying files as root user directory permissions are overridden which was preventing the litecoind service from starting
@RobBiddle
Copy link
Author

This is working now, litecoind starts up successfully after a reboot.
The only thing I'm not sure about is the Status Page. Is the Status Page supposed to work during the initial sync process?

@RobBiddle
Copy link
Author

Status Page is working, I just had an extra credentials line in there because I didn't remove the previous Status Page config while re-running the Litecoin install.

@losh11 This pull request is complete, ready for your final testing and approval.

@losh11
Copy link
Member

losh11 commented Oct 11, 2017

Thanks, I'll try to test this tomorrow.

@jasenm69
Copy link

ok im new, limited skills but i want to build a litecoin lightning node. it looks pretty dead here in the litecoin realm but i want to build out a parallel network to my bitcoin node for matters of redundancy. is there anyone that can help get me going?

@losh11
Copy link
Member

losh11 commented Sep 26, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants