1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.3/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-size "2.8 MB">
|
---|
10 | <!ENTITY guile-buildsize "30 MB">
|
---|
11 | <!ENTITY guile-time "0.79 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="guile" xreflabel="Guile-&guile-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="guile.html"?>
|
---|
20 | <title>Guile-&guile-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application>Guile</application></title>
|
---|
24 |
|
---|
25 | <para>The <application>Guile</application> package contains the Project
|
---|
26 | <acronym>GNU</acronym>'s extension language library.
|
---|
27 | <application>Guile</application> also contains a stand alone
|
---|
28 | <application>Scheme</application> interpreter.</para>
|
---|
29 |
|
---|
30 | <sect3><title>Package information</title>
|
---|
31 | <itemizedlist spacing='compact'>
|
---|
32 | <listitem><para>Download (HTTP): <ulink
|
---|
33 | url="&guile-download-http;"/></para></listitem>
|
---|
34 | <listitem><para>Download (FTP): <ulink
|
---|
35 | url="&guile-download-ftp;"/></para></listitem>
|
---|
36 | <listitem><para>Download size: &guile-size;</para></listitem>
|
---|
37 | <listitem><para>Estimated Disk space required:
|
---|
38 | &guile-buildsize;</para></listitem>
|
---|
39 | <listitem><para>Estimated build time:
|
---|
40 | &guile-time;</para></listitem></itemizedlist>
|
---|
41 | </sect3>
|
---|
42 |
|
---|
43 | <sect3><title>Additional downloads</title>
|
---|
44 | <itemizedlist spacing='compact'>
|
---|
45 | <listitem><para>Required Patch (if building the HTML Reference Guide): <ulink
|
---|
46 | url="&patch-root;/guile-&guile-version;-fhs_docs-1.patch"/></para></listitem>
|
---|
47 | </itemizedlist>
|
---|
48 | </sect3>
|
---|
49 |
|
---|
50 | <sect3><title><application>Guile</application> dependencies</title>
|
---|
51 | <sect4><title>Optional</title>
|
---|
52 | <itemizedlist spacing='compact'>
|
---|
53 | <listitem><para><xref linkend="pst-typesetting-tex"/></para></listitem>
|
---|
54 | </itemizedlist></sect4>
|
---|
55 | </sect3>
|
---|
56 |
|
---|
57 | </sect2>
|
---|
58 |
|
---|
59 | <sect2>
|
---|
60 | <title>Installation of <application>Guile</application></title>
|
---|
61 |
|
---|
62 | <para>Install <application>Guile</application> by running the following
|
---|
63 | commands:</para>
|
---|
64 |
|
---|
65 | <screen><userinput><command>patch -Np1 -i ../guile-&guile-version;-fhs_docs-1.patch &&
|
---|
66 | ./configure --prefix=/usr &&
|
---|
67 | make &&
|
---|
68 | sed -i -e "s/&guile-version;/1.6/" guile-tools &&
|
---|
69 | make install</command></userinput></screen>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2><title>Command Explanations</title>
|
---|
74 | <para><command>sed -i -e "s/1.6.4/1.6/" guile-tools</command>: Imbedded in the
|
---|
75 | <command>guile-tools</command> script is an incorrect path to the
|
---|
76 | <application>Guile</application> scripts and modules. This command installs the
|
---|
77 | correct path.</para>
|
---|
78 | </sect2>
|
---|
79 |
|
---|
80 | <sect2>
|
---|
81 | <title>Contents</title>
|
---|
82 |
|
---|
83 | <para>In addition to the <filename class='libraryfile'>libguile</filename>
|
---|
84 | libraries, the <application>Guile</application> package contains
|
---|
85 | <command>guile</command>,
|
---|
86 | <command>guile-config</command>,
|
---|
87 | <command>guile-snarf</command> and
|
---|
88 | <command>guile-tools</command>.
|
---|
89 | </para>
|
---|
90 |
|
---|
91 | </sect2>
|
---|
92 |
|
---|
93 | <sect2><title>Description</title>
|
---|
94 |
|
---|
95 | <sect3><title>guile</title>
|
---|
96 | <para><command>guile</command> is a stand-alone Scheme interpreter for
|
---|
97 | <application>Guile</application>.</para></sect3>
|
---|
98 |
|
---|
99 | <sect3><title>guile-config</title>
|
---|
100 | <para><command>guile-config</command> is a <application>Guile</application>
|
---|
101 | script which provides the information necessary to link your programs against
|
---|
102 | the <application>Guile</application> library, in much the same way
|
---|
103 | <xref linkend="pkgconfig"></xref> does.</para></sect3>
|
---|
104 |
|
---|
105 | <sect3><title>guile-snarf</title>
|
---|
106 | <para><command>guile-snarf</command> is a script to parse declarations in
|
---|
107 | your <application>C</application> code for <application>Scheme</application>
|
---|
108 | visible <application>C</application> functions,
|
---|
109 | <application>Scheme</application> objects to be used by
|
---|
110 | <application>C</application> code, etc.</para></sect3>
|
---|
111 |
|
---|
112 | <sect3><title>guile-tools</title>
|
---|
113 | <para><command>guile-tools</command> is a wrapper program installed along with
|
---|
114 | <command>guile</command> which knows where a particular module is installed and
|
---|
115 | calls it passing its args to a program.</para></sect3>
|
---|
116 |
|
---|
117 | </sect2>
|
---|
118 |
|
---|
119 | </sect1>
|
---|
120 |
|
---|