Conversation
filoozom
left a comment
There was a problem hiding this comment.
Some comments, and it might be more readable on GitHub to write this in a .md file.
doc/build-rpi.txt
Outdated
| $ sudo nano /etc/dphys-swapfile | ||
| #change CONF_SWAPSIZE=100 to CONF_SWAPSIZE=1024 | ||
| $ sudo /etc/init.d/dphys-swapfile stop | ||
| $ sudo /etc/init.d/dphys-swapfile start |
There was a problem hiding this comment.
This probably could be replaced with $ sudo service dphys-swapfile restart, or $ sudo systemctl restart dphys-swapfile, don't know what init system Raspbian Stretch uses.
There was a problem hiding this comment.
Yes, likely so. I didn't have time to optimize any of this at all. I'm simply reporting what worked for me. I wouldn't want to report steps I hadn't verified. And I don't want to invest much more time into this right now. But I agree with your sentiment here.
| sudo apt-get install libboost-all-dev | ||
| sudo apt-get install libssl1.0-dev | ||
| sudo apt-get install libdb5.3++-dev | ||
| sudo apt-get install libminiupnpc-dev |
There was a problem hiding this comment.
Might be more practical to put all of them on the same line. Also, you don't really need libboost-all-dev, there are only 4 libboost dependencies necessary. I think you're also missing libgmp-dev.
Could you try something like this:
apt install qttools5-dev-tools qt5-default libboost-dev libboost-system-dev libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev libssl1.0-dev libdb5.3++-dev libminiupnpc-devThere was a problem hiding this comment.
Yes true. I'll do this in a future update.
| sudo apt-get install libdb5.3++-dev | ||
| sudo apt-get install libminiupnpc-dev | ||
|
|
||
| # a restart here is advised, but may not be needed |
There was a problem hiding this comment.
No need for a reboot really.
There was a problem hiding this comment.
Actually, I found that without the reboot, you get build errors. This was one of the things that really tripped me up since I installed everything that was requested, but it did not succeed until I rebooted. It really surprised me!
Added some notes about what dependencies were needed for RPi Stretch.