source: general/prog/guile.xml@ 07499ecc

10.0 10.1 11.0 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind ken/refactor-virt lazarus perl-modules qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 07499ecc was 07499ecc, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Archive udisks
Tags for general/progs

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

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