source: general/prog/guile.xml@ 2d1ea57b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2d1ea57b was e1030e21, checked in by Andrew Benton <andy@…>, 12 years ago

guile-2.0.5

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

  • Property mode set to 100644
File size: 7.8 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
8 "http://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.xz">
9 <!ENTITY guile-download-ftp
10 "ftp://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.xz">
11 <!ENTITY guile-md5sum "81110e16dcdb24c825fecc41b214edb9">
12 <!ENTITY guile-size "4 MB">
13 <!ENTITY guile-buildsize "104 MB">
14 <!ENTITY guile-time "3.9 SBU">
15]>
16
17<sect1 id="guile" xreflabel="Guile-&guile-version;">
18<?dbhtml filename="guile.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>Guile-&guile-version;</title>
26
27 <indexterm zone="guile">
28 <primary sortas="a-Guile">Guile</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to Guile</title>
33
34 <para>
35 The <application>Guile</application> package contains the Project
36 GNU's extension language library. <application>Guile</application> also
37 contains a stand alone <application>Scheme</application> interpreter.
38 </para>
39
40 &lfs71_checked;
41
42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
45 <para>
46 Download (HTTP): <ulink url="&guile-download-http;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download (FTP): <ulink url="&guile-download-ftp;"/>
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download MD5 sum: &guile-md5sum;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Download size: &guile-size;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated disk space required: &guile-buildsize;
67 </para>
68 </listitem>
69 <listitem>
70 <para>
71 Estimated build time: &guile-time;
72 </para>
73 </listitem>
74 </itemizedlist>
75
76 <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
77
78 <bridgehead renderas="sect4">Required</bridgehead>
79 <para role="required">
80 <xref linkend="pkgconfig"/>,
81 <xref linkend="gc"/> and
82 <xref linkend="libunistring"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="emacs"/>
88 </para>
89
90 <para condition="html" role="usernotes">
91 User Notes: <ulink url="&blfs-wiki;/guile"/>
92 </para>
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of Guile</title>
97
98 <para>
99 Install <application>Guile</application> by running the following
100 commands:
101 </para>
102
103<screen><userinput>./configure --prefix=/usr --disable-static &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 If you have <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>
112 installed and wish to build alternate formats (PDF and postscript) of the
113 documentation, issue the following commands:
114 </para>
115
116<screen><userinput>for DIRNAME in r5rs ref
117do make -k -C doc/${DIRNAME} pdf ps
118done &amp;&amp;
119unset DIRNAME</userinput></screen>
120
121 <para>
122 To test the results, issue: <command>make check</command>.
123 </para>
124
125 <para>
126 Now, as the <systemitem class="username">root</systemitem> user:
127 </para>
128
129<screen role="root"><userinput>make install &amp;&amp;
130
131find examples -name "Makefile*" -exec rm {} \; &amp;&amp;
132install -v -m755 -d /usr/share/doc/guile-&guile-version; &amp;&amp;
133cp -vR examples /usr/share/doc/guile-&guile-version; &amp;&amp;
134
135for DIRNAME in r5rs ref
136do
137 install -v -m755 -d /usr/share/doc/guile-&guile-version;/${DIRNAME} &amp;&amp;
138 install -v -m644 doc/${DIRNAME}/*.txt \
139 /usr/share/doc/guile-&guile-version;/${DIRNAME} &amp;&amp;
140 if [ -d doc/${DIRNAME}/${DIRNAME}.html ]; then
141 cp -v -R doc/${DIRNAME}/${DIRNAME}.html \
142 /usr/share/doc/guile-&guile-version;/${DIRNAME}
143 fi
144done &amp;&amp;
145
146cp -v -R doc/ref/guile.html /usr/share/doc/guile-&guile-version;/ref</userinput></screen>
147
148 <para>
149 If you built the alternate formats of the documentation, install them
150 using the following commands issued by the
151 <systemitem class="username">root</systemitem> user:
152 </para>
153
154<screen role="root"><userinput>for DIRNAME in r5rs ref
155do
156 install -v -m644 doc/${DIRNAME}/*.{pdf,ps,dvi} \
157 /usr/share/doc/guile-&guile-version;/${DIRNAME}
158done</userinput></screen>
159 </sect2>
160
161 <sect2 role="content">
162 <title>Contents</title>
163
164 <segmentedlist>
165 <segtitle>Installed Programs</segtitle>
166 <segtitle>Installed Libraries</segtitle>
167 <segtitle>Installed Directories</segtitle>
168
169 <seglistitem>
170 <seg>guild, guile, guile-config, guile-snarf, and guile-tools</seg>
171 <seg>libguile-2.0.so and /libguilereadline-v-18.so</seg>
172 <seg>/usr/include/guile, /usr/lib/guild,
173 /usr/share/doc/guile-&guile-version; and /usr/share/guile</seg>
174 </seglistitem>
175 </segmentedlist>
176
177 <variablelist>
178 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <?dbfo list-presentation="list"?>
180 <?dbhtml list-presentation="table"?>
181
182 <varlistentry id="guile-prog">
183 <term><command>guile</command></term>
184 <listitem>
185 <para>
186 is a stand-alone Scheme interpreter for
187 <application>Guile</application>.
188 </para>
189 <indexterm zone="guile guile-prog">
190 <primary sortas="b-guile">guile</primary>
191 </indexterm>
192 </listitem>
193 </varlistentry>
194
195 <varlistentry id="guile-config">
196 <term><command>guile-config</command></term>
197 <listitem>
198 <para>
199 is a <application>Guile</application> script which provides the
200 information necessary to link your programs against the
201 <application>Guile</application> library, in much the same way
202 PkgConfig does.
203 </para>
204 <indexterm zone="guile guile-config">
205 <primary sortas="b-guile-config">guile-config</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="guile-snarf">
211 <term><command>guile-snarf</command></term>
212 <listitem>
213 <para>
214 is a script to parse declarations in your
215 <application>C</application> code for
216 <application>Scheme</application> visible
217 <application>C</application> functions.
218 </para>
219 <indexterm zone="guile guile-snarf">
220 <primary sortas="b-guile-snarf">guile-snarf</primary>
221 </indexterm>
222 </listitem>
223 </varlistentry>
224
225 <varlistentry id="guild">
226 <term><command>guild</command></term>
227 <listitem>
228 <para>
229 is a wrapper program installed along with <command>guile</command>
230 which knows where a particular module is installed and calls it,
231 passing its arguments to the program.
232 </para>
233 <indexterm zone="guile guild">
234 <primary sortas="b-guild">guild</primary>
235 </indexterm>
236 </listitem>
237 </varlistentry>
238
239 <varlistentry id="guile-tools">
240 <term><command>guile-tools</command></term>
241 <listitem>
242 <para>
243 is a symlink to <command>guild</command>.
244 </para>
245 <indexterm zone="guile guile-tools">
246 <primary sortas="b-guile-tools">guile-tools</primary>
247 </indexterm>
248 </listitem>
249 </varlistentry>
250 </variablelist>
251 </sect2>
252</sect1>
Note: See TracBrowser for help on using the repository browser.