Remove unneeded patch from php instructions.

Add libtirpc to repository.  It is not in the book yet becasue
of nis problems.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8964 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2011-11-15 18:59:00 +00:00
parent 02e4ec74d8
commit 821903b89e
2 changed files with 136 additions and 16 deletions

View File

@ -60,11 +60,6 @@
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<!--
<listitem>
<para>Required patch for Berkeley DB and EPI discovery: <ulink
url="&patch-root;/php-&php-version;-configure-1.patch"/></para>
</listitem> -->
<listitem>
<para>Pre-built documentation (optional): <ulink
url="http://www.php.net/download-docs.php"/></para>
@ -161,15 +156,6 @@
book provides instructions for setting up <application>PHP</application>
for server-side scripting as it is the most common form.</para>
<!-- Commenting this out for now
<para>If you have <application>Berkeley DB</application> installed and
wish to utilize it, apply the following patch:</para>
<screen><userinput>patch -Np1 -i ../php-&php-version;-db43-1.patch</userinput></screen>
-->
<note>
<para><application>PHP</application> has many more
<command>configure</command> options that will enable support for various
@ -192,8 +178,7 @@
<para>Install <application>PHP</application> by
running the following commands:</para>
<screen><userinput>patch -Np1 -i ../php-&php-version;-configure-1.patch &amp;&amp;
./configure --prefix=/usr \
<screen><userinput>./configure --prefix=/usr \
--sysconfdir=/etc \
--with-apxs2 \
--with-config-file-path=/etc \

View File

@ -0,0 +1,135 @@
<?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 libtirpc-download-http "&sourceforge-repo2;projects/libtirpc/libtirpc-&libtirpc-version;.tar.bz2">
<!ENTITY libtirpc-download-ftp " ">
<!ENTITY libtirpc-md5sum "74c41c15c2909f7d11d9c7bfa7db6273">
<!ENTITY libtirpc-size "460 KB">
<!ENTITY libtirpc-buildsize "11 MB">
<!ENTITY libtirpc-time "0.2 SBU">
]>
<sect1 id="libtirpc" xreflabel="libtirpc-&libtirpc-version;">
<?dbhtml filename="libtirpc.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libtirpc-&libtirpc-version;</title>
<indexterm zone="libtirpc">
<primary sortas="a-libtirpc">libtirpc</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libtirpc</title>
<para>The <application>libtirpc</application> package contains
libraries that support programs that use the Remote Procedure Call (RPC)
API.</para>
&lfs70_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Download (HTTP): <ulink url="&libtirpc-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&libtirpc-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &libtirpc-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &libtirpc-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &libtirpc-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &libtirpc-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required Patch (Remove nis dependencies):
<ulink
url="&patch-root;/libtirpc-&libtirpc-version;-remove-nis-1.patch"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libtirpc Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<ulink url="http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi">libgssapi</ulink>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libtirpc"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of libtirpc</title>
<para>Install <application>libtirpc</application> by running the following
commands:</para>
<screen><userinput>patch -Np1 -i ../libtirpc-&libtirpc-version;-remove-nis-1.patch &amp;&amp;
autoreconf &amp;&amp;
./configure --prefix=/usr &amp;&amp;
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="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>None</seg>
<seg>liblibtirpc.{so,a}</seg>
<seg>/usr/include/libtirpc</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libtirpc-lib">
<term><filename class='libraryfile'>libtirpc.{so,a}</filename></term>
<listitem>
<para>provides the Remote Procedure Call (RPC) API functions required by
other programs.</para>
<indexterm zone="libtirpc libtirpc-lib">
<primary sortas="c-libtirpc-lib">liblibtirpc.{so,a}</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>