source: general/prog/guile.xml@ eeaa41b7

10.0 10.1 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 eeaa41b7 was eeaa41b7, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Some tags, and a fix for the libarchive test suite problem

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

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