[blfs-book] r11614 - in trunk/BOOK: . general/genlib general/genutils general/sysutils

krejzi at higgs.linuxfromscratch.org krejzi at higgs.linuxfromscratch.org
Sun Aug 11 11:48:01 PDT 2013


Author: krejzi
Date: Sun Aug 11 11:48:00 2013
New Revision: 11614

Log:
move libraries to general libraries chapter

Added:
   trunk/BOOK/general/genlib/apr-util.xml
      - copied unchanged from r11612, trunk/BOOK/general/genutils/apr-util.xml
   trunk/BOOK/general/genlib/js.xml
      - copied unchanged from r11612, trunk/BOOK/general/genutils/js.xml
   trunk/BOOK/general/genlib/libarchive.xml
      - copied unchanged from r11612, trunk/BOOK/general/sysutils/libarchive.xml
   trunk/BOOK/general/genlib/libiodbc.xml
      - copied unchanged from r11612, trunk/BOOK/general/genutils/libiodbc.xml
Deleted:
   trunk/BOOK/general/genutils/apr-util.xml
   trunk/BOOK/general/genutils/js.xml
   trunk/BOOK/general/genutils/libiodbc.xml
   trunk/BOOK/general/sysutils/libarchive.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/genlib.xml
   trunk/BOOK/general/genutils/genutils.xml
   trunk/BOOK/general/sysutils/sysutils.xml

Modified: trunk/BOOK/general.ent
==============================================================================
--- trunk/BOOK/general.ent	Sun Aug 11 11:36:44 2013	(r11613)
+++ trunk/BOOK/general.ent	Sun Aug 11 11:48:00 2013	(r11614)
@@ -198,6 +198,7 @@
 <!-- Part III -->
 <!-- Chapter 9 -->
 <!ENTITY apr-version                  "1.4.8">
+<!ENTITY apr-util-version             "1.5.2">
 <!ENTITY aspell-version               "0.60.6.1">
 
 <!ENTITY boost-major                  "1">
@@ -224,9 +225,11 @@
 <!ENTITY icu-dl-version               "&icu-major;_&icu-minor;"><!-- _&icu-patch;-->
 
 <!ENTITY iso-codes-version            "3.45">
+<!ENTITY JS-version                   "17.0.0">
 <!ENTITY json-c-version               "0.11">
 <!ENTITY json-glib-version            "0.16.0">
 <!ENTITY keyutils-version             "1.5.5">
+<!ENTITY libarchive-version           "3.1.2">
 <!ENTITY libassuan-version            "2.1.1">
 <!ENTITY libatasmart-version          "0.19">
 <!ENTITY libatomic_ops-version        "7.2d">
@@ -245,6 +248,7 @@
 <!ENTITY libical-version              "1.0">
 <!ENTITY libidl-version               "0.8.14">
 <!ENTITY libidn-version               "1.28">
+<!ENTITY libiodbc-version             "3.52.8">
 <!ENTITY libksba-version              "1.3.0">
 <!ENTITY libsigc-version              "2.2.11">
 <!ENTITY libtasn1-version             "3.3">
@@ -301,7 +305,6 @@
 <!ENTITY qpdf-version                 "5.0.0">
 
 <!-- Chapter 11 -->
-<!ENTITY apr-util-version             "1.5.2">
 <!ENTITY bc-version                   "1.06.95">
 <!ENTITY compface-version             "1.5.2">
 <!ENTITY desktop-file-utils-version   "0.21">
@@ -312,8 +315,6 @@
 <!ENTITY icon-naming-utils-version    "0.8.90">
 <!ENTITY imagemagick-version          "6.8.6">
 <!ENTITY intltool-version             "0.50.2">
-<!ENTITY JS-version                   "17.0.0">
-<!ENTITY libiodbc-version             "3.52.8">
 <!ENTITY pinentry-version             "0.8.3">
 <!ENTITY qtchooser-version            "31">
 <!ENTITY rarian-version               "0.8.1">
@@ -339,7 +340,6 @@
 <!ENTITY gpm-version                  "1.20.7">
 <!ENTITY hdparm-version               "9.43">
 <!ENTITY ibus-version                 "1.5.3">    <!-- stable lt .90 micro version -->
