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