source: general/prog/guile.xml@ dbede5d0

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 dbede5d0 was dbede5d0, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update to guile-2.0.3

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

  • Property mode set to 100644
File size: 7.7 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 "f8b511ad43bbda0a1cbb1c52ceeebdf7">
10 <!ENTITY guile-size "4 MB">
11 <!ENTITY guile-buildsize "128 MB">
12 <!ENTITY guile-time "7.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;-snarf-1.patch"/></para>
63 </listitem>
64 </itemizedlist>
65-->
66 <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
67
68 <bridgehead renderas="sect4">Required</bridgehead>
69 <para role="required"><xref linkend="gc"/></para>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="optional">
73 <xref linkend="emacs"/> and
74 <xref linkend="libunistring"/>
75 </para>
76
77 <para condition="html" role="usernotes">User Notes:
78 <ulink url="&blfs-wiki;/guile"/></para>
79
80 </sect2>
81
82 <sect2 role="installation">
83 <title>Installation of Guile</title>
84
85 <para>Install <application>Guile</application> by running the following
86 commands:</para>
87
88<screen><userinput>sed -i 's/gc_version.h/gc.h/' \
89 test-suite/standalone/test-pthread-create-secondary.c &amp;&amp;
90
91./configure --prefix=/usr &amp;&amp;
92make &amp;&amp;
93
94makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &amp;&amp;
95makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
96
97 <para>If you have <xref linkend="tetex"/> or <xref linkend="texlive"/>
98 installed and wish to build alternate formats (PDF and postscript) of the
99 documentation, issue the following commands:</para>
100
101<screen><userinput>for DIRNAME in r5rs ref
102do
103 make -k -C doc/${DIRNAME} pdf ps
104done &amp;&amp;
105unset DIRNAME</userinput></screen>
106
107 <para>To test the results, issue: <command>make check</command>.</para>
108
109 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
110
111<screen role="root"><userinput>make install &amp;&amp;
112
113find examples -name "Makefile*" -exec rm {} \; &amp;&amp;
114install -v -m755 -d /usr/share/doc/guile-&guile-version; &amp;&amp;
115cp -vR examples /usr/share/doc/guile-&guile-version; &amp;&amp;
116
117for DIRNAME in r5rs ref
118do
119 install -v -m755 -d /usr/share/doc/guile-&guile-version;/${DIRNAME} &amp;&amp;
120 install -v -m644 doc/${DIRNAME}/*.txt \
121 /usr/share/doc/guile-&guile-version;/${DIRNAME} &amp;&amp;
122 if [ -d doc/${DIRNAME}/${DIRNAME}.html ]; then
123 cp -v -R doc/${DIRNAME}/${DIRNAME}.html \
124 /usr/share/doc/guile-&guile-version;/${DIRNAME}
125 fi
126done &amp;&amp;
127
128cp -v -R doc/ref/guile.html /usr/share/doc/guile-&guile-version;/ref</userinput></screen>
129
130 <para>If you built the alternate formats of the documentation, install them
131 using the following commands issued by the
132 <systemitem class="username">root</systemitem> user:</para>
133
134<screen role="root"><userinput>for DIRNAME in r5rs ref
135do
136 install -v -m644 doc/${DIRNAME}/*.{pdf,ps,dvi} \
137 /usr/share/doc/guile-&guile-version;/${DIRNAME}
138done</userinput></screen>
139
140 </sect2>
141 <sect2 role="commands">
142 <title>Command Explanations</title>
143
144 <para><userinput>sed -i 's/gc_version.h/gc.h/' test-suite/...-secondary.c</userinput>:
145 This command corrects an error that prevents the test suite from running.</para>
146
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Programs</segtitle>
154 <segtitle>Installed Libraries</segtitle>
155 <segtitle>Installed Directories</segtitle>
156
157 <seglistitem>
158 <seg>guild, guile, guile-config, guile-snarf, and guile-tools</seg>
159 <seg>libguile-2.0.{so,a} and /libguilereadline-v-18.{so,a}</seg>
160 <seg>/usr/include/guile, /usr/lib/guild,
161 /usr/share/doc/guile-&guile-version; and /usr/share/guile</seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="guile-prog">
171 <term><command>guile</command></term>
172 <listitem>
173 <para>is a stand-alone Scheme interpreter for
174 <application>Guile</application>.</para>
175 <indexterm zone="guile guile-prog">
176 <primary sortas="b-guile">guile</primary>
177 </indexterm>
178 </listitem>
179 </varlistentry>
180
181 <varlistentry id="guile-config">
182 <term><command>guile-config</command></term>
183 <listitem>
184 <para>is a <application>Guile</application> script which provides
185 the information necessary to link your programs against the
186 <application>Guile</application> library, in much the same way
187 PkgConfig does.</para>
188 <indexterm zone="guile guile-config">
189 <primary sortas="b-guile-config">guile-config</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 <varlistentry id="guile-snarf">
195 <term><command>guile-snarf</command></term>
196 <listitem>
197 <para>is a script to parse declarations in your
198 <application>C</application> code for <application>Scheme</application>
199 visible <application>C</application> functions, i
200 <application>Scheme</application> objects to be used by
201 <application>C</application> code, etc.</para>
202 <indexterm zone="guile guile-snarf">
203 <primary sortas="b-guile-snarf">guile-snarf</primary>
204 </indexterm>
205 </listitem>
206 </varlistentry>
207
208 <varlistentry id="guile-tools">
209 <term><command>guile-tools</command></term>
210 <listitem>
211 <para>is a wrapper program installed along with
212 <command>guile</command> which knows where a particular
213 module is installed and calls it passing its args to a program.</para>
214 <indexterm zone="guile guile-tools">
215 <primary sortas="b-guile-tools">guile-tools</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 </variablelist>
221
222 </sect2>
223
224</sect1>
Note: See TracBrowser for help on using the repository browser.