[61a7ee8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[61a7ee8] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[b24bfef] | 7 | <!ENTITY guile-download-http "http://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.xz">
|
---|
| 8 | <!ENTITY guile-download-ftp "ftp://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.xz">
|
---|
[2fc9e1d] | 9 | <!ENTITY guile-md5sum "03f1bce1a4983076d955003472306a13">
|
---|
[6d62ba8] | 10 | <!ENTITY guile-size "4.5 MB">
|
---|
[2fc9e1d] | 11 | <!ENTITY guile-buildsize "109 MB (additional 4 MB for the tests)">
|
---|
| 12 | <!ENTITY guile-time "8.0 SBU (additional 0.7 SBU for the tests)">
|
---|
[61a7ee8] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="guile" xreflabel="Guile-&guile-version;">
|
---|
| 16 | <?dbhtml filename="guile.html"?>
|
---|
[12180381] | 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Guile-&guile-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="guile">
|
---|
| 26 | <primary sortas="a-Guile">Guile</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Guile</title>
|
---|
| 31 |
|
---|
[e1030e21] | 32 | <para>
|
---|
| 33 | The <application>Guile</application> package contains the Project
|
---|
| 34 | GNU's extension language library. <application>Guile</application> also
|
---|
| 35 | contains a stand alone <application>Scheme</application> interpreter.
|
---|
| 36 | </para>
|
---|
[12180381] | 37 |
|
---|
[469bc5d4] | 38 | &lfs76_checked;
|
---|
[8f437ed] | 39 |
|
---|
[12180381] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
[e1030e21] | 43 | <para>
|
---|
| 44 | Download (HTTP): <ulink url="&guile-download-http;"/>
|
---|
| 45 | </para>
|
---|
[12180381] | 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
[e1030e21] | 48 | <para>
|
---|
| 49 | Download (FTP): <ulink url="&guile-download-ftp;"/>
|
---|
| 50 | </para>
|
---|
[12180381] | 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
[e1030e21] | 53 | <para>
|
---|
| 54 | Download MD5 sum: &guile-md5sum;
|
---|
| 55 | </para>
|
---|
[12180381] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[e1030e21] | 58 | <para>
|
---|
| 59 | Download size: &guile-size;
|
---|
| 60 | </para>
|
---|
[12180381] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[e1030e21] | 63 | <para>
|
---|
| 64 | Estimated disk space required: &guile-buildsize;
|
---|
| 65 | </para>
|
---|
[12180381] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[e1030e21] | 68 | <para>
|
---|
| 69 | Estimated build time: &guile-time;
|
---|
| 70 | </para>
|
---|
[12180381] | 71 | </listitem>
|
---|
| 72 | </itemizedlist>
|
---|
[e1030e21] | 73 |
|
---|
[60a3d169] | 74 | <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
|
---|
[6473e74] | 75 |
|
---|
[dbede5d0] | 76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[6025fa54] | 77 | <para role="required">
|
---|
[ba1be62] | 78 | <xref linkend="gc"/>,
|
---|
[4890200] | 79 | <xref linkend="libffi"/> and
|
---|
[6025fa54] | 80 | <xref linkend="libunistring"/>
|
---|
| 81 | </para>
|
---|
[11dbeb1e] | 82 |
|
---|
[60a3d169] | 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[dbede5d0] | 84 | <para role="optional">
|
---|
[6d62ba8] | 85 | <xref linkend="emacs"/> and
|
---|
| 86 | <xref linkend="gdb"/>
|
---|
[dbede5d0] | 87 | </para>
|
---|
[60a3d169] | 88 |
|
---|
[e1030e21] | 89 | <para condition="html" role="usernotes">
|
---|
| 90 | User Notes: <ulink url="&blfs-wiki;/guile"/>
|
---|
| 91 | </para>
|
---|
[12180381] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of Guile</title>
|
---|
| 96 |
|
---|
[e1030e21] | 97 | <para>
|
---|
| 98 | Install <application>Guile</application> by running the following
|
---|
| 99 | commands:
|
---|
| 100 | </para>
|
---|
[a367fbc] | 101 |
|
---|
[0ee2aa3] | 102 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 103 | --disable-static \
|
---|
| 104 | --docdir=/usr/share/doc/guile-&guile-version; &&
|
---|
[4890200] | 105 | make &&
|
---|
[e1030e21] | 106 | make html &&
|
---|
[a367fbc] | 107 |
|
---|
[4890200] | 108 | makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
|
---|
| 109 | makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
|
---|
[12180381] | 110 |
|
---|
[e1030e21] | 111 | <para>
|
---|
| 112 | To test the results, issue: <command>make check</command>.
|
---|
| 113 | </para>
|
---|
[40d6bab] | 114 |
|
---|
[e1030e21] | 115 | <para>
|
---|
| 116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 117 | </para>
|
---|
[12180381] | 118 |
|
---|
[0ee2aa3] | 119 | <screen role="root"><userinput>make install &&
|
---|
| 120 | make install-html &&
|
---|
| 121 |
|
---|
| 122 | mv /usr/share/doc/guile-&guile-version;/{guile.html,ref} &&
|
---|
| 123 | mv /usr/share/doc/guile-&guile-version;/r5rs{.html,} &&
|
---|
[0461254] | 124 |
|
---|
[0ee2aa3] | 125 | find examples -name "Makefile*" -delete &&
|
---|
| 126 | cp -vR examples /usr/share/doc/guile-&guile-version; &&
|
---|
[dcd55b37] | 127 |
|
---|
[ec7940be] | 128 | for DIRNAME in r5rs ref; do
|
---|
[4890200] | 129 | install -v -m644 doc/${DIRNAME}/*.txt \
|
---|
| 130 | /usr/share/doc/guile-&guile-version;/${DIRNAME}
|
---|
[0ee2aa3] | 131 | done &&
|
---|
| 132 | unset DIRNAME</userinput></screen>
|
---|
[d5595a31] | 133 |
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="commands">
|
---|
| 137 | <title>Command Explanations</title>
|
---|
| 138 |
|
---|
| 139 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 140 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 141 |
|
---|
[dbede5d0] | 142 | </sect2>
|
---|
[dcd55b37] | 143 |
|
---|
[12180381] | 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Libraries</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
| 151 |
|
---|
| 152 | <seglistitem>
|
---|
[b24bfef] | 153 | <seg>
|
---|
| 154 | guild, guile, guile-config, guile-snarf and guile-tools
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | libguile-2.0.so and libguilereadline-v-18.so
|
---|
| 158 | </seg>
|
---|
| 159 | <seg>
|
---|
| 160 | /usr/include/guile,
|
---|
[4890200] | 161 | /usr/lib/guile,
|
---|
| 162 | /usr/share/doc/guile-&guile-version; and
|
---|
[b24bfef] | 163 | /usr/share/guile
|
---|
| 164 | </seg>
|
---|
[12180381] | 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
| 167 |
|
---|
| 168 | <variablelist>
|
---|
| 169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 170 | <?dbfo list-presentation="list"?>
|
---|
| 171 | <?dbhtml list-presentation="table"?>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="guile-prog">
|
---|
| 174 | <term><command>guile</command></term>
|
---|
| 175 | <listitem>
|
---|
[e1030e21] | 176 | <para>
|
---|
| 177 | is a stand-alone Scheme interpreter for
|
---|
| 178 | <application>Guile</application>.
|
---|
| 179 | </para>
|
---|
[12180381] | 180 | <indexterm zone="guile guile-prog">
|
---|
| 181 | <primary sortas="b-guile">guile</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | <varlistentry id="guile-config">
|
---|
| 187 | <term><command>guile-config</command></term>
|
---|
| 188 | <listitem>
|
---|
[e1030e21] | 189 | <para>
|
---|
| 190 | is a <application>Guile</application> script which provides the
|
---|
| 191 | information necessary to link your programs against the
|
---|
| 192 | <application>Guile</application> library, in much the same way
|
---|
| 193 | PkgConfig does.
|
---|
| 194 | </para>
|
---|
[12180381] | 195 | <indexterm zone="guile guile-config">
|
---|
| 196 | <primary sortas="b-guile-config">guile-config</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="guile-snarf">
|
---|
| 202 | <term><command>guile-snarf</command></term>
|
---|
| 203 | <listitem>
|
---|
[e1030e21] | 204 | <para>
|
---|
| 205 | is a script to parse declarations in your
|
---|
| 206 | <application>C</application> code for
|
---|
| 207 | <application>Scheme</application> visible
|
---|
| 208 | <application>C</application> functions.
|
---|
| 209 | </para>
|
---|
[12180381] | 210 | <indexterm zone="guile guile-snarf">
|
---|
| 211 | <primary sortas="b-guile-snarf">guile-snarf</primary>
|
---|
| 212 | </indexterm>
|
---|
| 213 | </listitem>
|
---|
| 214 | </varlistentry>
|
---|
| 215 |
|
---|
[e1030e21] | 216 | <varlistentry id="guild">
|
---|
| 217 | <term><command>guild</command></term>
|
---|
| 218 | <listitem>
|
---|
| 219 | <para>
|
---|
[601a838] | 220 | is a wrapper program installed along with <command>guile</command>,
|
---|
[e1030e21] | 221 | which knows where a particular module is installed and calls it,
|
---|
| 222 | passing its arguments to the program.
|
---|
| 223 | </para>
|
---|
| 224 | <indexterm zone="guile guild">
|
---|
| 225 | <primary sortas="b-guild">guild</primary>
|
---|
| 226 | </indexterm>
|
---|
| 227 | </listitem>
|
---|
| 228 | </varlistentry>
|
---|
| 229 |
|
---|
[12180381] | 230 | <varlistentry id="guile-tools">
|
---|
| 231 | <term><command>guile-tools</command></term>
|
---|
| 232 | <listitem>
|
---|
[e1030e21] | 233 | <para>
|
---|
| 234 | is a symlink to <command>guild</command>.
|
---|
| 235 | </para>
|
---|
[12180381] | 236 | <indexterm zone="guile guile-tools">
|
---|
| 237 | <primary sortas="b-guile-tools">guile-tools</primary>
|
---|
| 238 | </indexterm>
|
---|
| 239 | </listitem>
|
---|
| 240 | </varlistentry>
|
---|
[b24bfef] | 241 |
|
---|
[12180381] | 242 | </variablelist>
|
---|
[b24bfef] | 243 |
|
---|
[12180381] | 244 | </sect2>
|
---|
[b24bfef] | 245 |
|
---|
[61a7ee8] | 246 | </sect1>
|
---|