View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000009 | easycwmp | Help | public | 2014-09-16 17:09 | 2014-09-24 10:01 |
Reporter | CwmpUser | Assigned To | mohamed.kallel | ||
Priority | low | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OpenWRT | OS | Linux Ubuntu | OS Version | 14.04 TLS |
Summary | 0000009: Unable to install easycwmp | ||||
Description | I 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. | ||||
Tags | No tags attached. | ||||
e-mail notification | |||||
|
|
|
|
|
Hello, 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://svn.openwrt.org/openwrt/tags/attitude_adjustment_12.09/package/libjson-c 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 libjson-c.so file exist under this path : "openwrt-path"/staging_dir/target-{arch}_{uClibc}/usr/lib * Check also the folder json-c under this path : "openwrt-path"/staging_dir/target-{arch}_{uClibc}/usr/include |
|
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 libjson.so 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. |
|
Also, in my second pic, it shows make[2] -C package/libs/libjson-c compile , which means it do build the json-c ? |
|
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. |
|
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 libjson.so instead of libjson-c.so. So the problem becomes why I cannot see libjson-c in menuconfig. Thanks in advance! This means a lot to me! |
|
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. |
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 |
|
Note Added: 0000038 | |
2014-09-16 18:13 |
|
Note Edited: 0000038 | |
2014-09-16 18:46 |
|
Note Edited: 0000038 | |
2014-09-16 18:47 |
|
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 |
|
Note Added: 0000041 | |
2014-09-17 17:06 |
|
Note Edited: 0000041 | |
2014-09-17 17:35 |
|
Note Edited: 0000041 | |
2014-09-18 01:20 | CwmpUser | Note Added: 0000042 | |
2014-09-18 17:38 |
|
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 |