The JSON-C implements a reference counting object model that allows you to easily construct JSON objects in C, output them as JSON formatted strings and parse JSON formatted strings back into the C representation of JSON objects.
This package is known to build and work properly using an LFS-8.2 platform.
Download (HTTP): https://s3.amazonaws.com/json-c_releases/releases/json-c-0.13.tar.gz
Download MD5 sum: 11fc5d90c77375e5fc8401e8b9efbf21
Download size: 620 KB
Estimated disk space required: 5.0 MB (add 6.0 MB for tests)
Estimated build time: less than 0.1 SBU (add 1.7 SBU for tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/json-c
Install JSON-C by running the following commands:
./configure --prefix=/usr --disable-static && make
To test the results, issue: make check.
Now, as the root
user:
make install
sed ...
: This
instruction removes a flag that prevents one file from compiling.
--disable-static
: This
switch prevents installation of static versions of the libraries.
Last updated on 2018-02-17 15:35:13 -0800