Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

add RPi build notes #38

wants to merge 2 commits into from

Conversation

casten
Copy link

@casten casten commented Dec 29, 2017

Added some notes about what dependencies were needed for RPi Stretch.

Copy link
Contributor

@filoozom filoozom left a 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.

$ 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
Copy link
Contributor

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.

Copy link
Author

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
Copy link
Contributor

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

Copy link
Author

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
Copy link
Contributor

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.

Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants