View Issue Details

IDProjectCategoryView StatusLast Update
0000009easycwmpHelppublic2014-09-24 10:01
ReporterCwmpUser Assigned Tomohamed.kallel  
Status resolvedResolutionfixed 
PlatformOpenWRTOSLinux Ubuntu OS Version14.04 TLS
Summary0000009: Unable to install easycwmp
DescriptionI tried to build easycwmp for a OpenWRT linux as a package. Every dependency is installed, but when I run 'make package/easycwmp/compile', it said json-c/json.h: no such file or directory. I do have json-c in my openwrt. Also I tried to build it on my partner's openwrt linux, the same issue.
TagsNo tags attached.
e-mail notification



2014-09-16 17:09


easycwmp.png (205,383 bytes)   
easycwmp.png (205,383 bytes)   


2014-09-16 17:10


2.png (121,240 bytes)   
2.png (121,240 bytes)   


2014-09-16 18:12


Last edited: 2014-09-16 18:47


you have to compile libjson-c with openwrt way.
In fact you have to go under the package folder and then check out the libjson-c package :
svn co svn:// libjson-c

After that, select libjson-c in the "make menuconfig",and then build the package libjson-c by executing
make package/libjson-c/compile V=s

finally, please check if the libjson-c is compiled on openwrt:

* Check if the file exist under this path :

* Check also the folder json-c under this path :


2014-09-16 20:08

reporter   ~0000039

Thanks! I followed your instruction and found that there is no libjson-c in menuconfig but libjson(script).

Also after I run the make command, there is in "openwrt-path"/staging_dir/target-{arch}_{uClibc}/usr/lib and json folder in "openwrt-path"/staging_dir/target-{arch}_{uClibc}/usr/include. Besides, in build_dir, there are a folder named json-c-0.9.


2014-09-16 21:30

reporter   ~0000040

Also, in my second pic, it shows make[2] -C package/libs/libjson-c compile , which means it do build the json-c ?


2014-09-17 16:45


Last edited: 2014-09-17 17:35

libjson(script) is under "Utilities --->" !

you have to go under "Libraries --->" section after execute "make menuconfig", and then you find libjson-c.

check if libjson-c is selected.


2014-09-18 01:20

reporter   ~0000042

Got it. I update the Makefile(json version: 0.11), I saw those libjson-c file in those directory but I didn't see the libjson-c in menuconfig. The old version of json is 0.9, which work fine, but generate instead of So the problem becomes why I cannot see libjson-c in menuconfig. Thanks in advance! This means a lot to me!


2014-09-18 17:38


Last edited: 2014-09-18 18:33

You should have the libjson-c folder under the package folder("openwrt-path"/package).
In the note 0000038, I explain how to add libjson-c to package.

Please note that libjson-c is standalone lib.

Issue History

Date Modified Username Field Change
2014-09-16 17:09 CwmpUser New Issue
2014-09-16 17:09 CwmpUser File Added: easycwmp.png
2014-09-16 17:10 CwmpUser File Added: 2.png
2014-09-16 18:12 user13 Note Added: 0000038
2014-09-16 18:13 user13 Note Edited: 0000038
2014-09-16 18:46 user13 Note Edited: 0000038
2014-09-16 18:47 user13 Note Edited: 0000038
2014-09-16 20:08 CwmpUser Note Added: 0000039
2014-09-16 21:30 CwmpUser Note Added: 0000040
2014-09-17 16:45 user13 Note Added: 0000041
2014-09-17 17:06 user13 Note Edited: 0000041
2014-09-17 17:35 user13 Note Edited: 0000041
2014-09-18 01:20 CwmpUser Note Added: 0000042
2014-09-18 17:38 user13 Note Added: 0000044
2014-09-18 18:33 mohamed.kallel Note Edited: 0000044
2014-09-23 10:52 mohamed.kallel Priority normal => low
2014-09-23 10:52 mohamed.kallel Severity crash => minor
2014-09-24 10:01 mohamed.kallel Status new => resolved
2014-09-24 10:01 mohamed.kallel Resolution open => fixed
2014-09-24 10:01 mohamed.kallel Assigned To => mohamed.kallel