source: general/prog/guile.xml@ 47888b9

10.0 10.1 11.0 11.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind lazarus perl-modules qt5new trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since 47888b9 was 47888b9, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update to guile-2.2.0.
Update to keyutils-1.5.10.
Update to llvm-4.0.0.
Update to nss-3.30.

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

  • Property mode set to 100644
File size: 7.3 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 "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 "931bf555047a7706b246d34a93a390f4">
10 <!ENTITY guile-size "10.3 MB">
11 <!ENTITY guile-buildsize "177 MB (add 3 MB for tests)">
12 <!ENTITY guile-time "9.1 SBU (add 0.5 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 &lfs80_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"/> and
86 <xref linkend="gdb"/> (run-time only dependencies).
87 </para>
88
89 <para condition="html" role="usernotes">
90 User Notes: <ulink url="&blfs-wiki;/guile"/>
91 </para>
92 </sect2>
93
94 <sect2 role="installation">
95 <title>Installation of Guile</title>
96
97 <para>
98 Install <application>Guile</application> by running the following
99 commands:
100 </para>
101
102<screen><userinput>./configure --prefix=/usr \
103 --disable-static \
104 --docdir=/usr/share/doc/guile-&guile-version; &amp;&amp;
105make &amp;&amp;
106make html &amp;&amp;
107
108makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &amp;&amp;
109makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
110
111 <para>
112 To test the results, issue: <command>./check-guile</command>.
113 </para>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>make install &amp;&amp;
120make install-html &amp;&amp;
121
122mv /usr/lib/libguile-*-gdb.scm /usr/share/gdb/auto-load/usr/lib &amp;&amp;
123mv /usr/share/doc/guile-&guile-version;/{guile.html,ref} &amp;&amp;
124mv /usr/share/doc/guile-&guile-version;/r5rs{.html,} &amp;&amp;
125
126find examples -name "Makefile*" -delete &amp;&amp;
127cp -vR examples /usr/share/doc/guile-&guile-version; &amp;&amp;
128
129for DIRNAME in r5rs ref; do
130 install -v -m644 doc/${DIRNAME}/*.txt \
131 /usr/share/doc/guile-&guile-version;/${DIRNAME}
132done &amp;&amp;
133unset DIRNAME</userinput></screen>
134
135 </sect2>
136
137 <sect2 role="commands">
138 <title>Command Explanations</title>
139
140 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
141 href="../../xincludes/static-libraries.xml"/>
142
143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Libraries</segtitle>
151 <segtitle>Installed Directories</segtitle>
152
153 <seglistitem>
154 <seg>
155 guild, guile, guile-config, guile-snarf and guile-tools
156 </seg>
157 <seg>
158 libguile-2.0.so and libguilereadline-v-18.so
159 </seg>
160 <seg>
161 /usr/include/guile,
162 /usr/lib/guile,
163 /usr/share/doc/guile-&guile-version; and
164 /usr/share/guile
165 </seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="guile-prog">
175 <term><command>guile</command></term>
176 <listitem>
177 <para>
178 is a stand-alone Scheme interpreter for
179 <application>Guile</application>.
180 </para>
181 <indexterm zone="guile guile-prog">
182 <primary sortas="b-guile">guile</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="guile-config">
188 <term><command>guile-config</command></term>
189 <listitem>
190 <para>
191 is a <application>Guile</application> script which provides the
192 information necessary to link your programs against the
193 <application>Guile</application> library, in much the same way
194 PkgConfig does.
195 </para>
196 <indexterm zone="guile guile-config">
197 <primary sortas="b-guile-config">guile-config</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="guile-snarf">
203 <term><command>guile-snarf</command></term>
204 <listitem>
205 <para>
206 is a script to parse declarations in your
207 <application>C</application> code for
208 <application>Scheme</application> visible
209 <application>C</application> functions.
210 </para>
211 <indexterm zone="guile guile-snarf">
212 <primary sortas="b-guile-snarf">guile-snarf</primary>
213 </indexterm>
214 </listitem>
215 </varlistentry>
216
217 <varlistentry id="guild">
218 <term><command>guild</command></term>
219 <listitem>
220 <para>
221 is a wrapper program installed along with <command>guile</command>,
222 which knows where a particular module is installed and calls it,
223 passing its arguments to the program.
224 </para>
225 <indexterm zone="guile guild">
226 <primary sortas="b-guild">guild</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="guile-tools">
232 <term><command>guile-tools</command></term>
233 <listitem>
234 <para>
235 is a symlink to <command>guild</command>.
236 </para>
237 <indexterm zone="guile guile-tools">
238 <primary sortas="b-guile-tools">guile-tools</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 </variablelist>
244
245 </sect2>
246
247</sect1>
Note: See TracBrowser for help on using the repository browser.