source: general/prog/guile.xml@ 00cbc797

lazarus
Last change on this file since 00cbc797 was 3166e3c, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Tags

  • Property mode set to 100644
File size: 7.7 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">
[02eb236]9 <!ENTITY guile-md5sum "eb7d26dae3a2fc85a36511a68d76f7d1">
[2e542e2]10 <!ENTITY guile-size "13 MB">
11 <!ENTITY guile-buildsize "202 MB (add 4 MB for tests)">
[02eb236]12 <!ENTITY guile-time "1.8 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
[3166e3c]37 &lfs110a_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
[60f5b560]95 <para>
96 First, fix a build failure with glibc-2.34 installed:
97 </para>
98
99<screen><userinput remap="pre">sed -e 's/#ifndef __attribute_maybe_unused__//' \
100 -e '174d' \
101 -i lib/libc-config.h</userinput></screen>
102
[e1030e21]103 <para>
104 Install <application>Guile</application> by running the following
105 commands:
106 </para>
[a367fbc]107
[92245989]108<screen><userinput>./configure --prefix=/usr \
[0ee2aa3]109 --disable-static \
110 --docdir=/usr/share/doc/guile-&guile-version; &amp;&amp;
[4890200]111make &amp;&amp;
[e1030e21]112make html &amp;&amp;
[a367fbc]113
[4890200]114makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &amp;&amp;
115makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
[12180381]116
[e1030e21]117 <para>
[47888b9]118 To test the results, issue: <command>./check-guile</command>.
[e1030e21]119 </para>
[6aa4b2e8]120 <!-- 10 of the numbers tests fail on i686. This should probably be looked
121 into at a later point in time. -renodr -->
[40d6bab]122
[e1030e21]123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
[12180381]126
[0ee2aa3]127<screen role="root"><userinput>make install &amp;&amp;
128make install-html &amp;&amp;
129
[db7e804]130mkdir -p /usr/share/gdb/auto-load/usr/lib &amp;&amp;
[a1446bf]131mv /usr/lib/libguile-*-gdb.scm /usr/share/gdb/auto-load/usr/lib &amp;&amp;
[0ee2aa3]132mv /usr/share/doc/guile-&guile-version;/{guile.html,ref} &amp;&amp;
133mv /usr/share/doc/guile-&guile-version;/r5rs{.html,} &amp;&amp;
[0461254]134
[a1446bf]135find examples -name "Makefile*" -delete &amp;&amp;
[0ee2aa3]136cp -vR examples /usr/share/doc/guile-&guile-version; &amp;&amp;
[dcd55b37]137
[ec7940be]138for DIRNAME in r5rs ref; do
[4890200]139 install -v -m644 doc/${DIRNAME}/*.txt \
140 /usr/share/doc/guile-&guile-version;/${DIRNAME}
[0ee2aa3]141done &amp;&amp;
142unset DIRNAME</userinput></screen>
[d5595a31]143
144 </sect2>
145
146 <sect2 role="commands">
147 <title>Command Explanations</title>
148
149 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
150 href="../../xincludes/static-libraries.xml"/>
151
[dbede5d0]152 </sect2>
[dcd55b37]153
[12180381]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>
[b24bfef]163 <seg>
164 guild, guile, guile-config, guile-snarf and guile-tools
165 </seg>
166 <seg>
[db7e804]167 libguile-3.0.so and guile-readline.so
[b24bfef]168 </seg>
169 <seg>
170 /usr/include/guile,
[4890200]171 /usr/lib/guile,
172 /usr/share/doc/guile-&guile-version; and
[b24bfef]173 /usr/share/guile
174 </seg>
[12180381]175 </seglistitem>
176 </segmentedlist>
177
178 <variablelist>
179 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
180 <?dbfo list-presentation="list"?>
181 <?dbhtml list-presentation="table"?>
182
183 <varlistentry id="guile-prog">
184 <term><command>guile</command></term>
185 <listitem>
[e1030e21]186 <para>
187 is a stand-alone Scheme interpreter for
[4c24eb0a]188 <application>Guile</application>
[e1030e21]189 </para>
[12180381]190 <indexterm zone="guile guile-prog">
191 <primary sortas="b-guile">guile</primary>
192 </indexterm>
193 </listitem>
194 </varlistentry>
195
196 <varlistentry id="guile-config">
197 <term><command>guile-config</command></term>
198 <listitem>
[e1030e21]199 <para>
200 is a <application>Guile</application> script which provides the
201 information necessary to link your programs against the
202 <application>Guile</application> library, in much the same way
[4c24eb0a]203 PkgConfig does
[e1030e21]204 </para>
[12180381]205 <indexterm zone="guile guile-config">
206 <primary sortas="b-guile-config">guile-config</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="guile-snarf">
212 <term><command>guile-snarf</command></term>
213 <listitem>
[e1030e21]214 <para>
215 is a script to parse declarations in your
216 <application>C</application> code for
217 <application>Scheme</application> visible
[4c24eb0a]218 <application>C</application> functions
[e1030e21]219 </para>
[12180381]220 <indexterm zone="guile guile-snarf">
221 <primary sortas="b-guile-snarf">guile-snarf</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
[e1030e21]226 <varlistentry id="guild">
227 <term><command>guild</command></term>
228 <listitem>
229 <para>
[601a838]230 is a wrapper program installed along with <command>guile</command>,
[e1030e21]231 which knows where a particular module is installed and calls it,
[4c24eb0a]232 passing its arguments to the program
[e1030e21]233 </para>
234 <indexterm zone="guile guild">
235 <primary sortas="b-guild">guild</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
[12180381]240 <varlistentry id="guile-tools">
241 <term><command>guile-tools</command></term>
242 <listitem>
[e1030e21]243 <para>
[4c24eb0a]244 is a symlink to <command>guild</command>
[e1030e21]245 </para>
[12180381]246 <indexterm zone="guile guile-tools">
247 <primary sortas="b-guile-tools">guile-tools</primary>
248 </indexterm>
249 </listitem>
250 </varlistentry>
[b24bfef]251
[12180381]252 </variablelist>
[b24bfef]253
[12180381]254 </sect2>
[b24bfef]255
[61a7ee8]256</sect1>
Note: See TracBrowser for help on using the repository browser.