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