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
Building generic docker image: "fatal error: cjson/cJSON.h: No such file or directory" #1945
Comments
I'm right now building mosquitto 2.0.2, you need install libcjson libcjson-dev : And you'll probably need too those 2 too: |
@schildbach ah yes, I've not updated the For the meantime though, the |
Actually I believe the |
You're quite right. 2.0.2 only contains a build fix that doesn't affect the docker image though, so the 2.0.1 and 2.0.2 images would be identical apart from the version number. |
The |
Thanks! The |
Closes eclipse#1945. Thanks to Andreas Schildbach.
This problem also occurred when I compiled version 2.0.9, which was solved by installing the cJSON library from the cJSON repository's README file |
@guangjieMVP Thanks, that should be fixed in the |
On Ubuntu 20.04 with
Docker version 19.03.8, build afacb8b7f0
,using this git repo from tag
v2.0.2
,running
docker build --build-arg VERSION="2.0.2" .
from thedocker/generic
directory,yields this error:
The text was updated successfully, but these errors were encountered: