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-07-20 01:52:46 +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">
|
2013-04-28 02:04:22 +08:00
|
|
|
<!ENTITY guile-md5sum "a69b575d4a633bdd9118f3a4a1e97766">
|
|
|
|
<!ENTITY guile-size "4.4 MB">
|
|
|
|
<!ENTITY guile-buildsize "120 MB">
|
2012-07-20 01:52:46 +08:00
|
|
|
<!ENTITY guile-time "8.0 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
|
|
|
|
2014-02-25 05:49:43 +08:00
|
|
|
&lfs75_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">
|
2013-01-11 02:03:28 +08:00
|
|
|
<xref linkend="gc"/>,
|
2013-04-28 02:04:22 +08:00
|
|
|
<xref linkend="libffi"/> 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">
|
2013-02-12 02:51:17 +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
|
|
|
|
2014-02-26 05:04:58 +08:00
|
|
|
<screen><userinput>./configure --prefix=/usr \
|
|
|
|
--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>
|
|
|
|
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
|
|
|
|
2014-02-26 05:04:58 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
make install-html &&
|
|
|
|
|
|
|
|
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-02-26 05:04:58 +08:00
|
|
|
find examples -name "Makefile*" -delete &&
|
|
|
|
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>
|
|
|
|
libguile-2.0.so and libguilereadline-v-18.so
|
|
|
|
</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
|
|
|
|
<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>
|
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,
|
|
|
|
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>
|
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>
|