1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
9 | <!ENTITY guile-md5sum "a69b575d4a633bdd9118f3a4a1e97766">
|
---|
10 | <!ENTITY guile-size "4.4 MB">
|
---|
11 | <!ENTITY guile-buildsize "120 MB">
|
---|
12 | <!ENTITY guile-time "8.0 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="guile" xreflabel="Guile-&guile-version;">
|
---|
16 | <?dbhtml filename="guile.html"?>
|
---|
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 |
|
---|
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>
|
---|
37 |
|
---|
38 | &lfs74_checked;
|
---|
39 |
|
---|
40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
41 | <itemizedlist spacing="compact">
|
---|
42 | <listitem>
|
---|
43 | <para>
|
---|
44 | Download (HTTP): <ulink url="&guile-download-http;"/>
|
---|
45 | </para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>
|
---|
49 | Download (FTP): <ulink url="&guile-download-ftp;"/>
|
---|
50 | </para>
|
---|
51 | </listitem>
|
---|
52 | <listitem>
|
---|
53 | <para>
|
---|
54 | Download MD5 sum: &guile-md5sum;
|
---|
55 | </para>
|
---|
56 | </listitem>
|
---|
57 | <listitem>
|
---|
58 | <para>
|
---|
59 | Download size: &guile-size;
|
---|
60 | </para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>
|
---|
64 | Estimated disk space required: &guile-buildsize;
|
---|
65 | </para>
|
---|
66 | </listitem>
|
---|
67 | <listitem>
|
---|
68 | <para>
|
---|
69 | Estimated build time: &guile-time;
|
---|
70 | </para>
|
---|
71 | </listitem>
|
---|
72 | </itemizedlist>
|
---|
73 |
|
---|
74 | <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
77 | <para role="required">
|
---|
78 | <xref linkend="gc"/>,
|
---|
79 | <xref linkend="libffi"/> and
|
---|
80 | <xref linkend="libunistring"/>
|
---|
81 | </para>
|
---|
82 |
|
---|
83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
84 | <para role="optional">
|
---|
85 | <xref linkend="emacs"/>
|
---|
86 | </para>
|
---|
87 |
|
---|
88 | <para condition="html" role="usernotes">
|
---|
89 | User Notes: <ulink url="&blfs-wiki;/guile"/>
|
---|
90 | </para>
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2 role="installation">
|
---|
94 | <title>Installation of Guile</title>
|
---|
95 |
|
---|
96 | <para>
|
---|
97 | Install <application>Guile</application> by running the following
|
---|
98 | commands:
|
---|
99 | </para>
|
---|
100 |
|
---|
101 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
102 | make &&
|
---|
103 | make html &&
|
---|
104 |
|
---|
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>
|
---|
107 |
|
---|
108 | <para>
|
---|
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:
|
---|
112 | </para>
|
---|
113 |
|
---|
114 | <screen><userinput>for DIRNAME in r5rs ref
|
---|
115 | do make -k -C doc/${DIRNAME} pdf ps
|
---|
116 | done &&
|
---|
117 | unset DIRNAME</userinput></screen>
|
---|
118 |
|
---|
119 | <para>
|
---|
120 | To test the results, issue: <command>make check</command>.
|
---|
121 | </para>
|
---|
122 |
|
---|
123 | <para>
|
---|
124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
125 | </para>
|
---|
126 |
|
---|
127 | <screen role="root"><userinput>make install &&
|
---|
128 |
|
---|
129 | find examples -name "Makefile*" -exec rm {} \; &&
|
---|
130 | install -v -dm755 /usr/share/doc/guile-&guile-version; &&
|
---|
131 | cp -vR examples /usr/share/doc/guile-&guile-version; &&
|
---|
132 |
|
---|
133 | for DIRNAME in r5rs ref
|
---|
134 | do
|
---|
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}
|
---|
141 | fi
|
---|
142 | done
|
---|
143 |
|
---|
144 | cp -vR doc/ref/guile.html /usr/share/doc/guile-&guile-version;/ref</userinput></screen>
|
---|
145 |
|
---|
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>
|
---|
151 |
|
---|
152 | <screen role="root"><userinput>for DIRNAME in r5rs ref
|
---|
153 | do
|
---|
154 | install -v -m644 doc/${DIRNAME}/*.{pdf,ps,dvi} \
|
---|
155 | /usr/share/doc/guile-&guile-version;/${DIRNAME}
|
---|
156 | done</userinput></screen>
|
---|
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 |
|
---|
166 | </sect2>
|
---|
167 |
|
---|
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>
|
---|
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,
|
---|
185 | /usr/lib/guile,
|
---|
186 | /usr/share/doc/guile-&guile-version; and
|
---|
187 | /usr/share/guile
|
---|
188 | </seg>
|
---|
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>
|
---|
200 | <para>
|
---|
201 | is a stand-alone Scheme interpreter for
|
---|
202 | <application>Guile</application>.
|
---|
203 | </para>
|
---|
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>
|
---|
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>
|
---|
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>
|
---|
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>
|
---|
234 | <indexterm zone="guile guile-snarf">
|
---|
235 | <primary sortas="b-guile-snarf">guile-snarf</primary>
|
---|
236 | </indexterm>
|
---|
237 | </listitem>
|
---|
238 | </varlistentry>
|
---|
239 |
|
---|
240 | <varlistentry id="guild">
|
---|
241 | <term><command>guild</command></term>
|
---|
242 | <listitem>
|
---|
243 | <para>
|
---|
244 | is a wrapper program installed along with <command>guile</command>,
|
---|
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 |
|
---|
254 | <varlistentry id="guile-tools">
|
---|
255 | <term><command>guile-tools</command></term>
|
---|
256 | <listitem>
|
---|
257 | <para>
|
---|
258 | is a symlink to <command>guild</command>.
|
---|
259 | </para>
|
---|
260 | <indexterm zone="guile guile-tools">
|
---|
261 | <primary sortas="b-guile-tools">guile-tools</primary>
|
---|
262 | </indexterm>
|
---|
263 | </listitem>
|
---|
264 | </varlistentry>
|
---|
265 |
|
---|
266 | </variablelist>
|
---|
267 |
|
---|
268 | </sect2>
|
---|
269 |
|
---|
270 | </sect1>
|
---|