source: general/prog/guile.xml@ 0045775

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 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 0045775 was 0045775, checked in by Randy McMurchy <randy@…>, 18 years ago

Downgraded to Guile-1.6.7 and G-Wrap-1.3.4 and modified the SLIB instructions to work with the downgraded packages; these changes are to support GnuCash which will not work with the more recent versions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5875 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.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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 "c2ff2a2231f0cbb2e838dd8701a587c5">
10 <!ENTITY guile-size "3.0 MB">
11 <!ENTITY guile-buildsize "39.6 MB (additional 32.2 MB to install all the docs)">
12 <!ENTITY guile-time "1.1 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 <keywordset>
22 <keyword role="package">guile-&guile-version;.tar</keyword>
23 <keyword role="ftpdir">guile</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>Guile-&guile-version;</title>
28
29 <indexterm zone="guile">
30 <primary sortas="a-Guile">Guile</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Guile</title>
35
36 <para>The <application>Guile</application> package contains the Project
37 GNU's extension language library. <application>Guile</application> also
38 contains a stand alone <application>Scheme</application> interpreter.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&guile-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&guile-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &guile-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &guile-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &guile-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &guile-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>Required patch: <ulink
66 url="&patch-root;/guile-&guile-version;-gcc4-1.patch"/></para>
67 </listitem>
68 <listitem>
69 <para>Required patch: <ulink
70 url="&patch-root;/guile-&guile-version;-slib-1.patch"/></para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
75
76 <!--
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required"><xref linkend="gmp"/></para>
79 -->
80
81 <bridgehead renderas="sect4">Optional</bridgehead>
82 <para role="required"><xref linkend="emacs"/></para>
83
84 <para condition="html" role="usernotes">User Notes:
85 <ulink url="&blfs-wiki;/guile"/></para>
86
87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of Guile</title>
91
92 <para>Install <application>Guile</application> by running the following
93 commands:</para>
94
95<screen><userinput>patch -Np1 -i ../guile-&guile-version;-gcc4-1.patch &amp;&amp;
96patch -Np1 -i ../guile-&guile-version;-slib-1.patch &amp;&amp;
97./configure --prefix=/usr --with-threads &amp;&amp;
98make</userinput></screen>
99
100 <para>If you have <application>TeX</application> installed and wish to
101 build alternate formats of the documentation, issue the following
102 commands:</para>
103
104<screen><userinput>for DIRNAME in goops r5rs ref tutorial
105do
106 make -k -C doc/$DIRNAME pdf ps html
107done &amp;&amp;
108makeinfo --plaintext -o doc/goops/goops.txt doc/goops/goops.texi &amp;&amp;
109makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &amp;&amp;
110makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi &amp;&amp;
111makeinfo --plaintext -o doc/tutorial/guile-tut.txt \
112 doc/tutorial/guile-tut.texi &amp;&amp;
113unset DIRNAME</userinput></screen>
114
115 <para>To test the results, issue: <command>make check</command>.</para>
116
117 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
118
119<screen role="root"><userinput>make install &amp;&amp;
120find examples -name "Makefile*" -exec rm {} \; &amp;&amp;
121install -v -m755 -d /usr/share/doc/guile-&guile-version; &amp;&amp;
122cp -v -R examples /usr/share/doc/guile-&guile-version;</userinput></screen>
123
124 <para>If you built the alternate formats of the documentation, install it
125 using the following commands issued by the
126 <systemitem class="username">root</systemitem> user:</para>
127
128<screen role="root"><userinput>for DIRNAME in goops r5rs ref tutorial
129do
130 install -v -m755 -d /usr/share/doc/guile-&guile-version;/$DIRNAME/html
131 install -v -m644 doc/$DIRNAME/*.{pdf,ps,dvi,txt} \
132 /usr/share/doc/guile-&guile-version;/$DIRNAME
133 if [ -d doc/$DIRNAME/$DIRNAME.html ]; then
134 install -v -m644 doc/$DIRNAME/$DIRNAME.html/* \
135 /usr/share/doc/guile-&guile-version;/$DIRNAME/html
136 fi
137done &amp;&amp;
138
139install -v -m644 doc/goops/hierarchy.{eps,png} \
140 /usr/share/doc/guile-&guile-version;/goops &amp;&amp;
141install -v -m644 doc/ref/guile.html/* \
142 /usr/share/doc/guile-&guile-version;/ref/html &amp;&amp;
143install -v -m644 doc/tutorial/guile-tut.html/* \
144 /usr/share/doc/guile-&guile-version;/tutorial/html</userinput></screen>
145 </sect2>
146
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>
156 <seg>guile, guile-config, guile-snarf, and guile-tools</seg>
157 <seg>libguile-ltdl.{so,a}, libguile-srfi-srfi-13-14-v-1.{so,a},
158 libguile-srfi-srfi-4-v-1.{so,a}, libguile.{so,a},
159 /libguilereadline-v-12.{so,a} and libqthreads.{so,a}</seg>
160 <!-- <seg>libguile.{so,a}, libguilereadline-v-17.{so,a},
161 libguile-srfi-srfi-13-14-v-3.{so,a}, libguile-srfi-srfi-1-v-3.{so,a},
162 libguile-srfi-srfi-4-v-3.{so,a} and
163 libguile-srfi-srfi-60-v-2.{so,a}</seg>-->
164 <seg>/usr/include/guile, /usr/include/libguile,
165 /usr/share/doc/guile-&guile-version; and /usr/share/guile</seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="guile-prog">
175 <term><command>guile</command></term>
176 <listitem>
177 <para>is a stand-alone Scheme interpreter for
178 <application>Guile</application>.</para>
179 <indexterm zone="guile guile-prog">
180 <primary sortas="b-guile">guile</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="guile-config">
186 <term><command>guile-config</command></term>
187 <listitem>
188 <para>is a <application>Guile</application> script which provides
189 the information necessary to link your programs against the
190 <application>Guile</application> library, in much the same way
191 <xref linkend="pkgconfig"></xref> does.</para>
192 <indexterm zone="guile guile-config">
193 <primary sortas="b-guile-config">guile-config</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 <varlistentry id="guile-snarf">
199 <term><command>guile-snarf</command></term>
200 <listitem>
201 <para>is a script to parse declarations in your
202 <application>C</application> code for <application>Scheme</application>
203 visible <application>C</application> functions, i
204 <application>Scheme</application> objects to be used by
205 <application>C</application> code, etc.</para>
206 <indexterm zone="guile guile-snarf">
207 <primary sortas="b-guile-snarf">guile-snarf</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="guile-tools">
213 <term><command>guile-tools</command></term>
214 <listitem>
215 <para>is a wrapper program installed along with
216 <command>guile</command> which knows where a particular
217 module is installed and calls it passing its args to a program.</para>
218 <indexterm zone="guile guile-tools">
219 <primary sortas="b-guile-tools">guile-tools</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 </variablelist>
225
226 </sect2>
227
228</sect1>
Note: See TracBrowser for help on using the repository browser.