source: general/prog/guile.xml@ c29909c

12.1 ken/TL2024 lazarus plabs/newcss rahul/power-profiles-daemon trunk xry111/llvm18
Last change on this file since c29909c was e1e58be, checked in by Pierre Labastie <pierre.labastie@…>, 8 months ago

Remove all ftp urls

neither firefox nor epiphany can download them, and they are not
well maintained, because rarely tested.
This is WIP because the "(HTTP)" part of "Download (HTTP)" will
need to be removed too.
But let's see what users think first...

  • Property mode set to 100644
File size: 7.4 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 " ">
9 <!ENTITY guile-md5sum "258983e0156c2bc66539dcbcb96f2bd2">
10 <!ENTITY guile-size "5.5 MB">
11 <!ENTITY guile-buildsize "221 MB (add 4 MB for tests)">
12 <!ENTITY guile-time "5.9 SBU (Using parallelism=4; add 0.3 SBU for tests)">
13]>
14
15<sect1 id="guile" xreflabel="Guile-&guile-version;">
16<?dbhtml filename="guile.html"?>
17
18
19 <title>Guile-&guile-version;</title>
20
21 <indexterm zone="guile">
22 <primary sortas="a-Guile">Guile</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Guile</title>
27
28 <para>
29 The <application>Guile</application> package contains the GNU Project's
30 extension language library. <application>Guile</application> also
31 contains a stand alone <application>Scheme</application> interpreter.
32 </para>
33
34 &lfs120_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&guile-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&guile-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &guile-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &guile-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &guile-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &guile-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="gc"/> and
75 <xref linkend="libunistring"/>
76 </para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional">
80 <xref linkend="emacs"/> and
81 <xref linkend="gdb"/> (run-time only dependencies).
82 </para>
83
84 </sect2>
85
86 <sect2 role="installation">
87 <title>Installation of Guile</title>
88
89 <para>
90 Install <application>Guile</application> by running the following
91 commands:
92 </para>
93
94<screen><userinput>./configure --prefix=/usr \
95 --disable-static \
96 --docdir=/usr/share/doc/guile-&guile-version; &amp;&amp;
97make &amp;&amp;
98make html &amp;&amp;
99
100makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &amp;&amp;
101makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
102
103 <para>
104 To test the results, issue: <command>./check-guile</command>.
105 On an i686 system, as many as 10 tests will fail in the
106 <filename>numbers.test</filename> test suite due to minor floating-point
107 rounding errors.
108 </para>
109 <!-- 10 of the numbers tests fail on i686. This should probably be looked
110 into at a later point in time. -renodr -->
111
112 <para>
113 Now, as the <systemitem class="username">root</systemitem> user:
114 </para>
115
116<screen role="root"><userinput>make install &amp;&amp;
117make install-html &amp;&amp;
118
119mkdir -p /usr/share/gdb/auto-load/usr/lib &amp;&amp;
120mv /usr/lib/libguile-*-gdb.scm /usr/share/gdb/auto-load/usr/lib &amp;&amp;
121mv /usr/share/doc/guile-&guile-version;/{guile.html,ref} &amp;&amp;
122mv /usr/share/doc/guile-&guile-version;/r5rs{.html,} &amp;&amp;
123
124find examples -name "Makefile*" -delete &amp;&amp;
125cp -vR examples /usr/share/doc/guile-&guile-version; &amp;&amp;
126
127for DIRNAME in r5rs ref; do
128 install -v -m644 doc/${DIRNAME}/*.txt \
129 /usr/share/doc/guile-&guile-version;/${DIRNAME}
130done &amp;&amp;
131unset DIRNAME</userinput></screen>
132
133 </sect2>
134
135 <sect2 role="commands">
136 <title>Command Explanations</title>
137
138 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
139 href="../../xincludes/static-libraries.xml"/>
140
141 </sect2>
142
143 <sect2 role="content">
144 <title>Contents</title>
145
146 <segmentedlist>
147 <segtitle>Installed Programs</segtitle>
148 <segtitle>Installed Libraries</segtitle>
149 <segtitle>Installed Directories</segtitle>
150
151 <seglistitem>
152 <seg>
153 guild, guile, guile-config, guile-snarf and guile-tools
154 </seg>
155 <seg>
156 libguile-3.0.so and guile-readline.so
157 </seg>
158 <seg>
159 /usr/include/guile,
160 /usr/lib/guile,
161 /usr/share/doc/guile-&guile-version; and
162 /usr/share/guile
163 </seg>
164 </seglistitem>
165 </segmentedlist>
166
167 <variablelist>
168 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
169 <?dbfo list-presentation="list"?>
170 <?dbhtml list-presentation="table"?>
171
172 <varlistentry id="guile-prog">
173 <term><command>guile</command></term>
174 <listitem>
175 <para>
176 is a stand-alone Scheme interpreter for
177 <application>Guile</application>
178 </para>
179 <indexterm zone="guile guile-prog">
180 <primary sortas="b-guile">guile</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="guile-config">
186 <term><command>guile-config</command></term>
187 <listitem>
188 <para>
189 is a <application>Guile</application> script which provides the
190 information necessary to link your programs against the
191 <application>Guile</application> library, in much the same way
192 PkgConfig does
193 </para>
194 <indexterm zone="guile guile-config">
195 <primary sortas="b-guile-config">guile-config</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="guile-snarf">
201 <term><command>guile-snarf</command></term>
202 <listitem>
203 <para>
204 is a script to parse declarations in your
205 <application>C</application> code for
206 <application>Scheme</application> visible
207 <application>C</application> functions
208 </para>
209 <indexterm zone="guile guile-snarf">
210 <primary sortas="b-guile-snarf">guile-snarf</primary>
211 </indexterm>
212 </listitem>
213 </varlistentry>
214
215 <varlistentry id="guild">
216 <term><command>guild</command></term>
217 <listitem>
218 <para>
219 is a wrapper program installed along with <command>guile</command>,
220 which knows where a particular module is installed and calls it,
221 passing its arguments to the program
222 </para>
223 <indexterm zone="guile guild">
224 <primary sortas="b-guild">guild</primary>
225 </indexterm>
226 </listitem>
227 </varlistentry>
228
229 <varlistentry id="guile-tools">
230 <term><command>guile-tools</command></term>
231 <listitem>
232 <para>
233 is a symlink to <command>guild</command>
234 </para>
235 <indexterm zone="guile guile-tools">
236 <primary sortas="b-guile-tools">guile-tools</primary>
237 </indexterm>
238 </listitem>
239 </varlistentry>
240
241 </variablelist>
242
243 </sect2>
244
245</sect1>
Note: See TracBrowser for help on using the repository browser.