source: general/prog/guile.xml@ dcd55b37

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 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 dcd55b37 was dcd55b37, checked in by Randy McMurchy <randy@…>, 17 years ago

Updated to Guile-1.8.2, added a note to GnuCash that the instructions are now broken, commented out the entire GNOME-1.4 section

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

  • Property mode set to 100644
File size: 8.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 "http://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.gz">
8 <!ENTITY guile-download-ftp "ftp://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.gz">
9 <!ENTITY guile-md5sum "a4b64a992deae0532f8015bcc6c40784">
10 <!ENTITY guile-size "3.7 MB">
11 <!ENTITY guile-buildsize "49 MB (additional 40 MB to install all the docs)">
12 <!ENTITY guile-time "1.2 SBU (includes building all documentation)">
13]>
14
15<sect1 id="guile" xreflabel="Guile-&guile-version;">
16<?dbhtml filename="guile.html"?>
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
32 <para>The <application>Guile</application> package contains the Project
33 GNU's extension language library. <application>Guile</application> also
34 contains a stand alone <application>Scheme</application> interpreter.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&guile-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&guile-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &guile-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &guile-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &guile-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &guile-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
59 <itemizedlist spacing="compact">
60 <listitem>
61 <para>Required patch: <ulink
62 url="&patch-root;/guile-&guile-version;-gcc4-1.patch"/></para>
63 </listitem>
64 <listitem>
65 <para>Required patch: <ulink
66 url="&patch-root;/guile-&guile-version;-slib-1.patch"/></para>
67 </listitem>
68 </itemizedlist> -->
69
70 <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required"><xref linkend="gmp"/></para>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="required"><xref linkend="emacs"/></para>
77
78 <para condition="html" role="usernotes">User Notes:
79 <ulink url="&blfs-wiki;/guile"/></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of Guile</title>
85
86 <para>Install <application>Guile</application> by running the following
87 commands:</para>
88
89<screen><userinput>sed -i -e '20,$ d' \
90 -e 's|slib)|&amp;)\n(load-from-path "slib/guile.init")|' \
91 ice-9/slib.scm
92
93./configure --prefix=/usr &amp;&amp;
94make</userinput></screen>
95
96 <para>If you have <xref linkend="tetex"/> installed and wish to
97 build alternate formats of the documentation, issue the following
98 commands:</para>
99
100<screen><userinput>for DIRNAME in goops r5rs ref tutorial
101do
102 make -k -C doc/$DIRNAME pdf ps html
103done &amp;&amp;
104
105makeinfo --plaintext -o doc/goops/goops.txt doc/goops/goops.texi &amp;&amp;
106makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &amp;&amp;
107makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi &amp;&amp;
108makeinfo --plaintext -o doc/tutorial/guile-tut.txt \
109 doc/tutorial/guile-tut.texi &amp;&amp;
110
111unset DIRNAME</userinput></screen>
112
113 <para>To test the results, issue: <command>make check</command>.</para>
114
115 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
116
117<screen role="root"><userinput>make install &amp;&amp;
118
119find examples -name "Makefile*" -exec rm {} \; &amp;&amp;
120install -v -m755 -d /usr/share/doc/guile-&guile-version; &amp;&amp;
121cp -v -R examples /usr/share/doc/guile-&guile-version;</userinput></screen>
122
123 <para>If you built the alternate formats of the documentation, install them
124 using the following commands issued by the
125 <systemitem class="username">root</systemitem> user:</para>
126
127<screen role="root"><userinput>for DIRNAME in goops r5rs ref tutorial
128do
129 install -v -m755 -d /usr/share/doc/guile-&guile-version;/$DIRNAME/html
130 install -v -m644 doc/$DIRNAME/*.{pdf,ps,dvi,txt} \
131 /usr/share/doc/guile-&guile-version;/$DIRNAME
132 if [ -d doc/$DIRNAME/$DIRNAME.html ]; then
133 install -v -m644 doc/$DIRNAME/$DIRNAME.html/* \
134 /usr/share/doc/guile-&guile-version;/$DIRNAME/html
135 fi
136done &amp;&amp;
137
138install -v -m644 doc/goops/hierarchy.{eps,png} \
139 /usr/share/doc/guile-&guile-version;/goops &amp;&amp;
140install -v -m644 doc/ref/guile.html/* \
141 /usr/share/doc/guile-&guile-version;/ref/html &amp;&amp;
142install -v -m644 doc/tutorial/guile-tut.html/* \
143 /usr/share/doc/guile-&guile-version;/tutorial/html</userinput></screen>
144 </sect2>
145
146 <sect2 role="commands">
147 <title>Command Explanations</title>
148
149 <para><command>sed -i -e '20,$ d' -e '...' ice-9/slib.scm</command>:
150 This command is used to modify the <application>Guile</application>
151 <application>SLIB</application> initialization script. There are
152 incompatibilities with newer versions of <application>SLIB</application>
153 and this command modifes the script to use the installed
154 <application>SLIB</application> script.</para>
155
156 </sect2>
157
158 <sect2 role="content">
159 <title>Contents</title>
160
161 <segmentedlist>
162 <segtitle>Installed Programs</segtitle>
163 <segtitle>Installed Libraries</segtitle>
164 <segtitle>Installed Directories</segtitle>
165
166 <seglistitem>
167 <seg>guile, guile-config, guile-snarf, and guile-tools</seg>
168 <seg>libguile.{so,a}, libguile-srfi-srfi-*.{so,a} and
169 /libguilereadline-v-17.{so,a}</seg>
170 <seg>/usr/include/guile, /usr/include/libguile,
171 /usr/share/doc/guile-&guile-version; and /usr/share/guile</seg>
172 </seglistitem>
173 </segmentedlist>
174
175 <variablelist>
176 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
177 <?dbfo list-presentation="list"?>
178 <?dbhtml list-presentation="table"?>
179
180 <varlistentry id="guile-prog">
181 <term><command>guile</command></term>
182 <listitem>
183 <para>is a stand-alone Scheme interpreter for
184 <application>Guile</application>.</para>
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>
194 <para>is a <application>Guile</application> script which provides
195 the information necessary to link your programs against the
196 <application>Guile</application> library, in much the same way
197 <xref linkend="pkgconfig"></xref> does.</para>
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>
207 <para>is a script to parse declarations in your
208 <application>C</application> code for <application>Scheme</application>
209 visible <application>C</application> functions, i
210 <application>Scheme</application> objects to be used by
211 <application>C</application> code, etc.</para>
212 <indexterm zone="guile guile-snarf">
213 <primary sortas="b-guile-snarf">guile-snarf</primary>
214 </indexterm>
215 </listitem>
216 </varlistentry>
217
218 <varlistentry id="guile-tools">
219 <term><command>guile-tools</command></term>
220 <listitem>
221 <para>is a wrapper program installed along with
222 <command>guile</command> which knows where a particular
223 module is installed and calls it passing its args to a program.</para>
224 <indexterm zone="guile guile-tools">
225 <primary sortas="b-guile-tools">guile-tools</primary>
226 </indexterm>
227 </listitem>
228 </varlistentry>
229
230 </variablelist>
231
232 </sect2>
233
234</sect1>
Note: See TracBrowser for help on using the repository browser.