source: general/prog/guile.xml@ 8f437ed

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

Tweaks to guile instructions

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

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