[ce9b131] | 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 |
|
---|
[9d0684c] | 7 | <!ENTITY yaml-download-http "https://github.com/yaml/libyaml/archive/&yaml-version;/libyaml-&yaml-version;.tar.gz">
|
---|
[ce9b131] | 8 | <!ENTITY yaml-download-ftp " ">
|
---|
[df67b6c] | 9 | <!ENTITY yaml-md5sum "163fc1e22153d3e2cebfe5cbb43a1769">
|
---|
[476eb4bd] | 10 | <!ENTITY yaml-size "84 KB">
|
---|
[df67b6c] | 11 | <!ENTITY yaml-buildsize "6.7 MB (with tests)">
|
---|
[b738ceb] | 12 | <!ENTITY yaml-time "0.1 SBU (with tests)">
|
---|
[ce9b131] | 13 | ]>
|
---|
| 14 |
|
---|
[b738ceb] | 15 | <sect1 id="libyaml" xreflabel="libyaml-&yaml-version;">
|
---|
| 16 | <?dbhtml filename="libyaml.html"?>
|
---|
[ce9b131] | 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
[b738ceb] | 22 | <title>libyaml-&yaml-version;</title>
|
---|
[ce9b131] | 23 |
|
---|
[b738ceb] | 24 | <indexterm zone="libyaml">
|
---|
| 25 | <primary sortas="a-libyaml">libyaml</primary>
|
---|
[ce9b131] | 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
[b738ceb] | 29 | <title>Introduction to libyaml</title>
|
---|
[ce9b131] | 30 |
|
---|
| 31 | <para>
|
---|
[b738ceb] | 32 | The <application>libyaml</application> package contains a C
|
---|
[ce9b131] | 33 | library for parsing and emitting YAML (YAML Ain't Markup
|
---|
[b738ceb] | 34 | Language) code.
|
---|
[ce9b131] | 35 | </para>
|
---|
| 36 |
|
---|
[9029db2] | 37 | &lfs101_checked;
|
---|
[ce9b131] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&yaml-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&yaml-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: &yaml-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: &yaml-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: &yaml-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: &yaml-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[b738ceb] | 73 | <bridgehead renderas="sect3">libyaml Dependencies</bridgehead>
|
---|
[ce9b131] | 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 76 | <para role="optional">
|
---|
| 77 | <xref linkend="doxygen"/>
|
---|
| 78 | </para>
|
---|
| 79 |
|
---|
| 80 | <para condition="html" role="usernotes">User Notes:
|
---|
[b738ceb] | 81 | <ulink url="&blfs-wiki;/libyaml"/>
|
---|
[ce9b131] | 82 | </para>
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
[b738ceb] | 86 | <title>Installation of libyaml</title>
|
---|
[731bf37a] | 87 |
|
---|
[ce9b131] | 88 | <para>
|
---|
[b738ceb] | 89 | Install <application>libyaml</application> by running the following
|
---|
[ce9b131] | 90 | commands:
|
---|
| 91 | </para>
|
---|
| 92 |
|
---|
[b738ceb] | 93 | <screen><userinput>./bootstrap &&
|
---|
| 94 | ./configure --prefix=/usr --disable-static &&
|
---|
| 95 | make</userinput></screen>
|
---|
| 96 |
|
---|
| 97 | <!--
|
---|
[7ccb4b5] | 98 | <screen><userinput>mkdir build &&
|
---|
| 99 | cd build &&
|
---|
[731bf37a] | 100 |
|
---|
| 101 | cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
---|
| 102 | -DBUILD_SHARED_LIBS=true \
|
---|
| 103 | -DCMAKE_BUILD_TYPE=RELEASE .. &&
|
---|
[b738ceb] | 104 | make</userinput></screen> -->
|
---|
[ce9b131] | 105 |
|
---|
| 106 | <para>
|
---|
[b738ceb] | 107 | To test the results, issue: <command>make check</command>.
|
---|
[ce9b131] | 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
| 111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 115 |
|
---|
| 116 | </sect2>
|
---|
| 117 |
|
---|
| 118 | <sect2 role="commands">
|
---|
| 119 | <title>Command Explanations</title>
|
---|
| 120 |
|
---|
| 121 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 122 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="content">
|
---|
| 127 | <title>Contents</title>
|
---|
| 128 |
|
---|
| 129 | <segmentedlist>
|
---|
| 130 | <segtitle>Installed Programs</segtitle>
|
---|
| 131 | <segtitle>Installed Libraries</segtitle>
|
---|
| 132 | <segtitle>Installed Directories</segtitle>
|
---|
| 133 |
|
---|
| 134 | <seglistitem>
|
---|
| 135 | <seg>
|
---|
| 136 | None
|
---|
| 137 | </seg>
|
---|
| 138 | <seg>
|
---|
| 139 | libyaml.so
|
---|
| 140 | </seg>
|
---|
| 141 | <seg>
|
---|
| 142 | None
|
---|
| 143 | </seg>
|
---|
| 144 | </seglistitem>
|
---|
| 145 | </segmentedlist>
|
---|
| 146 |
|
---|
| 147 | <variablelist>
|
---|
| 148 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 149 | <?dbfo list-presentation="list"?>
|
---|
| 150 | <?dbhtml list-presentation="table"?>
|
---|
| 151 |
|
---|
[b738ceb] | 152 | <varlistentry id="libyaml-lib">
|
---|
[ce9b131] | 153 | <term><filename class="libraryfile">libyaml.so</filename></term>
|
---|
| 154 | <listitem>
|
---|
| 155 | <para>
|
---|
[4c24eb0a] | 156 | contains API functions for parsing and emitting YAML code
|
---|
[ce9b131] | 157 | </para>
|
---|
[b738ceb] | 158 | <indexterm zone="libyaml libyaml-lib">
|
---|
[ce9b131] | 159 | <primary sortas="c-libyaml">libyaml.so</primary>
|
---|
| 160 | </indexterm>
|
---|
| 161 | </listitem>
|
---|
| 162 | </varlistentry>
|
---|
| 163 |
|
---|
| 164 | </variablelist>
|
---|
| 165 |
|
---|
| 166 | </sect2>
|
---|
| 167 |
|
---|
| 168 | </sect1>
|
---|