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;
|
|
|
|
|
2012-03-10 03:27:52 +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">
|
|
|
|
<!ENTITY guile-md5sum "81110e16dcdb24c825fecc41b214edb9">
|
2011-11-14 12:24:35 +08:00
|
|
|
<!ENTITY guile-size "4 MB">
|
2012-03-10 03:27:52 +08:00
|
|
|
<!ENTITY guile-buildsize "104 MB">
|
|
|
|
<!ENTITY guile-time "3.9 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>
|
|
|
|
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
The <application>Guile</application> package contains the Project
|
|
|
|
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
|
|
|
|
2012-03-10 03:27:52 +08:00
|
|
|
&lfs71_checked;
|
2011-11-14 12:58:24 +08:00
|
|
|
|
2005-05-05 23:46:42 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
Download (HTTP): <ulink url="&guile-download-http;"/>
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
Download (FTP): <ulink url="&guile-download-ftp;"/>
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
Download MD5 sum: &guile-md5sum;
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
Download size: &guile-size;
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
Estimated disk space required: &guile-buildsize;
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
Estimated build time: &guile-time;
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2012-03-10 03:27:52 +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">
|
2012-03-10 03:27:52 +08:00
|
|
|
<xref linkend="pkgconfig"/>,
|
2011-11-19 04:09:42 +08:00
|
|
|
<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
|
|
|
|
2012-03-10 03:27:52 +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>
|
|
|
|
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
Install <application>Guile</application> by running the following
|
|
|
|
commands:
|
|
|
|
</para>
|
2010-03-22 21:32:22 +08:00
|
|
|
|
2012-03-10 03:27:52 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
|
|
|
make &&
|
|
|
|
make html &&
|
2010-03-22 21:32:22 +08:00
|
|
|
|
2012-03-10 03:27:52 +08:00
|
|
|
makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
|
|
|
|
makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
|
2005-05-05 23:46:42 +08:00
|
|
|
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
If you have <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>
|
|
|
|
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
|
2012-03-10 03:27:52 +08:00
|
|
|
do make -k -C doc/${DIRNAME} pdf ps
|
2005-12-20 22:28:56 +08:00
|
|
|
done &&
|
|
|
|
unset DIRNAME</userinput></screen>
|
|
|
|
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
To test the results, issue: <command>make check</command>.
|
|
|
|
</para>
|
2005-07-28 04:49:55 +08:00
|
|
|
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
|
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
|
|
|
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
If you built the alternate formats of the documentation, install them
|
|
|
|
using the following commands issued by the
|
|
|
|
<systemitem class="username">root</systemitem> user:
|
|
|
|
</para>
|
2005-12-20 22:28:56 +08:00
|
|
|
|
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>
|
2011-11-14 12:24:35 +08:00
|
|
|
</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>
|
2012-03-10 03:27:52 +08:00
|
|
|
<seg>libguile-2.0.so and /libguilereadline-v-18.so</seg>
|
2011-11-14 12:24:35 +08:00
|
|
|
<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>
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
is a stand-alone Scheme interpreter for
|
|
|
|
<application>Guile</application>.
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
<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>
|
2012-03-10 03:27:52 +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
|
|
|
|
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>
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
is a script to parse declarations in your
|
|
|
|
<application>C</application> code for
|
|
|
|
<application>Scheme</application> visible
|
|
|
|
<application>C</application> functions.
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
<indexterm zone="guile guile-snarf">
|
|
|
|
<primary sortas="b-guile-snarf">guile-snarf</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2012-03-10 03:27:52 +08:00
|
|
|
<varlistentry id="guild">
|
|
|
|
<term><command>guild</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
is a wrapper program installed along with <command>guile</command>
|
|
|
|
which knows where a particular module is installed and calls it,
|
|
|
|
passing its arguments to the program.
|
|
|
|
</para>
|
|
|
|
<indexterm zone="guile guild">
|
|
|
|
<primary sortas="b-guild">guild</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-05-05 23:46:42 +08:00
|
|
|
<varlistentry id="guile-tools">
|
|
|
|
<term><command>guile-tools</command></term>
|
|
|
|
<listitem>
|
2012-03-10 03:27:52 +08:00
|
|
|
<para>
|
|
|
|
is a symlink to <command>guild</command>.
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
<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>
|