sarfata / pi-blaster

PWM on the Raspberry pi - done properly (in hardware, stable)
846 stars 130 forks source link

no longer seems to install on raspberry pi 3 #95

Open carl-ranson opened 6 years ago

carl-ranson commented 6 years ago

having trouble installing this on a raspberry pi 3.

I've been trying the dpkg instructions in the readme. The first command appears to work fine, but this one: pi@raspberrypi:~/go/src $ dpkg-buildpackage -us -uc -i && sudo dpkg -i ../pi-blaster*.deb

produces this error message. tail: cannot open 'debian/changelog' for reading: No such file or directory

googling this error suggests that the debian folder was changed to debianpkg some time late in 2017. see: https://github.com/FRRouting/frr/issues/1485

is the install script out of date due to this change?

dankozlowski commented 6 years ago

I've confirmed that installing the application manually works on the Pi3.

carl-ranson commented 6 years ago

Great, thanks Dan, can you confirm which install method you used? which version of the os?

funny thing is I just retried it and got exactly the same result.

pi@raspberrypi:~ $ dpkg-buildpackage -us -uc -i && sudo dpkg -i ../pi-blaster*.deb

tail: cannot open 'debian/changelog' for reading: No such file or directory dpkg-buildpackage: error: tail of debian/changelog gave error exit status 1

Am I missing something that's obvious to linux regulars here? do i need to be in a specific directory or something?

dankozlowski commented 6 years ago

I followed the manual installation steps (compiling from source, NOT creating a *.deb) on the latest Raspbian.

To do this, clone the repository down (or download the zip and unzip it somewhere on your Pi), and follow the instructions under https://github.com/sarfata/pi-blaster#build-and-install-directly-from-source.

carl-ranson commented 6 years ago

ok Dan. I got it to work using that method. Still doesn't address that fact that the other technique is maybe out of date, but i'm good for now so moving on. thanks again. CR

dankozlowski commented 6 years ago

Can we close this issue now?

carl-ranson commented 6 years ago

Well I would suggest an update to the documentation noting that the dpkg instructions may not work on a pi 3b and to try building from source if that's the case, just in case anyone comes after me with the same problem.

other than that, I've got no problem with closing the issue.

thanks for your help