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.gz">
|
---|
8 | <!ENTITY guile-download-ftp "ftp://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.gz">
|
---|
9 | <!ENTITY guile-md5sum "991b5b3efcbbc3f7507d05bc42f80a5e">
|
---|
10 | <!ENTITY guile-size "3.9 MB">
|
---|
11 | <!ENTITY guile-buildsize "47 MB (additional 50 MB to install all the docs)">
|
---|
12 | <!ENTITY guile-time "1.2 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>The <application>Guile</application> package contains the Project
|
---|
33 | GNU's extension language library. <application>Guile</application> also
|
---|
34 | contains a stand alone <application>Scheme</application> interpreter.</para>
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>Download (HTTP): <ulink url="&guile-download-http;"/></para>
|
---|
40 | </listitem>
|
---|
41 | <listitem>
|
---|
42 | <para>Download (FTP): <ulink url="&guile-download-ftp;"/></para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>Download MD5 sum: &guile-md5sum;</para>
|
---|
46 | </listitem>
|
---|
47 | <listitem>
|
---|
48 | <para>Download size: &guile-size;</para>
|
---|
49 | </listitem>
|
---|
50 | <listitem>
|
---|
51 | <para>Estimated disk space required: &guile-buildsize;</para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Estimated build time: &guile-time;</para>
|
---|
55 | </listitem>
|
---|
56 | </itemizedlist>
|
---|
57 |
|
---|
58 | <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
59 | <itemizedlist spacing="compact">
|
---|
60 | <listitem>
|
---|
61 | <para>Required patch: <ulink
|
---|
62 | url="&patch-root;/guile-&guile-version;-gcc4-1.patch"/></para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>Required patch: <ulink
|
---|
66 | url="&patch-root;/guile-&guile-version;-slib-1.patch"/></para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist> -->
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
|
---|
71 |
|
---|
72 | <!-- <bridgehead renderas="sect4">Required</bridgehead>
|
---|
73 | <para role="required"><xref linkend="gmp"/></para> -->
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
76 | <para role="optional"><xref linkend="emacs"/></para>
|
---|
77 |
|
---|
78 | <para condition="html" role="usernotes">User Notes:
|
---|
79 | <ulink url="&blfs-wiki;/guile"/></para>
|
---|
80 |
|
---|
81 | </sect2>
|
---|
82 |
|
---|
83 | <sect2 role="installation">
|
---|
84 | <title>Installation of Guile</title>
|
---|
85 |
|
---|
86 | <para>Install <application>Guile</application> by running the following
|
---|
87 | commands:</para>
|
---|
88 |
|
---|
89 | <!-- <screen><userinput>./configure -prefix=/usr -enable-posix \
|
---|
90 | -disable-static -enable-networking -enable-regex &&
|
---|
91 | make</userinput></screen> -->
|
---|
92 |
|
---|
93 | <screen><userinput>./configure --prefix=/usr &&
|
---|
94 | make &&
|
---|
95 |
|
---|
96 | makeinfo --plaintext -o doc/goops/goops.txt doc/goops/goops.texi &&
|
---|
97 | makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
|
---|
98 | makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi &&
|
---|
99 | makeinfo --plaintext -o doc/tutorial/guile-tut.txt \
|
---|
100 | doc/tutorial/guile-tut.texi</userinput></screen>
|
---|
101 |
|
---|
102 | <para>If you have <xref linkend="tetex"/> installed and wish to
|
---|
103 | build alternate formats of the documentation, issue the following
|
---|
104 | commands:</para>
|
---|
105 |
|
---|
106 | <screen><userinput>for DIRNAME in goops r5rs ref tutorial
|
---|
107 | do
|
---|
108 | make -k -C doc/$DIRNAME pdf ps html
|
---|
109 | done &&
|
---|
110 | unset DIRNAME</userinput></screen>
|
---|
111 |
|
---|
112 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
113 |
|
---|
114 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
115 |
|
---|
116 | <screen role="root"><userinput>make install &&
|
---|
117 |
|
---|
118 | find examples -name "Makefile*" -exec rm {} \; &&
|
---|
119 | install -v -m755 -d /usr/share/doc/guile-&guile-version; &&
|
---|
120 | cp -v -R examples /usr/share/doc/guile-&guile-version; &&
|
---|
121 |
|
---|
122 | for DIRNAME in goops r5rs ref tutorial
|
---|
123 | do
|
---|
124 | install -v -m755 -d /usr/share/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}/$DIRNAME &&
|
---|
125 | install -v -m644 doc/$DIRNAME/*.txt \
|
---|
126 | /usr/share/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}/$DIRNAME &&
|
---|
127 | done &&
|
---|
128 | unset DIRNAME</userinput></screen>
|
---|
129 |
|
---|
130 | <para>If you built the alternate formats of the documentation, install them
|
---|
131 | using the following commands issued by the
|
---|
132 | <systemitem class="username">root</systemitem> user:</para>
|
---|
133 |
|
---|
134 | <screen role="root"><userinput>for DIRNAME in goops r5rs ref tutorial
|
---|
135 | do
|
---|
136 | install -v -m755 -d /usr/share/doc/guile-&guile-version;/$DIRNAME/html &&
|
---|
137 | install -v -m644 doc/$DIRNAME/*.{pdf,ps,dvi} \
|
---|
138 | /usr/share/doc/guile-&guile-version;/$DIRNAME &&
|
---|
139 | if [ -d doc/$DIRNAME/$DIRNAME.html ]; then
|
---|
140 | install -v -m644 doc/$DIRNAME/$DIRNAME.html/* \
|
---|
141 | /usr/share/doc/guile-&guile-version;/$DIRNAME/html &&
|
---|
142 | fi
|
---|
143 | done &&
|
---|
144 |
|
---|
145 | install -v -m644 doc/goops/hierarchy.{eps,png} \
|
---|
146 | /usr/share/doc/guile-&guile-version;/goops &&
|
---|
147 | install -v -m644 doc/ref/guile.html/* \
|
---|
148 | /usr/share/doc/guile-&guile-version;/ref/html &&
|
---|
149 | install -v -m644 doc/tutorial/guile-tut.html/* \
|
---|
150 | /usr/share/doc/guile-&guile-version;/tutorial/html</userinput></screen>
|
---|
151 | </sect2>
|
---|
152 |
|
---|
153 | <!-- Commenting these out (as well as the actual build command) because they
|
---|
154 | are the default. Examine configure.(ac,in) and you will see that if not
|
---|
155 | specified, all 3 of these options are enabled by default.
|
---|
156 | <sect2 role="commands">
|
---|
157 | <title>Command Explanations</title>
|
---|
158 |
|
---|
159 | <para><option>-enable-posix</option>: Enable Posix interfaces.</para>
|
---|
160 |
|
---|
161 | <para><option>-enable-networking</option>: Enable networking interfaces.</para>
|
---|
162 |
|
---|
163 | <para><option>-enable-regex</option>: Enable regular expression interfaces.</para>
|
---|
164 |
|
---|
165 | </sect2>
|
---|
166 | -->
|
---|
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>guile, guile-config, guile-snarf, and guile-tools</seg>
|
---|
178 | <seg>libguile.{so,a}, libguile-srfi-srfi-*.{so,a} and
|
---|
179 | /libguilereadline-v-17.{so,a}</seg>
|
---|
180 | <seg>/usr/include/guile, /usr/include/libguile,
|
---|
181 | /usr/share/doc/guile-&guile-version; and /usr/share/guile</seg>
|
---|
182 | </seglistitem>
|
---|
183 | </segmentedlist>
|
---|
184 |
|
---|
185 | <variablelist>
|
---|
186 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
187 | <?dbfo list-presentation="list"?>
|
---|
188 | <?dbhtml list-presentation="table"?>
|
---|
189 |
|
---|
190 | <varlistentry id="guile-prog">
|
---|
191 | <term><command>guile</command></term>
|
---|
192 | <listitem>
|
---|
193 | <para>is a stand-alone Scheme interpreter for
|
---|
194 | <application>Guile</application>.</para>
|
---|
195 | <indexterm zone="guile guile-prog">
|
---|
196 | <primary sortas="b-guile">guile</primary>
|
---|
197 | </indexterm>
|
---|
198 | </listitem>
|
---|
199 | </varlistentry>
|
---|
200 |
|
---|
201 | <varlistentry id="guile-config">
|
---|
202 | <term><command>guile-config</command></term>
|
---|
203 | <listitem>
|
---|
204 | <para>is a <application>Guile</application> script which provides
|
---|
205 | the information necessary to link your programs against the
|
---|
206 | <application>Guile</application> library, in much the same way
|
---|
207 | PkgConfig does.</para>
|
---|
208 | <indexterm zone="guile guile-config">
|
---|
209 | <primary sortas="b-guile-config">guile-config</primary>
|
---|
210 | </indexterm>
|
---|
211 | </listitem>
|
---|
212 | </varlistentry>
|
---|
213 |
|
---|
214 | <varlistentry id="guile-snarf">
|
---|
215 | <term><command>guile-snarf</command></term>
|
---|
216 | <listitem>
|
---|
217 | <para>is a script to parse declarations in your
|
---|
218 | <application>C</application> code for <application>Scheme</application>
|
---|
219 | visible <application>C</application> functions, i
|
---|
220 | <application>Scheme</application> objects to be used by
|
---|
221 | <application>C</application> code, etc.</para>
|
---|
222 | <indexterm zone="guile guile-snarf">
|
---|
223 | <primary sortas="b-guile-snarf">guile-snarf</primary>
|
---|
224 | </indexterm>
|
---|
225 | </listitem>
|
---|
226 | </varlistentry>
|
---|
227 |
|
---|
228 | <varlistentry id="guile-tools">
|
---|
229 | <term><command>guile-tools</command></term>
|
---|
230 | <listitem>
|
---|
231 | <para>is a wrapper program installed along with
|
---|
232 | <command>guile</command> which knows where a particular
|
---|
233 | module is installed and calls it passing its args to a program.</para>
|
---|
234 | <indexterm zone="guile guile-tools">
|
---|
235 | <primary sortas="b-guile-tools">guile-tools</primary>
|
---|
236 | </indexterm>
|
---|
237 | </listitem>
|
---|
238 | </varlistentry>
|
---|
239 |
|
---|
240 | </variablelist>
|
---|
241 |
|
---|
242 | </sect2>
|
---|
243 |
|
---|
244 | </sect1>
|
---|