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-7.9 platform.
Download (HTTP): https://s3.amazonaws.com/json-c_releases/releases/json-c-0.12.tar.gz
Download MD5 sum: 3ca4bbb881dfc4017e8021b5e0a8c491
Download size: 496 KB
Estimated disk space required: 6.7 MB
Estimated build time: less than 0.1 SBU (add 1.0 SBU for tests)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/json-c
This package does not support parallel build.
Install JSON-C by running the following commands:
sed -i s/-Werror// Makefile.in && ./configure --prefix=/usr --disable-static && make -j1
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 2016-02-24 19:22:02 -0800