source: general/genlib/json-c.xml@ 0a43695

10.0 10.1 11.0 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 0a43695 was 0a43695, checked in by Ken Moffat <ken@…>, 4 years ago

tags

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19788 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY json-c-download-http "https://s3.amazonaws.com/json-c_releases/releases/json-c-&json-c-version;.tar.gz">
8 <!ENTITY json-c-download-ftp " ">
9 <!ENTITY json-c-md5sum "11fc5d90c77375e5fc8401e8b9efbf21">
10 <!ENTITY json-c-size "620 KB">
11 <!ENTITY json-c-buildsize "5.0 MB (add 6.0 MB for tests)">
12 <!ENTITY json-c-time "less than 0.1 SBU (add 1.7 SBU for tests)">
13
14]>
15
16<sect1 id="json-c" xreflabel="JSON-C-&json-c-version;">
17 <?dbhtml filename="json-c.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>JSON-C-&json-c-version;</title>
25
26 <indexterm zone="json-c">
27 <primary sortas="a-JSON-C">JSON-C</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to JSON-C</title>
32
33 <para>
34 The <application>JSON-C</application> implements a reference counting
35 object model that allows you to easily construct JSON objects in C,
36 output them as JSON formatted strings and parse JSON formatted strings
37 back into the C representation of JSON objects.
38 </para>
39
40 &lfs82_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&json-c-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&json-c-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &json-c-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &json-c-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &json-c-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &json-c-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <para condition="html" role="usernotes">
77 User Notes: <ulink url="&blfs-wiki;/json-c"/>
78 </para>
79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of JSON-C</title>
83<!--
84 <note>
85 <para>
86 This package does not support parallel build.
87 </para>
88 </note>
89-->
90 <para>
91 Install <application>JSON-C</application> by running the following
92 commands:
93 </para>
94
95<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
96make</userinput></screen>
97
98 <para>
99 To test the results, issue: <command>make check</command>.
100 </para>
101
102 <para>
103 Now, as the <systemitem class="username">root</systemitem> user:
104 </para>
105
106<screen role="root"><userinput>make install</userinput></screen>
107 </sect2>
108
109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
112 <para><userinput>sed ...</userinput>: This instruction removes a flag
113 that prevents one file from compiling.</para>
114
115 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
116 href="../../xincludes/static-libraries.xml"/>
117
118 </sect2>
119
120 <sect2 role="content">
121 <title>Contents</title>
122
123 <segmentedlist>
124 <segtitle>Installed Programs</segtitle>
125 <segtitle>Installed Libraries</segtitle>
126 <segtitle>Installed Directories</segtitle>
127
128 <seglistitem>
129 <seg>
130 None
131 </seg>
132 <seg>
133 libjson-c.so and libjson.so
134 </seg>
135 <seg>
136 /usr/include/json and
137 /usr/include/json-c
138 </seg>
139 </seglistitem>
140 </segmentedlist>
141
142 <variablelist>
143 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
144 <?dbfo list-presentation="list"?>
145 <?dbhtml list-presentation="table"?>
146
147 <varlistentry id="libjson">
148 <term><filename class="libraryfile">libjson.so</filename></term>
149 <listitem>
150 <para>
151 contains the <application>JSON-C</application> API functions.
152 </para>
153 <indexterm zone="json-c libjson">
154 <primary sortas="c-libjson">libjson.so</primary>
155 </indexterm>
156 </listitem>
157 </varlistentry>
158
159 <varlistentry id="libjson-c">
160 <term><filename class="libraryfile">libjson-c.so</filename></term>
161 <listitem>
162 <para>
163 contains the <application>JSON-C</application> API functions.
164 </para>
165 <indexterm zone="json-c libjson-c">
166 <primary sortas="c-libjson-c">libjson-c.so</primary>
167 </indexterm>
168 </listitem>
169 </varlistentry>
170
171 </variablelist>
172
173 </sect2>
174
175</sect1>
Note: See TracBrowser for help on using the repository browser.