[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">
|
---|
[4890200] | 9 | <!ENTITY guile-md5sum "a69b575d4a633bdd9118f3a4a1e97766">
|
---|
| 10 | <!ENTITY guile-size "4.4 MB">
|
---|
| 11 | <!ENTITY guile-buildsize "120 MB">
|
---|
[b24bfef] | 12 | <!ENTITY guile-time "8.0 SBU">
|
---|
[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 |
|
---|
[0461254] | 38 | &lfs75_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">
|
---|
[0d7900a] | 85 | <xref linkend="emacs"/>
|
---|
[dbede5d0] | 86 | </para>
|
---|
[60a3d169] | 87 |
|
---|
[e1030e21] | 88 | <para condition="html" role="usernotes">
|
---|
| 89 | User Notes: <ulink url="&blfs-wiki;/guile"/>
|
---|
| 90 | </para>
|
---|
[12180381] | 91 | </sect2>
|
---|
| 92 |
|
---|
| 93 | <sect2 role="installation">
|
---|
| 94 | <title>Installation of Guile</title>
|
---|
| 95 |
|
---|
[e1030e21] | 96 | <para>
|
---|
| 97 | Install <application>Guile</application> by running the following
|
---|
| 98 | commands:
|
---|
| 99 | </para>
|
---|
[a367fbc] | 100 |
|
---|
[0ee2aa3] | 101 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 102 | --disable-static \
|
---|
| 103 | --docdir=/usr/share/doc/guile-&guile-version; &&
|
---|
[4890200] | 104 | make &&
|
---|
[e1030e21] | 105 | make html &&
|
---|
[a367fbc] | 106 |
|
---|
[4890200] | 107 | makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
|
---|
| 108 | makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
|
---|
[12180381] | 109 |
|
---|
[e1030e21] | 110 | <para>
|
---|
| 111 | To test the results, issue: <command>make check</command>.
|
---|
| 112 | </para>
|
---|
[40d6bab] | 113 |
|
---|
[e1030e21] | 114 | <para>
|
---|
| 115 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 116 | </para>
|
---|
[12180381] | 117 |
|
---|
[0ee2aa3] | 118 | <screen role="root"><userinput>make install &&
|
---|
| 119 | make install-html &&
|
---|
| 120 |
|
---|
| 121 | mv /usr/share/doc/guile-&guile-version;/{guile.html,ref} &&
|
---|
| 122 | mv /usr/share/doc/guile-&guile-version;/r5rs{.html,} &&
|
---|
[0461254] | 123 |
|
---|
[0ee2aa3] | 124 | find examples -name "Makefile*" -delete &&
|
---|
| 125 | cp -vR examples /usr/share/doc/guile-&guile-version; &&
|
---|
[dcd55b37] | 126 |
|
---|
[ec7940be] | 127 | for DIRNAME in r5rs ref; do
|
---|
[4890200] | 128 | install -v -m644 doc/${DIRNAME}/*.txt \
|
---|
| 129 | /usr/share/doc/guile-&guile-version;/${DIRNAME}
|
---|
[0ee2aa3] | 130 | done &&
|
---|
| 131 | unset DIRNAME</userinput></screen>
|
---|
[d5595a31] | 132 |
|
---|
| 133 | </sect2>
|
---|
| 134 |
|
---|
| 135 | <sect2 role="commands">
|
---|
| 136 | <title>Command Explanations</title>
|
---|
| 137 |
|
---|
| 138 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 139 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 140 |
|
---|
[dbede5d0] | 141 | </sect2>
|
---|
[dcd55b37] | 142 |
|
---|
[12180381] | 143 | <sect2 role="content">
|
---|
| 144 | <title>Contents</title>
|
---|
| 145 |
|
---|
| 146 | <segmentedlist>
|
---|
| 147 | <segtitle>Installed Programs</segtitle>
|
---|
| 148 | <segtitle>Installed Libraries</segtitle>
|
---|
| 149 | <segtitle>Installed Directories</segtitle>
|
---|
| 150 |
|
---|
| 151 | <seglistitem>
|
---|
[b24bfef] | 152 | <seg>
|
---|
| 153 | guild, guile, guile-config, guile-snarf and guile-tools
|
---|
| 154 | </seg>
|
---|
| 155 | <seg>
|
---|
| 156 | libguile-2.0.so and libguilereadline-v-18.so
|
---|
| 157 | </seg>
|
---|
| 158 | <seg>
|
---|
| 159 | /usr/include/guile,
|
---|
[4890200] | 160 | /usr/lib/guile,
|
---|
| 161 | /usr/share/doc/guile-&guile-version; and
|
---|
[b24bfef] | 162 | /usr/share/guile
|
---|
| 163 | </seg>
|
---|
[12180381] | 164 | </seglistitem>
|
---|
| 165 | </segmentedlist>
|
---|
| 166 |
|
---|
| 167 | <variablelist>
|
---|
| 168 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 169 | <?dbfo list-presentation="list"?>
|
---|
| 170 | <?dbhtml list-presentation="table"?>
|
---|
| 171 |
|
---|
| 172 | <varlistentry id="guile-prog">
|
---|
| 173 | <term><command>guile</command></term>
|
---|
| 174 | <listitem>
|
---|
[e1030e21] | 175 | <para>
|
---|
| 176 | is a stand-alone Scheme interpreter for
|
---|
| 177 | <application>Guile</application>.
|
---|
| 178 | </para>
|
---|
[12180381] | 179 | <indexterm zone="guile guile-prog">
|
---|
| 180 | <primary sortas="b-guile">guile</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="guile-config">
|
---|
| 186 | <term><command>guile-config</command></term>
|
---|
| 187 | <listitem>
|
---|
[e1030e21] | 188 | <para>
|
---|
| 189 | is a <application>Guile</application> script which provides the
|
---|
| 190 | information necessary to link your programs against the
|
---|
| 191 | <application>Guile</application> library, in much the same way
|
---|
| 192 | PkgConfig does.
|
---|
| 193 | </para>
|
---|
[12180381] | 194 | <indexterm zone="guile guile-config">
|
---|
| 195 | <primary sortas="b-guile-config">guile-config</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="guile-snarf">
|
---|
| 201 | <term><command>guile-snarf</command></term>
|
---|
| 202 | <listitem>
|
---|
[e1030e21] | 203 | <para>
|
---|
| 204 | is a script to parse declarations in your
|
---|
| 205 | <application>C</application> code for
|
---|
| 206 | <application>Scheme</application> visible
|
---|
| 207 | <application>C</application> functions.
|
---|
| 208 | </para>
|
---|
[12180381] | 209 | <indexterm zone="guile guile-snarf">
|
---|
| 210 | <primary sortas="b-guile-snarf">guile-snarf</primary>
|
---|
| 211 | </indexterm>
|
---|
| 212 | </listitem>
|
---|
| 213 | </varlistentry>
|
---|
| 214 |
|
---|
[e1030e21] | 215 | <varlistentry id="guild">
|
---|
| 216 | <term><command>guild</command></term>
|
---|
| 217 | <listitem>
|
---|
| 218 | <para>
|
---|
[601a838] | 219 | is a wrapper program installed along with <command>guile</command>,
|
---|
[e1030e21] | 220 | which knows where a particular module is installed and calls it,
|
---|
| 221 | passing its arguments to the program.
|
---|
| 222 | </para>
|
---|
| 223 | <indexterm zone="guile guild">
|
---|
| 224 | <primary sortas="b-guild">guild</primary>
|
---|
| 225 | </indexterm>
|
---|
| 226 | </listitem>
|
---|
| 227 | </varlistentry>
|
---|
| 228 |
|
---|
[12180381] | 229 | <varlistentry id="guile-tools">
|
---|
| 230 | <term><command>guile-tools</command></term>
|
---|
| 231 | <listitem>
|
---|
[e1030e21] | 232 | <para>
|
---|
| 233 | is a symlink to <command>guild</command>.
|
---|
| 234 | </para>
|
---|
[12180381] | 235 | <indexterm zone="guile guile-tools">
|
---|
| 236 | <primary sortas="b-guile-tools">guile-tools</primary>
|
---|
| 237 | </indexterm>
|
---|
| 238 | </listitem>
|
---|
| 239 | </varlistentry>
|
---|
[b24bfef] | 240 |
|
---|
[12180381] | 241 | </variablelist>
|
---|
[b24bfef] | 242 |
|
---|
[12180381] | 243 | </sect2>
|
---|
[b24bfef] | 244 |
|
---|
[61a7ee8] | 245 | </sect1>
|
---|