source: general/prog/guile.xml@ 44ce01f

10.0 10.1 11.0 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 44ce01f was 44ce01f, checked in by Douglas R. Reno <renodr@…>, 16 months ago

Update to exempi-2.5.2
Update to nspr-4.26
Update to guile-3.0.4
Update to cbindgen-0.14.3
Update to pycryptodome-3.9.8 (Python Module)

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23329 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.5 KB
Line 
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 "&gnu-http;/guile/guile-&guile-version;.tar.xz">
8 <!ENTITY guile-download-ftp "&gnu-ftp;/guile/guile-&guile-version;.tar.xz">
9 <!ENTITY guile-md5sum "55d9875992b9c684cb96f66ea6b3efc2">
10 <!ENTITY guile-size "12 MB">
11 <!ENTITY guile-buildsize "273 MB (add 3 MB for tests)">
12 <!ENTITY guile-time "1.9 SBU (Using parallelism=4; add 0.4 SBU for tests)">
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 GNU Project's
34 extension language library. <application>Guile</application> also
35 contains a stand alone <application>Scheme</application> interpreter.
36 </para>
37
38 &lfs91_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"/> and
79 <xref linkend="libunistring"/>
80 </para>
81
82 <bridgehead renderas="sect4">Optional</bridgehead>
83 <para role="optional">
84 <xref linkend="emacs"/> and
85 <xref linkend="gdb"/> (run-time only dependencies).
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 \
102 --disable-static \
103 --docdir=/usr/share/doc/guile-&guile-version; &amp;&amp;
104make &amp;&amp;
105make html &amp;&amp;
106
107makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &amp;&amp;
108makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
109
110 <para>
111 To test the results, issue: <command>./check-guile</command>.
112 </para>
113 <!-- 10 of the numbers tests fail on i686. This should probably be looked
114 into at a later point in time. -renodr -->
115
116 <para>
117 Now, as the <systemitem class="username">root</systemitem> user:
118 </para>
119
120<screen role="root"><userinput>make install &amp;&amp;
121make install-html &amp;&amp;
122
123mkdir -p /usr/share/gdb/auto-load/usr/lib &amp;&amp;
124mv /usr/lib/libguile-*-gdb.scm /usr/share/gdb/auto-load/usr/lib &amp;&amp;
125mv /usr/share/doc/guile-&guile-version;/{guile.html,ref} &amp;&amp;
126mv /usr/share/doc/guile-&guile-version;/r5rs{.html,} &amp;&amp;
127
128find examples -name "Makefile*" -delete &amp;&amp;
129cp -vR examples /usr/share/doc/guile-&guile-version; &amp;&amp;
130
131for DIRNAME in r5rs ref; do
132 install -v -m644 doc/${DIRNAME}/*.txt \
133 /usr/share/doc/guile-&guile-version;/${DIRNAME}
134done &amp;&amp;
135unset DIRNAME</userinput></screen>
136
137 </sect2>
138
139 <sect2 role="commands">
140 <title>Command Explanations</title>
141
142 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
143 href="../../xincludes/static-libraries.xml"/>
144
145 </sect2>
146
147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
152 <segtitle>Installed Libraries</segtitle>
153 <segtitle>Installed Directories</segtitle>
154
155 <seglistitem>
156 <seg>
157 guild, guile, guile-config, guile-snarf and guile-tools
158 </seg>
159 <seg>
160 libguile-3.0.so and guile-readline.so
161 </seg>
162 <seg>
163 /usr/include/guile,
164 /usr/lib/guile,
165 /usr/share/doc/guile-&guile-version; and
166 /usr/share/guile
167 </seg>
168 </seglistitem>
169 </segmentedlist>
170
171 <variablelist>
172 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
173 <?dbfo list-presentation="list"?>
174 <?dbhtml list-presentation="table"?>
175
176 <varlistentry id="guile-prog">
177 <term><command>guile</command></term>
178 <listitem>
179 <para>
180 is a stand-alone Scheme interpreter for
181 <application>Guile</application>.
182 </para>
183 <indexterm zone="guile guile-prog">
184 <primary sortas="b-guile">guile</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="guile-config">
190 <term><command>guile-config</command></term>
191 <listitem>
192 <para>
193 is a <application>Guile</application> script which provides the
194 information necessary to link your programs against the
195 <application>Guile</application> library, in much the same way
196 PkgConfig does.
197 </para>
198 <indexterm zone="guile guile-config">
199 <primary sortas="b-guile-config">guile-config</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 <varlistentry id="guile-snarf">
205 <term><command>guile-snarf</command></term>
206 <listitem>
207 <para>
208 is a script to parse declarations in your
209 <application>C</application> code for
210 <application>Scheme</application> visible
211 <application>C</application> functions.
212 </para>
213 <indexterm zone="guile guile-snarf">
214 <primary sortas="b-guile-snarf">guile-snarf</primary>
215 </indexterm>
216 </listitem>
217 </varlistentry>
218
219 <varlistentry id="guild">
220 <term><command>guild</command></term>
221 <listitem>
222 <para>
223 is a wrapper program installed along with <command>guile</command>,
224 which knows where a particular module is installed and calls it,
225 passing its arguments to the program.
226 </para>
227 <indexterm zone="guile guild">
228 <primary sortas="b-guild">guild</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="guile-tools">
234 <term><command>guile-tools</command></term>
235 <listitem>
236 <para>
237 is a symlink to <command>guild</command>.
238 </para>
239 <indexterm zone="guile guile-tools">
240 <primary sortas="b-guile-tools">guile-tools</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 </variablelist>
246
247 </sect2>
248
249</sect1>
Note: See TracBrowser for help on using the repository browser.