-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add RPi build notes #38
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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-dev
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need for a reboot really.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.