glfs/general/genlib/guile.xml
Randy McMurchy 3bc173f1c4 Updated to Guile-1.6.5
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2881 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-10-29 05:00:27 +00:00

122 lines
4.0 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 guile-download-http "http://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.gz">
<!ENTITY guile-download-ftp "ftp://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.gz">
<!ENTITY guile-size "3.0 MB">
<!ENTITY guile-buildsize "36.5 MB">
<!ENTITY guile-time "0.87 SBU">
]>
<sect1 id="guile" xreflabel="Guile-&guile-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="guile.html"?>
<title>Guile-&guile-version;</title>
<sect2>
<title>Introduction to <application>Guile</application></title>
<para>The <application>Guile</application> package contains the Project
<acronym>GNU</acronym>'s extension language library.
<application>Guile</application> also contains a stand alone
<application>Scheme</application> interpreter.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&guile-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&guile-download-ftp;"/></para></listitem>
<listitem><para>Download size: &guile-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&guile-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&guile-time;</para></listitem></itemizedlist>
</sect3>
<!-- <sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Required Patch (if building the HTML Reference Guide): <ulink
url="&patch-root;/guile-&guile-version;-fhs_docs-1.patch"/></para></listitem>
</itemizedlist>
</sect3>
<sect3><title><application>Guile</application> dependencies</title>
<sect4><title>Optional</title>
<itemizedlist spacing='compact'>
<listitem><para><xref linkend="pst-typesetting-tex"/></para></listitem>
</itemizedlist></sect4>
</sect3> -->
</sect2>
<sect2>
<title>Installation of <application>Guile</application></title>
<para>Install <application>Guile</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
LD_LIBRARY_PATH="$PWD/libguile-ltdl/.libs" make &amp;&amp;
make install</command></userinput></screen>
</sect2>
<sect2>
<title>Command Explanations</title>
<para><command>LD_LIBRARY_PATH="$PWD/libguile-ltdl/.libs" make</command>:
Something is broken in the Autotools chain. Passing this variable allows the
build to finish successfully.</para>
</sect2>
<sect2>
<title>Contents</title>
<para>In addition to the <filename class='libraryfile'>libguile</filename>
libraries, the <application>Guile</application> package contains
<command>guile</command>,
<command>guile-config</command>,
<command>guile-snarf</command>,
<command>guile-tools</command> and
numerous <application>Guile</application> scripts.
</para>
</sect2>
<sect2><title>Description</title>
<sect3><title>guile</title>
<para><command>guile</command> is a stand-alone Scheme interpreter for
<application>Guile</application>.</para></sect3>
<sect3><title>guile-config</title>
<para><command>guile-config</command> is a <application>Guile</application>
script which provides the information necessary to link your programs against
the <application>Guile</application> library, in much the same way
<xref linkend="pkgconfig"></xref> does.</para></sect3>
<sect3><title>guile-snarf</title>
<para><command>guile-snarf</command> is a script to parse declarations in
your <application>C</application> code for <application>Scheme</application>
visible <application>C</application> functions,
<application>Scheme</application> objects to be used by
<application>C</application> code, etc.</para></sect3>
<sect3><title>guile-tools</title>
<para><command>guile-tools</command> is a wrapper program installed along with
<command>guile</command> which knows where a particular module is installed and
calls it passing its args to a program.</para></sect3>
</sect2>
</sect1>