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

11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2e542e2 was 2e542e2, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Update to guile-3.0.6

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