[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 |
|
---|
[4890200] | 38 | &lfs73_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 |
|
---|
[4890200] | 101 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
| 102 | make &&
|
---|
[e1030e21] | 103 | make html &&
|
---|
[a367fbc] | 104 |
|
---|
[4890200] | 105 | makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
|
---|
| 106 | makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
|
---|
[12180381] | 107 |
|
---|
[e1030e21] | 108 | <para>
|
---|
[b24bfef] | 109 | If you have <xref linkend="texlive"/> installed and wish to build alternate
|
---|
| 110 | formats (PDF and postscript) of the documentation, issue the following
|
---|
| 111 | commands:
|
---|
[e1030e21] | 112 | </para>
|
---|
[60a3d169] | 113 |
|
---|
[0d7900a] | 114 | <screen><userinput>for DIRNAME in r5rs ref
|
---|
| 115 | do make -k -C doc/${DIRNAME} pdf ps
|
---|
[60a3d169] | 116 | done &&
|
---|
[4890200] | 117 | unset DIRNAME</userinput></screen>
|
---|
[60a3d169] | 118 |
|
---|
[e1030e21] | 119 | <para>
|
---|
| 120 | To test the results, issue: <command>make check</command>.
|
---|
| 121 | </para>
|
---|
[40d6bab] | 122 |
|
---|
[e1030e21] | 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
[12180381] | 126 |
|
---|
[4890200] | 127 | <screen role="root"><userinput>make install &&
|
---|
[dcd55b37] | 128 |
|
---|
[60a3d169] | 129 | find examples -name "Makefile*" -exec rm {} \; &&
|
---|
[4890200] | 130 | install -v -dm755 /usr/share/doc/guile-&guile-version; &&
|
---|
[dbede5d0] | 131 | cp -vR examples /usr/share/doc/guile-&guile-version; &&
|
---|
[a367fbc] | 132 |
|
---|
[dbede5d0] | 133 | for DIRNAME in r5rs ref
|
---|
[a367fbc] | 134 | do
|
---|
[4890200] | 135 | install -v -dm755 /usr/share/doc/guile-&guile-version;/${DIRNAME} &&
|
---|
| 136 | install -v -m644 doc/${DIRNAME}/*.txt \
|
---|
| 137 | /usr/share/doc/guile-&guile-version;/${DIRNAME} &&
|
---|
| 138 | if [ -d doc/${DIRNAME}/${DIRNAME}.html ]; then
|
---|
| 139 | cp -Rv doc/${DIRNAME}/${DIRNAME}.html \
|
---|
| 140 | /usr/share/doc/guile-&guile-version;/${DIRNAME}
|
---|
[3c22205] | 141 | fi
|
---|
[4890200] | 142 | done
|
---|
[590724d] | 143 |
|
---|
[4890200] | 144 | cp -vR doc/ref/guile.html /usr/share/doc/guile-&guile-version;/ref</userinput></screen>
|
---|
[60a3d169] | 145 |
|
---|
[e1030e21] | 146 | <para>
|
---|
| 147 | If you built the alternate formats of the documentation, install them
|
---|
| 148 | using the following commands issued by the
|
---|
| 149 | <systemitem class="username">root</systemitem> user:
|
---|
| 150 | </para>
|
---|
[60a3d169] | 151 |
|
---|
[0d7900a] | 152 | <screen role="root"><userinput>for DIRNAME in r5rs ref
|
---|
[60a3d169] | 153 | do
|
---|
[590724d] | 154 | install -v -m644 doc/${DIRNAME}/*.{pdf,ps,dvi} \
|
---|
| 155 | /usr/share/doc/guile-&guile-version;/${DIRNAME}
|
---|
[4890200] | 156 | done</userinput></screen>
|
---|
[d5595a31] | 157 |
|
---|
| 158 | </sect2>
|
---|
| 159 |
|
---|
| 160 | <sect2 role="commands">
|
---|
| 161 | <title>Command Explanations</title>
|
---|
| 162 |
|
---|
| 163 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 164 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 165 |
|
---|
[dbede5d0] | 166 | </sect2>
|
---|
[dcd55b37] | 167 |
|
---|
[12180381] | 168 | <sect2 role="content">
|
---|
| 169 | <title>Contents</title>
|
---|
| 170 |
|
---|
| 171 | <segmentedlist>
|
---|
| 172 | <segtitle>Installed Programs</segtitle>
|
---|
| 173 | <segtitle>Installed Libraries</segtitle>
|
---|
| 174 | <segtitle>Installed Directories</segtitle>
|
---|
| 175 |
|
---|
| 176 | <seglistitem>
|
---|
[b24bfef] | 177 | <seg>
|
---|
| 178 | guild, guile, guile-config, guile-snarf and guile-tools
|
---|
| 179 | </seg>
|
---|
| 180 | <seg>
|
---|
| 181 | libguile-2.0.so and libguilereadline-v-18.so
|
---|
| 182 | </seg>
|
---|
| 183 | <seg>
|
---|
| 184 | /usr/include/guile,
|
---|
[4890200] | 185 | /usr/lib/guile,
|
---|
| 186 | /usr/share/doc/guile-&guile-version; and
|
---|
[b24bfef] | 187 | /usr/share/guile
|
---|
| 188 | </seg>
|
---|
[12180381] | 189 | </seglistitem>
|
---|
| 190 | </segmentedlist>
|
---|
| 191 |
|
---|
| 192 | <variablelist>
|
---|
| 193 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 194 | <?dbfo list-presentation="list"?>
|
---|
| 195 | <?dbhtml list-presentation="table"?>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="guile-prog">
|
---|
| 198 | <term><command>guile</command></term>
|
---|
| 199 | <listitem>
|
---|
[e1030e21] | 200 | <para>
|
---|
| 201 | is a stand-alone Scheme interpreter for
|
---|
| 202 | <application>Guile</application>.
|
---|
| 203 | </para>
|
---|
[12180381] | 204 | <indexterm zone="guile guile-prog">
|
---|
| 205 | <primary sortas="b-guile">guile</primary>
|
---|
| 206 | </indexterm>
|
---|
| 207 | </listitem>
|
---|
| 208 | </varlistentry>
|
---|
| 209 |
|
---|
| 210 | <varlistentry id="guile-config">
|
---|
| 211 | <term><command>guile-config</command></term>
|
---|
| 212 | <listitem>
|
---|
[e1030e21] | 213 | <para>
|
---|
| 214 | is a <application>Guile</application> script which provides the
|
---|
| 215 | information necessary to link your programs against the
|
---|
| 216 | <application>Guile</application> library, in much the same way
|
---|
| 217 | PkgConfig does.
|
---|
| 218 | </para>
|
---|
[12180381] | 219 | <indexterm zone="guile guile-config">
|
---|
| 220 | <primary sortas="b-guile-config">guile-config</primary>
|
---|
| 221 | </indexterm>
|
---|
| 222 | </listitem>
|
---|
| 223 | </varlistentry>
|
---|
| 224 |
|
---|
| 225 | <varlistentry id="guile-snarf">
|
---|
| 226 | <term><command>guile-snarf</command></term>
|
---|
| 227 | <listitem>
|
---|
[e1030e21] | 228 | <para>
|
---|
| 229 | is a script to parse declarations in your
|
---|
| 230 | <application>C</application> code for
|
---|
| 231 | <application>Scheme</application> visible
|
---|
| 232 | <application>C</application> functions.
|
---|
| 233 | </para>
|
---|
[12180381] | 234 | <indexterm zone="guile guile-snarf">
|
---|
| 235 | <primary sortas="b-guile-snarf">guile-snarf</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
[e1030e21] | 240 | <varlistentry id="guild">
|
---|
| 241 | <term><command>guild</command></term>
|
---|
| 242 | <listitem>
|
---|
| 243 | <para>
|
---|
[601a838] | 244 | is a wrapper program installed along with <command>guile</command>,
|
---|
[e1030e21] | 245 | which knows where a particular module is installed and calls it,
|
---|
| 246 | passing its arguments to the program.
|
---|
| 247 | </para>
|
---|
| 248 | <indexterm zone="guile guild">
|
---|
| 249 | <primary sortas="b-guild">guild</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
[12180381] | 254 | <varlistentry id="guile-tools">
|
---|
| 255 | <term><command>guile-tools</command></term>
|
---|
| 256 | <listitem>
|
---|
[e1030e21] | 257 | <para>
|
---|
| 258 | is a symlink to <command>guild</command>.
|
---|
| 259 | </para>
|
---|
[12180381] | 260 | <indexterm zone="guile guile-tools">
|
---|
| 261 | <primary sortas="b-guile-tools">guile-tools</primary>
|
---|
| 262 | </indexterm>
|
---|
| 263 | </listitem>
|
---|
| 264 | </varlistentry>
|
---|
[b24bfef] | 265 |
|
---|
[12180381] | 266 | </variablelist>
|
---|
[b24bfef] | 267 |
|
---|
[12180381] | 268 | </sect2>
|
---|
[b24bfef] | 269 |
|
---|
[61a7ee8] | 270 | </sect1>
|
---|