2024-01-20 05:35:53 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
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;
|
|
|
|
|
2017-08-16 02:49:48 +08:00
|
|
|
<!ENTITY guile-download-http "&gnu-http;/guile/guile-&guile-version;.tar.xz">
|
2023-10-16 03:43:08 +08:00
|
|
|
<!ENTITY guile-download-ftp " ">
|
2023-01-27 05:25:13 +08:00
|
|
|
<!ENTITY guile-md5sum "258983e0156c2bc66539dcbcb96f2bd2">
|
|
|
|
<!ENTITY guile-size "5.5 MB">
|
|
|
|
<!ENTITY guile-buildsize "221 MB (add 4 MB for tests)">
|
|
|
|
<!ENTITY guile-time "5.9 SBU (Using parallelism=4; add 0.3 SBU for tests)">
|
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
|
|
|
|
|
|
|
|
|
|
|
<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>
|
2016-07-20 15:07:16 +08:00
|
|
|
The <application>Guile</application> package contains the GNU Project's
|
|
|
|
extension language library. <application>Guile</application> also
|
2012-03-10 03:27:52 +08:00
|
|
|
contains a stand alone <application>Scheme</application> interpreter.
|
|
|
|
</para>
|
2005-05-05 23:46:42 +08:00
|
|
|
|
2024-02-16 05:50:19 +08:00
|
|
|
&lfs121_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">
|
2017-10-16 02:23:25 +08:00
|
|
|
<xref linkend="gc"/> and
|
2011-11-19 04:09:42 +08:00
|
|
|
<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">
|
2014-03-20 06:51:57 +08:00
|
|
|
<xref linkend="emacs"/> and
|
2014-10-07 23:26:23 +08:00
|
|
|
<xref linkend="gdb"/> (run-time only dependencies).
|
2011-11-14 12:24:35 +08:00
|
|
|
</para>
|
2005-12-20 22:28:56 +08:00
|
|
|
|
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
|
|
|
|
2016-12-17 14:42:45 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
2014-02-26 05:04:58 +08:00
|
|
|
--disable-static \
|
|
|
|
--docdir=/usr/share/doc/guile-&guile-version; &&
|
2013-04-28 02:04:22 +08:00
|
|
|
make &&
|
2012-03-10 03:27:52 +08:00
|
|
|
make html &&
|
2010-03-22 21:32:22 +08:00
|
|
|
|
2013-04-28 02:04:22 +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>
|
2017-03-18 05:16:22 +08:00
|
|
|
To test the results, issue: <command>./check-guile</command>.
|
2022-02-27 23:46:39 +08:00
|
|
|
On an i686 system, as many as 10 tests will fail in the
|
|
|
|
<filename>numbers.test</filename> test suite due to minor floating-point
|
|
|
|
rounding errors.
|
2012-03-10 03:27:52 +08:00
|
|
|
</para>
|
2020-06-24 12:15:41 +08:00
|
|
|
<!-- 10 of the numbers tests fail on i686. This should probably be looked
|
|
|
|
into at a later point in time. -renodr -->
|
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
|
|
|
|
2014-02-26 05:04:58 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
make install-html &&
|
|
|
|
|
2020-01-17 03:57:43 +08:00
|
|
|
mkdir -p /usr/share/gdb/auto-load/usr/lib &&
|
2014-10-05 07:19:31 +08:00
|
|
|
mv /usr/lib/libguile-*-gdb.scm /usr/share/gdb/auto-load/usr/lib &&
|
2014-02-26 05:04:58 +08:00
|
|
|
mv /usr/share/doc/guile-&guile-version;/{guile.html,ref} &&
|
|
|
|
mv /usr/share/doc/guile-&guile-version;/r5rs{.html,} &&
|
2014-02-25 05:49:43 +08:00
|
|
|
|
2014-10-05 07:19:31 +08:00
|
|
|
find examples -name "Makefile*" -delete &&
|
2014-02-26 05:04:58 +08:00
|
|
|
cp -vR examples /usr/share/doc/guile-&guile-version; &&
|
2007-08-03 19:50:56 +08:00
|
|
|
|
2014-02-26 03:00:30 +08:00
|
|
|
for DIRNAME in r5rs ref; do
|
2013-04-28 02:04:22 +08:00
|
|
|
install -v -m644 doc/${DIRNAME}/*.txt \
|
|
|
|
/usr/share/doc/guile-&guile-version;/${DIRNAME}
|
2014-02-26 05:04:58 +08:00
|
|
|
done &&
|
|
|
|
unset DIRNAME</userinput></screen>
|
2013-03-25 22:12:56 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
|
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>
|
2012-07-20 01:52:46 +08:00
|
|
|
<seg>
|
|
|
|
guild, guile, guile-config, guile-snarf and guile-tools
|
|
|
|
</seg>
|
|
|
|
<seg>
|
2020-01-17 03:57:43 +08:00
|
|
|
libguile-3.0.so and guile-readline.so
|
2012-07-20 01:52:46 +08:00
|
|
|
</seg>
|
|
|
|
<seg>
|
|
|
|
/usr/include/guile,
|
2013-04-28 02:04:22 +08:00
|
|
|
/usr/lib/guile,
|
|
|
|
/usr/share/doc/guile-&guile-version; and
|
2012-07-20 01:52:46 +08:00
|
|
|
/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
|
2021-02-19 23:20:16 +08:00
|
|
|
<application>Guile</application>
|
2012-03-10 03:27:52 +08:00
|
|
|
</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
|
2021-02-19 23:20:16 +08:00
|
|
|
PkgConfig does
|
2012-03-10 03:27:52 +08:00
|
|
|
</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
|
2021-02-19 23:20:16 +08:00
|
|
|
<application>C</application> functions
|
2012-03-10 03:27:52 +08:00
|
|
|
</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>
|
2012-08-23 06:30:35 +08:00
|
|
|
is a wrapper program installed along with <command>guile</command>,
|
2012-03-10 03:27:52 +08:00
|
|
|
which knows where a particular module is installed and calls it,
|
2021-02-19 23:20:16 +08:00
|
|
|
passing its arguments to the program
|
2012-03-10 03:27:52 +08:00
|
|
|
</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>
|
2021-02-19 23:20:16 +08:00
|
|
|
is a symlink to <command>guild</command>
|
2012-03-10 03:27:52 +08:00
|
|
|
</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>
|
2012-07-20 01:52:46 +08:00
|
|
|
|
2005-05-05 23:46:42 +08:00
|
|
|
</variablelist>
|
2012-07-20 01:52:46 +08:00
|
|
|
|
2005-05-05 23:46:42 +08:00
|
|
|
</sect2>
|
2012-07-20 01:52:46 +08:00
|
|
|
|
2005-04-12 01:39:34 +08:00
|
|
|
</sect1>
|