mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
563441fa87
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3435 af4574ff-66df-0310-9fd7-8a98e5e911e0
149 lines
5.1 KiB
XML
149 lines
5.1 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY lynx-download-http "http://lynx.isc.org/release/lynx&lynx-version;.tar.bz2">
|
|
<!ENTITY lynx-download-ftp "ftp://lynx.isc.org/lynx&lynx-version;/lynx&lynx-version;.tar.bz2">
|
|
<!ENTITY lynx-md5sum "d1e5134e5d175f913c16cb6768bc30eb">
|
|
<!ENTITY lynx-size "2.2 MB">
|
|
<!ENTITY lynx-buildsize "23 MB">
|
|
<!ENTITY lynx-time "0.55 SBU">
|
|
]>
|
|
|
|
<sect1 id="lynx" xreflabel="Lynx-&lynx-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="lynx.html"?>
|
|
<title>Lynx-&lynx-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>Lynx</application></title>
|
|
|
|
<para><application>Lynx</application> is a text based web browser.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<itemizedlist spacing='compact'>
|
|
<listitem><para>Download (HTTP): <ulink
|
|
url="&lynx-download-http;"/></para></listitem>
|
|
<listitem><para>Download (FTP): <ulink
|
|
url="&lynx-download-ftp;"/></para></listitem>
|
|
<listitem><para>Download MD5 sum: &lynx-md5sum;</para></listitem>
|
|
<listitem><para>Download size: &lynx-size;</para></listitem>
|
|
<listitem><para>Estimated disk space required:
|
|
&lynx-buildsize;</para></listitem>
|
|
<listitem><para>Estimated build time:
|
|
&lynx-time;</para></listitem></itemizedlist>
|
|
</sect3>
|
|
|
|
<sect3><title><application>Lynx</application> dependencies</title>
|
|
<sect4><title>Optional</title>
|
|
<para><xref linkend="openssl"/> or
|
|
<ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink> (which
|
|
needs <ulink
|
|
url="ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/">libgpg-error</ulink>,
|
|
<ulink url="ftp://ftp.gnupg.org/gcrypt/libgcrypt/">libgcrypt</ulink> and
|
|
<ulink
|
|
url="ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/opencdk/">opencdk</ulink>,
|
|
in that order), <ulink url="../server/mail.html">MTA</ulink>,
|
|
<xref linkend="zip"/>, <xref linkend="unzip"/>,
|
|
<xref linkend="slang"/>, <ulink
|
|
url="http://ftp.ibiblio.org/pub/linux/utils/compress/ncompress-4.2.4.tar.Z">
|
|
ncompress</ulink> and
|
|
<ulink url="http://www.gnu.org/software/sharutils/">sharutils</ulink></para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>Lynx</application></title>
|
|
|
|
<para>Install <application>Lynx</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr --libdir=/etc \
|
|
--with-zlib --with-bzlib &&
|
|
make &&
|
|
make install &&
|
|
make docdir=/usr/share/doc/lynx-&lynx-version;/lynx_doc \
|
|
helpdir=/usr/share/doc/lynx-&lynx-version;/lynx_help install-doc &&
|
|
make docdir=/usr/share/doc/lynx-&lynx-version;/lynx_doc \
|
|
helpdir=/usr/share/doc/lynx-&lynx-version;/lynx_help install-help &&
|
|
chgrp -R root /usr/share/doc/lynx-&lynx-version;/lynx_doc</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Command explanations</title>
|
|
|
|
<para><parameter>--libdir=/etc</parameter>: For some reason, the
|
|
<command>configure</command> and <command>make</command> routine for
|
|
<application>Lynx</application> uses libdir as the prefix for the
|
|
configuration file. This is set to <filename class="directory">/etc</filename>
|
|
so that the system wide configuration file is
|
|
<filename>/etc/lynx.cfg</filename>.</para>
|
|
|
|
<para><option>--with-zlib</option>: This enables support for
|
|
linking <application>libz</application> into
|
|
<application>Lynx</application>.</para>
|
|
|
|
<para><option>--with-bzlib</option>: This enables support for
|
|
linking <application>libbz2</application> into
|
|
<application>Lynx</application>.</para>
|
|
|
|
<para><parameter>docdir=... helpdir=...</parameter>: These
|
|
variables are set to avoid getting the help and documentation files installed
|
|
under <filename class="directory">/etc</filename>.</para>
|
|
|
|
<para><option>--with-ssl</option>: This enables support for
|
|
linking <acronym>SSL</acronym> into <application>Lynx</application>.</para>
|
|
|
|
<para><option>--with-gnutls</option>: This enables support for
|
|
linking <application>Gnu<acronym>TLS</acronym></application> into
|
|
<application>Lynx</application>.</para>
|
|
|
|
<para><command>chgrp -R root /usr/share/doc/lynx/2.8.5/lynx_doc</command>:
|
|
This command corrects the improper group ownership of installed documentation
|
|
files caused if <application>Lynx</application> is built by any user other
|
|
than root.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Configuring <application>Lynx</application></title>
|
|
|
|
<sect3><title>Config files</title>
|
|
<para><filename>/etc/lynx.cfg</filename></para>
|
|
</sect3>
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
<para>Various settings such as proxies can be set in the system-wide
|
|
<filename>lynx.cfg</filename> file found in
|
|
<filename class="directory">/etc</filename>.</para>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>Lynx</application> package contains
|
|
<command>lynx</command>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>lynx</title>
|
|
<para><command>lynx</command> is a general purpose, text-based, distributed
|
|
information browser for the World Wide Web.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|