problems compiling Pilight

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
WitchDoctor
Posts: 3
Joined: Tue Jun 26, 2018 9:06 pm

problems compiling Pilight

Post by WitchDoctor »

Guys, help is appreciated!

Goal is to run Homeassistant, in combination with pilight.
Homeassistant is installed successful and running.

Pilight is compiled from source, but compiles with an error.
I followed this instruction:
https://manual.pilight.org/installation.html with this modification:
https://forum.odroid.com/viewtopic.php?t=27112

Pilight runs anyway, can configure config.json, and can select Odroidc2 as board and pilight starts as a service.

Now, when I select 433GPIO as hardware, Pilight does not start and I get an error.

back to the error when compiling±
The message I get is: "cant find libluajit"

now, I checked, liblua5.2 and liblua5.2-dev are correctly installed, but apperantly libluajit is not, and I cant install it via apt-get

any suggestions?
I have the same configuration running on a RPi 1B+ so I can look things up..
WitchDoctor
Posts: 3
Joined: Tue Jun 26, 2018 9:06 pm

Re: problems compiling Pilight

Post by WitchDoctor »

Problem was fixed.

Turned out WiringX needed to be compiled from source:
forum.odroid.com/viewtopic.php?f=115&t=7533

after this pilight could be installed through apt-get see pilight installation instruction

compiling piligth from source was no success, resulting in lubluajit not being found

solution is not tested yet, since nothing is hooked up to GPIO at the moment.
WitchDoctor
Posts: 3
Joined: Tue Jun 26, 2018 9:06 pm

Re: problems compiling Pilight

Post by WitchDoctor »

It turns out it was not fixed, but after extensive communication with Curlymo I am happy to report that Pilight is supported by default on the aarch64 repository. I recommend that it is also added to the installer of the aarch64 image.
Post Reply