2005-04-12 01:39:34 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2007-04-05 03:42:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
2005-04-12 01:39:34 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2011-11-19 04:09:42 +08:00
|
|
|
<!ENTITY guile-download-http "http://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.xz">
|
|
|
|
<!ENTITY guile-download-ftp "ftp://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.xz">
|
2011-11-14 12:24:35 +08:00
|
|
|
<!ENTITY guile-md5sum "f8b511ad43bbda0a1cbb1c52ceeebdf7">
|
|
|
|
<!ENTITY guile-size "4 MB">
|
|
|
|
<!ENTITY guile-buildsize "128 MB">
|
|
|
|
<!ENTITY guile-time "7.7 SBU">
|
2005-04-12 01:39:34 +08:00
|
|
|
]>
|
|
|
|
|
|
|
|
<sect1 id="guile" xreflabel="Guile-&guile-version;">
|
|
|
|
<?dbhtml filename="guile.html"?>
|
2005-05-05 23:46:42 +08:00
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>Guile-&guile-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="guile">
|
|
|
|
<primary sortas="a-Guile">Guile</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Guile</title>
|
|
|
|
|
|
|
|
<para>The <application>Guile</application> package contains the Project
|
2005-12-20 22:28:56 +08:00
|
|
|
GNU's extension language library. <application>Guile</application> also
|
|
|
|
contains a stand alone <application>Scheme</application> interpreter.</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
|
2011-11-14 12:58:24 +08:00
|
|
|
&lfs70_checked;
|
|
|
|
|
2005-05-05 23:46:42 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<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 MD5 sum: &guile-md5sum;</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>
|
2011-11-14 12:24:35 +08:00
|
|
|
<!--
|
2010-11-18 09:21:28 +08:00
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
2005-09-10 06:57:39 +08:00
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Required patch: <ulink
|
2010-11-18 09:21:28 +08:00
|
|
|
url="&patch-root;/guile-&guile-version;-snarf-1.patch"/></para>
|
2005-09-10 06:57:39 +08:00
|
|
|
</listitem>
|
2010-11-18 09:21:28 +08:00
|
|
|
</itemizedlist>
|
2011-11-14 12:24:35 +08:00
|
|
|
-->
|
2005-12-20 22:28:56 +08:00
|
|
|
<bridgehead renderas="sect3">Guile Dependencies</bridgehead>
|
2006-03-15 23:00:51 +08:00
|
|
|
|
2011-11-14 12:24:35 +08:00
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2011-11-19 04:09:42 +08:00
|
|
|
<para role="required">
|
|
|
|
<xref linkend="gc"/> and
|
|
|
|
<xref linkend="libunistring"/>
|
|
|
|
</para>
|
2006-04-02 19:59:39 +08:00
|
|
|
|
2005-12-20 22:28:56 +08:00
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
2011-11-14 12:24:35 +08:00
|
|
|
<para role="optional">
|
2011-11-19 04:09:42 +08:00
|
|
|
<xref linkend="emacs"/>
|
2011-11-14 12:24:35 +08:00
|
|
|
</para>
|
2005-12-20 22:28:56 +08:00
|
|
|
|
2006-04-11 02:35:56 +08:00
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
|
|
<ulink url="&blfs-wiki;/guile"/></para>
|
|
|
|
|
2005-05-05 23:46:42 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Guile</title>
|
|
|
|
|
|
|
|
<para>Install <application>Guile</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2011-11-14 12:24:35 +08:00
|
|
|
<screen><userinput>sed -i 's/gc_version.h/gc.h/' \
|
|
|
|
test-suite/standalone/test-pthread-create-secondary.c &&
|
2010-03-22 21:32:22 +08:00
|
|
|
|
2010-11-18 09:21:28 +08:00
|
|
|
./configure --prefix=/usr &&
|
2011-11-14 12:58:24 +08:00
|
|
|
make &&
|
|
|
|
make html &&
|
2010-03-22 21:32:22 +08:00
|
|
|
|
|
|
|
makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
|
2011-11-14 12:24:35 +08:00
|
|
|
makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
|
2005-05-05 23:46:42 +08:00
|
|
|
|
2011-12-06 06:58:00 +08:00
|
|
|
<para>If you have <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>
|
2011-01-18 08:13:43 +08:00
|
|
|
installed and wish to build alternate formats (PDF and postscript) of the
|
|
|
|
documentation, issue the following commands:</para>
|
2005-12-20 22:28:56 +08:00
|
|
|
|
2011-11-14 12:24:35 +08:00
|
|
|
<screen><userinput>for DIRNAME in r5rs ref
|
2005-12-20 22:28:56 +08:00
|
|
|
do
|
2010-11-18 09:21:28 +08:00
|
|
|
make -k -C doc/${DIRNAME} pdf ps
|
2005-12-20 22:28:56 +08:00
|
|
|
done &&
|
|
|
|
unset DIRNAME</userinput></screen>
|
|
|
|
|
2005-07-28 04:49:55 +08:00
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
|
|
|
|
2005-05-05 23:46:42 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
2005-12-20 22:28:56 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
2007-08-03 19:50:56 +08:00
|
|
|
|
2005-12-20 22:28:56 +08:00
|
|
|
find examples -name "Makefile*" -exec rm {} \; &&
|
|
|
|
install -v -m755 -d /usr/share/doc/guile-&guile-version; &&
|
2011-11-14 12:24:35 +08:00
|
|
|
cp -vR examples /usr/share/doc/guile-&guile-version; &&
|
2010-03-22 21:32:22 +08:00
|
|
|
|
2011-11-14 12:24:35 +08:00
|
|
|
for DIRNAME in r5rs ref
|
2010-03-22 21:32:22 +08:00
|
|
|
do
|
2010-11-18 09:21:28 +08:00
|
|
|
install -v -m755 -d /usr/share/doc/guile-&guile-version;/${DIRNAME} &&
|
|
|
|
install -v -m644 doc/${DIRNAME}/*.txt \
|
|
|
|
/usr/share/doc/guile-&guile-version;/${DIRNAME} &&
|
|
|
|
if [ -d doc/${DIRNAME}/${DIRNAME}.html ]; then
|
|
|
|
cp -v -R doc/${DIRNAME}/${DIRNAME}.html \
|
|
|
|
/usr/share/doc/guile-&guile-version;/${DIRNAME}
|
2011-07-16 21:32:17 +08:00
|
|
|
fi
|
2010-03-22 21:32:22 +08:00
|
|
|
done &&
|
2010-11-18 09:21:28 +08:00
|
|
|
|
2011-11-14 12:24:35 +08:00
|
|
|
cp -v -R doc/ref/guile.html /usr/share/doc/guile-&guile-version;/ref</userinput></screen>
|
2005-12-20 22:28:56 +08:00
|
|
|
|
2007-08-03 19:50:56 +08:00
|
|
|
<para>If you built the alternate formats of the documentation, install them
|
2005-12-20 22:28:56 +08:00
|
|
|
using the following commands issued by the
|
|
|
|
<systemitem class="username">root</systemitem> user:</para>
|
|
|
|
|
2011-11-14 12:24:35 +08:00
|
|
|
<screen role="root"><userinput>for DIRNAME in r5rs ref
|
2005-12-20 22:28:56 +08:00
|
|
|
do
|
2010-11-18 09:21:28 +08:00
|
|
|
install -v -m644 doc/${DIRNAME}/*.{pdf,ps,dvi} \
|
|
|
|
/usr/share/doc/guile-&guile-version;/${DIRNAME}
|
|
|
|
done</userinput></screen>
|
2007-08-03 19:50:56 +08:00
|
|
|
|
|
|
|
</sect2>
|
2011-11-14 12:24:35 +08:00
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para><userinput>sed -i 's/gc_version.h/gc.h/' test-suite/...-secondary.c</userinput>:
|
|
|
|
This command corrects an error that prevents the test suite from running.</para>
|
|
|
|
|
|
|
|
</sect2>
|
2007-08-03 19:50:56 +08:00
|
|
|
|
2005-05-05 23:46:42 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
2011-11-14 12:24:35 +08:00
|
|
|
<seg>guild, guile, guile-config, guile-snarf, and guile-tools</seg>
|
|
|
|
<seg>libguile-2.0.{so,a} and /libguilereadline-v-18.{so,a}</seg>
|
|
|
|
<seg>/usr/include/guile, /usr/lib/guild,
|
2006-04-02 19:59:39 +08:00
|
|
|
/usr/share/doc/guile-&guile-version; and /usr/share/guile</seg>
|
2005-05-05 23:46:42 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="guile-prog">
|
|
|
|
<term><command>guile</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:38:32 +08:00
|
|
|
<para>is a stand-alone Scheme interpreter for
|
2005-05-05 23:46:42 +08:00
|
|
|
<application>Guile</application>.</para>
|
|
|
|
<indexterm zone="guile guile-prog">
|
|
|
|
<primary sortas="b-guile">guile</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="guile-config">
|
|
|
|
<term><command>guile-config</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:38:32 +08:00
|
|
|
<para>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
|
2009-07-24 02:36:20 +08:00
|
|
|
PkgConfig does.</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
<indexterm zone="guile guile-config">
|
|
|
|
<primary sortas="b-guile-config">guile-config</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="guile-snarf">
|
|
|
|
<term><command>guile-snarf</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:38:32 +08:00
|
|
|
<para>is a script to parse declarations in your
|
2005-05-31 00:35:31 +08:00
|
|
|
<application>C</application> code for <application>Scheme</application>
|
2005-05-05 23:46:42 +08:00
|
|
|
visible <application>C</application> functions, i
|
2005-05-31 05:38:32 +08:00
|
|
|
<application>Scheme</application> objects to be used by
|
2005-05-05 23:46:42 +08:00
|
|
|
<application>C</application> code, etc.</para>
|
|
|
|
<indexterm zone="guile guile-snarf">
|
|
|
|
<primary sortas="b-guile-snarf">guile-snarf</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="guile-tools">
|
|
|
|
<term><command>guile-tools</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:38:32 +08:00
|
|
|
<para>is a wrapper program installed along with
|
|
|
|
<command>guile</command> which knows where a particular
|
2005-05-05 23:46:42 +08:00
|
|
|
module is installed and calls it passing its args to a program.</para>
|
|
|
|
<indexterm zone="guile guile-tools">
|
|
|
|
<primary sortas="b-guile-tools">guile-tools</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2005-04-12 01:39:34 +08:00
|
|
|
|
|
|
|
</sect1>
|