-<!ENTITY libarchive-version           "3.1.2">
 <!ENTITY lm_sensors-version           "3.3.4">
 <!ENTITY mc-version                   "4.8.10">
 <!ENTITY obex-data-server-version     "0.4.6">

Copied: trunk/BOOK/general/genlib/apr-util.xml (from r11612, trunk/BOOK/general/genutils/apr-util.xml)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/BOOK/general/genlib/apr-util.xml	Sun Aug 11 11:48:00 2013	(r11614, copy of r11612, trunk/BOOK/general/genutils/apr-util.xml)
@@ -0,0 +1,198 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY apr-util-download-http
+           "http://archive.apache.org/dist/apr/apr-util-&apr-util-version;.tar.bz2">
+  <!ENTITY apr-util-download-ftp  " ">
+  <!ENTITY apr-util-md5sum        "89c1348aa79e898d7c34a6206311c9c2">
+  <!ENTITY apr-util-size          "680 KB">
+  <!ENTITY apr-util-buildsize     "11 MB">
+  <!ENTITY apr-util-time          "0.2 SBU">
+]>
+
+<sect1 id="apr-util" xreflabel="Apr-Util-&apr-util-version;">
+  <?dbhtml filename="apr-util.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>Apr-Util-&apr-util-version;</title>
+
+  <indexterm zone="apr-util">
+    <primary sortas="a-Apr-Util">Apr-Util</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to Apr Util</title>
+
+    <para>
+      The Apache Portable Runtime Utility Library provides a predictable and
+      consistent interface to underlying client library interfaces. This
+      application programming interface assures predictable if not identical
+      behaviour regardless of which libraries are available on a given platform.
+    </para>
+
+    &lfs73_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&apr-util-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&apr-util-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &apr-util-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &apr-util-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &apr-util-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &apr-util-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">Apr Util Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="apr"/>
+    </para>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="openssl"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="db"/>,
+      <xref linkend="expat"/>,
+      <ulink url="http://www.freetds.org/">FreeTDS</ulink>,
+      <xref linkend="mysql"/>,
+      <xref linkend="openldap"/>,
+      <xref linkend="postgresql"/>,
+      <xref linkend="sqlite"/> and
+      <xref linkend="unixodbc"/>
+    </para>
+
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url="&blfs-wiki;/apr-util"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of Apr Util</title>
+
+    <para>
+      Install <application>Apr Util</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>./configure --prefix=/usr       \
+            --with-apr=/usr     \
+            --with-gdbm=/usr    \
+            --with-openssl=/usr \
+            --with-crypto &&
+make</userinput></screen>
+
+    <para>
+      To test the results, issue: <command>make test</command>.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <parameter>--with-gdbm=/usr</parameter>: This switch enables the
+      <filename class="libraryfile">apr_dbm_gdbm-1.so</filename> plugin.
+    </para>
+
+    <para>
+      <parameter>--with-openssl=/usr --with-crypto</parameter>: These
+      switches enable the
+      <filename class="libraryfile">apr_crypto_openssl-1.so</filename>
+      plugin. Remove them if you have not installed
+      <xref linkend="openssl"/>.
+    </para>
+
+    <para>
+      <parameter>--with-berkeley-db=/usr</parameter>: If you have
+      installed <xref linkend="db"/>, use this switch to compile the
+      <filename class="libraryfile">apr_dbm_db-1.so</filename> plugin.
+    </para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Program</segtitle>
+      <segtitle>Installed Library</segtitle>
+      <segtitle>Installed Directory</segtitle>
+
+      <seglistitem>
+        <seg>
+          apu-1-config
+        </seg>
+        <seg>
+          libaprutil-1.so
+        </seg>
+        <seg>
+          /usr/lib/apr-util-1
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="libaprutil-1">
+        <term><filename class="libraryfile">libaprutil-1.so</filename></term>
+        <listitem>
+          <para>
+            contains functions that provide a predictable and consistent
+            interface to underlying client library interfaces.
+          </para>
+          <indexterm zone="apr-util libaprutil-1">
+            <primary sortas="c-libaprutil-1">libaprutil-1.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/general/genlib/genlib.xml
==============================================================================
--- trunk/BOOK/general/genlib/genlib.xml	Sun Aug 11 11:36:44 2013	(r11613)
+++ trunk/BOOK/general/genlib/genlib.xml	Sun Aug 11 11:48:00 2013	(r11614)
@@ -44,6 +44,7 @@
   it is explained why you may want to install them.</para>
 
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apr.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apr-util.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="aspell.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="boost.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="dbus-glib.xml"/>
@@ -58,9 +59,11 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="gsl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="icu.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="iso-codes.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-c.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="json-glib.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="keyutils.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libarchive.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libassuan.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libatasmart.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libatomic_ops.xml"/>
@@ -79,6 +82,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libical.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libidl.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libidn.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libiodbc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libksba.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libsigc++.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libtasn1.xml"/>

