-
Notifications
You must be signed in to change notification settings - Fork 183
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
After install #6
Comments
It looks like you don't have $ sudo apt-get install libjansson-dev Should do the trick, let me know if you still have the same problem after |
Seems like it is already installed. See below. (Sorry I can't figure out the markdown formatting)
Maybe the latest version isn't the one I need? Here's what the install said (after I did the remove): ``$ sudo apt-get install libjansson-dev |
I understand! :D
Apparently *upgrading* to jessie is treacherous - I already ordered an SD
with jessie pre-installed. Meanwhile, I'll try building and
installing libjansson. Thanks for the link!
Thank you!
Jeff
…On Sat, Jan 7, 2017 at 10:16 AM, Nicolas Mora ***@***.***> wrote:
I think I got it, you use raspbian wheezy which has libjansson 2..3 in it,
although in this version, there is no json_array_foreach macro
<http://jansson.readthedocs.io/en/2.3/apiref.html#array>.
You can update to raspbian jessie or install manually the last libjansson
library <https://github.com/akheron/jansson>. I'll add a note in the
INSTALL.md file to prevent it, thanks.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#6 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJaUHHLrSmvjfbRVpGHk2WdId3JVnXWks5rP6w7gaJpZM4LdTCH>
.
|
I never upgraded from wheezy to jessie on a raspbian, but I flashed jessie images on sd-cards like billions of times, works like a charm :) |
Closing it: 51cfd0a |
Installation worked fine on my new Jessie image. Thanks again for your help! |
Following the the steps in INSTALL.md on my raspberry pi (specs at the end of this issue), when I run make, I get an error (see below) that looks like maybe jansson wasn't installed correctly (although it appears to be, at /usr/share/doc/libjansson4/).
I thought at first it was because I had done the
apt-get
of the dependencies with sudo instead of as root. So I did remove, then su'ed to root, then did the apt-get again and exited. Make still gave me the error:$ make cd lib/orcania && make make[1]: Entering directory '/home/pi/ulfius/lib/orcania' gcc -c -fPIC -Wall -D_REENTRANT -O3 orcania.c orcania.c: In function ‘json_search’: orcania.c:273:5: warning: implicit declaration of function ‘json_array_foreach’ [-Wimplicit-function-declaration] orcania.c:273:49: error: expected ‘;’ before ‘{’ token Makefile:35: recipe for target 'orcania.o' failed make[1]: *** [orcania.o] Error 1 make[1]: Leaving directory '/home/pi/ulfius/lib/orcania' Makefile:45: recipe for target 'libulfius.so' failed make: *** [libulfius.so] Error 2
Debian GNU/Linux 7.11 (wheezy)
ARMv7 Processor rev 5 (v7l)
I've updated the firmware, and I've done
sudo apt-get update
and 'sudo apt-get upgrade' as well.The text was updated successfully, but these errors were encountered: