source: general/prog/guile.xml@ 5ff8c3a

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 5ff8c3a was 046d740, checked in by Douglas R. Reno <renodr@…>, 20 months ago

Some more tags

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