Copied: trunk/BOOK/general/genlib/js.xml (from r11612, trunk/BOOK/general/genutils/js.xml)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/BOOK/general/genlib/js.xml	Sun Aug 11 11:48:00 2013	(r11614, copy of r11612, trunk/BOOK/general/genutils/js.xml)
@@ -0,0 +1,223 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY JS-download-http
+           "http://ftp.mozilla.org/pub/mozilla.org/js/mozjs&JS-version;.tar.gz">
+  <!ENTITY JS-download-ftp
+           "ftp://ftp.mozilla.org/pub/mozilla.org/js/mozjs&JS-version;.tar.gz">
+  <!ENTITY JS-md5sum        "20b6f8f1140ef6e47daa3b16965c9202">
+  <!ENTITY JS-size          "6.5 MB">
+  <!ENTITY JS-buildsize     "1.2 GB">
+  <!ENTITY JS-time          "2.0 SBU">
+]>
+
+<sect1 id="JS" xreflabel="JS-&JS-version;">
+  <?dbhtml filename="JS.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>JS-&JS-version;</title>
+
+  <indexterm zone="JS">
+    <primary sortas="a-JS">JS</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to JS</title>
+
+    <para>
+      <application>JS</application> is Mozilla's JavaScript engine
+      written in C/C++.
+    </para>
+
+    &lfs73_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&JS-download-http;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&JS-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &JS-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &JS-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &JS-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &JS-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">JS Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="libffi"/>,
+      <xref linkend="nspr"/>,
+      <xref linkend="python2"/> and
+      <xref linkend="zip"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="doxygen"/> and
+      <xref linkend="makedepend"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+      <ulink url="&blfs-wiki;/JS"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of JS</title>
+
+    <para>
+      Install <application>JS</application> by running the
+      following commands:
+    </para>
+
+<screen><userinput>cd js/src &&
+./configure --prefix=/usr       \
+            --enable-readline   \
+            --enable-threadsafe \
+            --with-system-ffi   \
+            --with-system-nspr &&
+make</userinput></screen>
+
+    <para>
+      To test the results, issue: <command>make check</command>.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem>
+      user:
+    </para>
+
+<screen role="root"><userinput>make install &&
+find /usr/include/js-17.0/            \
+     /usr/lib/libmozjs-17.0.a         \
+     /usr/lib/pkgconfig/mozjs-17.0.pc \
+     -type f -exec chmod -v 644 {} +</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <option>--enable-threadsafe</option>: This switch enables
+      support for multiple threads.
+    </para>
+
+    <para>
+      <option>--enable-readline</option>: This switch enables
+      <application>Readline</application> support in JS shell.
+    </para>
+
+    <para>
+      <option>--with-system-ffi</option>: This switch forces the
+      package to link to the system version of <application>libffi</application>
+      instead of using its included, and now old, version.
+    </para>
+
+    <para>
+      <option>--with-system-nspr</option>: This switch forces the
+      package to link to the system version of <application>NSPR</application>
+      instead of using its included, and now old, version.
+    </para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directory</segtitle>
+
+      <seglistitem>
+        <seg>
+          js17 and js17-config
+        </seg>
+        <seg>
+          libmozjs-17.0.a and libmozjs-17.0.so
+        </seg>
+        <seg>
+          /usr/include/js-17.0
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="js17">
+        <term><command>js17</command></term>
+        <listitem>
+          <para>
+            provides a command line interface to the JavaScript engine.
+          </para>
+          <indexterm zone="JS js17">
+            <primary sortas="b-js17">js17</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="js17-config">
+        <term><command>js17-config</command></term>
+        <listitem>
+          <para>
+            is used to find out <application>JS</application>
+            compiler and linker flags.
+          </para>
+          <indexterm zone="JS js17-config">
+            <primary sortas="b-js17-config">js17-config</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libmozjs">
+        <term><filename class="libraryfile">libmozjs-17.0.so</filename></term>
+        <listitem>
+          <para>
+            contains the <application>Mozilla JavaScript</application> API functions.
+          </para>
+          <indexterm zone="JS libmozjs">
+            <primary sortas="c-libmozjs">libmozjs-17.0.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Copied: trunk/BOOK/general/genlib/libarchive.xml (from r11612, trunk/BOOK/general/sysutils/libarchive.xml)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/BOOK/general/genlib/libarchive.xml	Sun Aug 11 11:48:00 2013	(r11614, copy of r11612, trunk/BOOK/general/sysutils/libarchive.xml)
@@ -0,0 +1,188 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY libarchive-download-http "http://www.libarchive.org/downloads/libarchive-&libarchive-version;.tar.gz">
+  <!ENTITY libarchive-download-ftp  " ">
+  <!ENTITY libarchive-md5sum        "efad5a503f66329bb9d2f4308b5de98a">
+  <!ENTITY libarchive-size          "4.4 MB">
+  <!ENTITY libarchive-buildsize     "60 MB">
+  <!ENTITY libarchive-time          "0.5 SBU">
+]>
+
+<sect1 id="libarchive" xreflabel="libarchive-&libarchive-version;">
+  <?dbhtml filename="libarchive.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>libarchive-&libarchive-version;</title>
+
+  <indexterm zone="libarchive">
+    <primary sortas="a-libarchive">libarchive</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to libarchive</title>
+
+    <para>
+      The <application>libarchive</application> library provides a single
+      interface for reading/writing various compression formats.
+    </para>
+
+    &lfs73_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+Download (HTTP): <ulink url="&libarchive-download-http;"/>
+</para>
+      </listitem>
+      <listitem>
+        <para>
+          Download (FTP): <ulink url="&libarchive-download-ftp;"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download MD5 sum: &libarchive-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &libarchive-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &libarchive-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &libarchive-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">libarchive Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="acl"/>,
+      <xref linkend="libxml2"/> or
+      <xref linkend="expat"/>,
+      <xref linkend="LZO"/>,
+      <xref linkend="nettle"/> and
+      <xref linkend="openssl"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+      <ulink url="&blfs-wiki;/libarchive"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of libarchive</title>
+
+    <para>
+      Install <application>libarchive</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>./configure --prefix=/usr --disable-static &&
+make</userinput></screen>
+
+    <para>
+      To test the results, issue: <userinput>make check</userinput>.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+      href="../../xincludes/static-libraries.xml"/>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          bsdcpio and bsdtar
+        </seg>
+        <seg>
+          libarchive.so
+        </seg>
+        <seg>
+          None
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="bsdcpio">
+        <term><command>bsdcpio</command></term>
+        <listitem>
+          <para>
+            is a tool similar to <command>cpio</command>.
+          </para>
+          <indexterm zone="libarchive bsdcpio">
+            <primary sortas="b-bsdcpio">bsdcpio</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="bsdtar">
+        <term><command>bsdtar</command></term>
+        <listitem>
+          <para>
+            is a tool similar to GNU <command>tar</command>.
+          </para>
+          <indexterm zone="libarchive bsdtar">
+            <primary sortas="b-bsdtar">bsdtar</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="libarchive-lib">
+        <term><filename class="libraryfile">libarchive.so</filename></term>
+        <listitem>
+          <para>
+            is a library that can create and read several streaming
+            archive formats.
+          </para>
+          <indexterm zone="libarchive libarchive-lib">
+            <primary sortas="c-libarchive">libarchive.so</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Copied: trunk/BOOK/general/genlib/libiodbc.xml (from r11612, trunk/BOOK/general/genutils/libiodbc.xml)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ trunk/BOOK/general/genlib/libiodbc.xml	Sun Aug 11 11:48:00 2013	(r11614, copy of r11612, trunk/BOOK/general/genutils/libiodbc.xml)
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY libiodbc-download-http "&sourceforge-repo;/project/iodbc/iodbc/&libiodbc-version;/libiodbc-&libiodbc-version;.tar.gz">
+  <!ENTITY libiodbc-download-ftp  " ">
+  <!ENTITY libiodbc-md5sum        "9889f95f632f10895ff53b8a22162810">
+  <!ENTITY libiodbc-size          "1.0 MB">
+  <!ENTITY libiodbc-buildsize     "27 MB">
+  <!ENTITY libiodbc-time          "0.3 SBU">
+]>
+
+<sect1 id="libiodbc" xreflabel="libiodbc-&libiodbc-version;">
+  <?dbhtml filename="libiodbc.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>libiodbc-&libiodbc-version;</title>
+
+  <indexterm zone="libiodbc">
+    <primary sortas="a-libiodbc">libiodbc</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to libiodbc</title>
+
+    <para><application>libiodbc</application> is an API to ODBC compatible
+    databases.</para>
+
+    &lfs73_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&libiodbc-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&libiodbc-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &libiodbc-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &libiodbc-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &libiodbc-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &libiodbc-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">libiodbc Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+    <xref linkend="gtk2"/> (to create the GUI admin tool)
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/libiodbc"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of libiodbc</title>
+
+    <para>
+      Install <application>libiodbc</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>./configure --prefix=/usr                   \
+            --with-iodbc-inidir=/etc/iodbc  \
+            --includedir=/usr/include/iodbc \
+            --disable-libodbc               &&
+make</userinput></screen>
+
+    <para>
+      This package does not come with a test suite.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+    <para>
+      <parameter>--with-iodbc-inidir</parameter>: <application>libiodbc</application>
+      will install configuration files in this directory.
+    </para>
+
+    <para>
+      <parameter>--includedir=/usr/include/iodbc</parameter>: This installs the
+      interface headers to a private directory to avoid a conflict with headers
+      installed by <application>unixODBC</application>.
+    </para>
+
+    <para>
+      <parameter>--disable-libodbc</parameter>: This prevents the installation
+      of the <filename class="symlink">libodbc.so</filename> symbolic link to
+      avoid a conflict with <application>unixODBC</application>.
+    </para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directory</segtitle>
+
+      <seglistitem>
+        <seg>iodbc-config, iodbctest, iodbctestw, and iodbcadm</seg>
+        <seg>libiodbc.{a,so}, libiodbcinst.{a,so}, and
+        libiodbcadm.{a,so}</seg>
+        <seg>/usr/include/iodbc, /usr/share/libiodbc, and /etc/iodbc</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="iodbc-config">
+        <term><command>iodbc-config</command></term>
+        <listitem>
+          <para>is a utility for retrieving the installation options of libiodbc.</para>
+          <indexterm zone="libiodbc iodbc-config">
+            <primary sortas="b-iodbc-config">iodbc-config</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="iodbctest">
+        <term><command>iodbctest{,w}</command></term>
+        <listitem>
+          <para>are interactive SQL processors.</para>
+          <indexterm zone="libiodbc iodbctest">
+            <primary sortas="b-iodbctest">iodbctest</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="iodbcadm">
+        <term><command>iodbcadm</command></term>
+        <listitem>
+          <para>is a graphical administration utility.</para>
+          <indexterm zone="libiodbc iodbcadm">
+            <primary sortas="b-iodbcadm">iodbcadm</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/general/genutils/genutils.xml
==============================================================================
--- trunk/BOOK/general/genutils/genutils.xml	Sun Aug 11 11:36:44 2013	(r11613)
+++ trunk/BOOK/general/genutils/genutils.xml	Sun Aug 11 11:48:00 2013	(r11614)
@@ -20,7 +20,6 @@
   text and graphics, a program to interface with a palm-pilot, a program for entering
   PIN numbers and pass-phrases, and a hash generator.</para>
 
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="apr-util.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="bc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="compface.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="desktop-file-utils.xml"/>
@@ -31,8 +30,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="icon-naming-utils.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="imagemagick.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="intltool.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="js.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libiodbc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="pinentry.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="qtchooser.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rarian.xml"/>

Modified: trunk/BOOK/general/sysutils/sysutils.xml
==============================================================================
--- trunk/BOOK/general/sysutils/sysutils.xml	Sun Aug 11 11:36:44 2013	(r11613)
+++ trunk/BOOK/general/sysutils/sysutils.xml	Sun Aug 11 11:48:00 2013	(r11614)
@@ -32,7 +32,6 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="hdparm.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ibus.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="initdtools.xml"/>
-  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="libarchive.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="lm_sensors.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="mc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="obex-data-server.xml"/>



More information about the blfs-book mailing list