source: general/prog/guile.xml@ 27d0323

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

Remove tetex

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