source: general/prog/guile.xml@ f8508a0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 f8508a0 was f8508a0, checked in by Ag Hatzimanikas <ag@…>, 14 years ago

Updated to Guile-1.8.7

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

  • Property mode set to 100644
File size: 8.1 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 "991b5b3efcbbc3f7507d05bc42f80a5e">
10 <!ENTITY guile-size "3.9 MB">
11 <!ENTITY guile-buildsize "47 MB (additional 40 MB to install all the docs)">
12 <!ENTITY guile-time "0.7 SBU">
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="optional"><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>./configure --prefix=/usr --enable-posix \
90 --disable-static --enable-networking --enable-regex &amp;&amp;
91make</userinput></screen>
92
93 <para>If you have <xref linkend="tetex"/> installed and wish to
94 build alternate formats of the documentation, issue the following
95 commands:</para>
96
97<screen><userinput>for DIRNAME in goops r5rs ref tutorial
98do
99 make -k -C doc/$DIRNAME pdf ps html
100done &amp;&amp;
101
102makeinfo --plaintext -o doc/goops/goops.txt doc/goops/goops.texi &amp;&amp;
103makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &amp;&amp;
104makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi &amp;&amp;
105makeinfo --plaintext -o doc/tutorial/guile-tut.txt \
106 doc/tutorial/guile-tut.texi &amp;&amp;
107
108unset DIRNAME</userinput></screen>
109
110 <para>To test the results, issue: <command>make check</command>.</para>
111
112 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
113
114<screen role="root"><userinput>make install &amp;&amp;
115
116find examples -name "Makefile*" -exec rm {} \; &amp;&amp;
117install -v -m755 -d /usr/share/doc/guile-&guile-version; &amp;&amp;
118cp -v -R examples /usr/share/doc/guile-&guile-version;</userinput></screen>
119
120 <para>If you built the alternate formats of the documentation, install them
121 using the following commands issued by the
122 <systemitem class="username">root</systemitem> user:</para>
123
124<screen role="root"><userinput>for DIRNAME in goops r5rs ref tutorial
125do
126 install -v -m755 -d /usr/share/doc/guile-&guile-version;/$DIRNAME/html
127 install -v -m644 doc/$DIRNAME/*.{pdf,ps,dvi,txt} \
128 /usr/share/doc/guile-&guile-version;/$DIRNAME
129 if [ -d doc/$DIRNAME/$DIRNAME.html ]; then
130 install -v -m644 doc/$DIRNAME/$DIRNAME.html/* \
131 /usr/share/doc/guile-&guile-version;/$DIRNAME/html
132 fi
133done &amp;&amp;
134
135install -v -m644 doc/goops/hierarchy.{eps,png} \
136 /usr/share/doc/guile-&guile-version;/goops &amp;&amp;
137install -v -m644 doc/ref/guile.html/* \
138 /usr/share/doc/guile-&guile-version;/ref/html &amp;&amp;
139install -v -m644 doc/tutorial/guile-tut.html/* \
140 /usr/share/doc/guile-&guile-version;/tutorial/html</userinput></screen>
141 </sect2>
142
143 <sect2 role="commands">
144 <title>Command Explanations</title>
145
146 <para><option>--enable-posix</option>: Enable Posix interfaces.</para>
147
148 <para><option>--enable-networking</option>: Enable networking interfaces.</para>
149
150 <para><option>--enable-regex</option>: Enable regular expression interfaces.</para>
151
152 </sect2>
153
154 <sect2 role="content">
155 <title>Contents</title>
156
157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
159 <segtitle>Installed Libraries</segtitle>
160 <segtitle>Installed Directories</segtitle>
161
162 <seglistitem>
163 <seg>guile, guile-config, guile-snarf, and guile-tools</seg>
164 <seg>libguile.{so,a}, libguile-srfi-srfi-*.{so,a} and
165 /libguilereadline-v-17.{so,a}</seg>
166 <seg>/usr/include/guile, /usr/include/libguile,
167 /usr/share/doc/guile-&guile-version; and /usr/share/guile</seg>
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>
179 <para>is a stand-alone Scheme interpreter for
180 <application>Guile</application>.</para>
181 <indexterm zone="guile guile-prog">
182 <primary sortas="b-guile">guile</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 <varlistentry id="guile-config">
188 <term><command>guile-config</command></term>
189 <listitem>
190 <para>is a <application>Guile</application> script which provides
191 the information necessary to link your programs against the
192 <application>Guile</application> library, in much the same way
193 PkgConfig does.</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>is a script to parse declarations in your
204 <application>C</application> code for <application>Scheme</application>
205 visible <application>C</application> functions, i
206 <application>Scheme</application> objects to be used by
207 <application>C</application> code, etc.</para>
208 <indexterm zone="guile guile-snarf">
209 <primary sortas="b-guile-snarf">guile-snarf</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="guile-tools">
215 <term><command>guile-tools</command></term>
216 <listitem>
217 <para>is a wrapper program installed along with
218 <command>guile</command> which knows where a particular
219 module is installed and calls it passing its args to a program.</para>
220 <indexterm zone="guile guile-tools">
221 <primary sortas="b-guile-tools">guile-tools</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 </variablelist>
227
228 </sect2>
229
230</sect1>
Note: See TracBrowser for help on using the repository browser.