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 jansson-download-http "https://github.com/akheron/jansson/releases/download/v&jansson-version;/jansson-&jansson-version;.tar.bz2">
|
---|
8 | <!ENTITY jansson-download-ftp " ">
|
---|
9 | <!ENTITY jansson-md5sum "3f90473d7d54ebd1cb6a2757396641df">
|
---|
10 | <!ENTITY jansson-size "424 KB">
|
---|
11 | <!ENTITY jansson-buildsize "5.6 MB (add 1.9 MB for tests">
|
---|
12 | <!ENTITY jansson-time "0.1 SBU [with tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="jansson" xreflabel="jansson-&jansson-version;">
|
---|
16 | <?dbhtml filename="jansson.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>Jansson-&jansson-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="jansson">
|
---|
25 | <primary sortas="a-jansson">jansson</primary>
|
---|
26 | </indexterm>
|
---|
27 | <sect2 role="package">
|
---|
28 | <title>Introduction to Jansson</title>
|
---|
29 |
|
---|
30 | <para>
|
---|
31 | The <application>Jansson</application> package contains a library used to
|
---|
32 | encode, decode, and manipulate JSON data.
|
---|
33 | </para>
|
---|
34 |
|
---|
35 | &lfs110a_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download (HTTP): <ulink url="&jansson-download-http;"/>
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (FTP): <ulink url="&jansson-download-ftp;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download MD5 sum: &jansson-md5sum;
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download size: &jansson-size;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Estimated disk space required: &jansson-buildsize;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated build time: &jansson-time;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | <!-- No dependencies -->
|
---|
72 |
|
---|
73 | <para condition="html" role="usernotes">
|
---|
74 | User Notes: <ulink url="&blfs-wiki;/jansson"/>
|
---|
75 | </para>
|
---|
76 | </sect2>
|
---|
77 |
|
---|
78 | <sect2 role="installation">
|
---|
79 | <title>Installation of Jansson</title>
|
---|
80 |
|
---|
81 | <para>
|
---|
82 | First fix one of the tests:
|
---|
83 | </para>
|
---|
84 |
|
---|
85 | <screen><userinput>sed -e "/DT/s;| sort;| sed 's/@@libjansson.*//' &;" \
|
---|
86 | -i test/suites/api/check-exports</userinput></screen>
|
---|
87 |
|
---|
88 | <para>
|
---|
89 | Install <application>jansson</application> by running the following
|
---|
90 | commands:
|
---|
91 | </para>
|
---|
92 |
|
---|
93 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
94 | make</userinput></screen>
|
---|
95 |
|
---|
96 | <para>
|
---|
97 | To test the results, issue: <command>make check</command>.
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
102 | </para>
|
---|
103 |
|
---|
104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
105 | </sect2>
|
---|
106 |
|
---|
107 | <sect2 role="content">
|
---|
108 | <title>Contents</title>
|
---|
109 |
|
---|
110 | <segmentedlist>
|
---|
111 | <segtitle>Installed Programs</segtitle>
|
---|
112 | <segtitle>Installed Library</segtitle>
|
---|
113 | <segtitle>Installed Directories</segtitle>
|
---|
114 |
|
---|
115 | <seglistitem>
|
---|
116 | <seg>
|
---|
117 | None
|
---|
118 | </seg>
|
---|
119 | <seg>
|
---|
120 | libjansson.so
|
---|
121 | </seg>
|
---|
122 | <seg>
|
---|
123 | None
|
---|
124 | </seg>
|
---|
125 | </seglistitem>
|
---|
126 | </segmentedlist>
|
---|
127 |
|
---|
128 | <variablelist>
|
---|
129 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
130 | <?dbfo list-presentation="list"?>
|
---|
131 | <?dbhtml list-presentation="table"?>
|
---|
132 |
|
---|
133 | <varlistentry id="libjansson">
|
---|
134 | <term><filename class="libraryfile">libjansson.so</filename></term>
|
---|
135 | <listitem>
|
---|
136 | <para>
|
---|
137 | contains an API for encoding, decoding, and manipulating JSON data
|
---|
138 | </para>
|
---|
139 | <indexterm zone="jansson libjansson">
|
---|
140 | <primary sortas="c-libjansson">libjansson.so</primary>
|
---|
141 | </indexterm>
|
---|
142 | </listitem>
|
---|
143 | </varlistentry>
|
---|
144 | </variablelist>
|
---|
145 | </sect2>
|
---|
146 |
|
---|
147 | </sect1>
|
---|