Closed wsw70 closed 4 years ago
We recommend building with CMake. Autotools might be broken and we don't really support it. PR with fixes much welcome. What you are seeing might be a problem with pkg-config.
@zuckschwerdt Thank you Christian for the hint.
With CMake the build is seamless (it is even surprising that the warnings are gone). If there is interest I will make a PR with instructions for docker (and probably a Docker Hub version based on a nightly build)
I tried to build
rtl_433
in a docker image but the build issues warnings and breaks twice. I am not sure if I should open separate issues for each problem - please let me know and I will break this down into unrelated issues if needed.The image is based on Debian (buster). The
Dockerfile
isThe output issues warnings and finally breaks:
It looks that the code is looking for
libusb.h
in the wrong place. After modifying the Dockerfile to add a link in the expected place, another issue arises (see also https://github.com/merbanan/rtl_433/issues/952):The new Dockerfile with an ugly hack:
The output from the build: