[61a7ee8] | 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 |
|
---|
[12180381] | 7 | <!ENTITY guile-download-http "http://ftp.gnu.org/pub/gnu/guile/guile-&guile-version;.tar.gz">
|
---|
[60a3d169] | 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 "37.4 MB (additional 32 MB to install all the docs)">
|
---|
| 12 | <!ENTITY guile-time "0.9 SBU">
|
---|
[61a7ee8] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="guile" xreflabel="Guile-&guile-version;">
|
---|
| 16 | <?dbhtml filename="guile.html"?>
|
---|
[12180381] | 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[256ee72c] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">guile-&guile-version;.tar</keyword>
|
---|
[22ac237] | 23 | <keyword role="ftpdir">guile</keyword>
|
---|
[256ee72c] | 24 | </keywordset>
|
---|
[12180381] | 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
|
---|
[60a3d169] | 37 | GNU's extension language library. <application>Guile</application> also
|
---|
| 38 | contains a stand alone <application>Scheme</application> interpreter.</para>
|
---|
[12180381] | 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 |
|
---|
[8784b61f] | 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>
|
---|
[eef5b7e9] | 68 | <listitem>
|
---|
| 69 | <para>Required patch: <ulink
|
---|
| 70 | url="&patch-root;/guile-&guile-version;-slib_3a2-1.patch"/></para>
|
---|
| 71 | </listitem>
|
---|
[8784b61f] | 72 | </itemizedlist>
|
---|
| 73 |
|
---|
[60a3d169] | 74 | <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
|
---|
[6473e74] | 75 |
|
---|
[60a3d169] | 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 77 | <para role="required"><xref linkend="tex"/></para>
|
---|
| 78 |
|
---|
[12180381] | 79 | </sect2>
|
---|
| 80 |
|
---|
| 81 | <sect2 role="installation">
|
---|
| 82 | <title>Installation of Guile</title>
|
---|
| 83 |
|
---|
| 84 | <para>Install <application>Guile</application> by running the following
|
---|
| 85 | commands:</para>
|
---|
| 86 |
|
---|
[8784b61f] | 87 | <screen><userinput>patch -Np1 -i ../guile-&guile-version;-gcc4-1.patch &&
|
---|
[eef5b7e9] | 88 | patch -Np1 -i ../guile-&guile-version;-slib_3a2-1.patch &&
|
---|
[8784b61f] | 89 | ./configure --prefix=/usr &&
|
---|
[12180381] | 90 | make</userinput></screen>
|
---|
| 91 |
|
---|
[60a3d169] | 92 | <para>If you have <application>TeX</application> installed and wish to
|
---|
| 93 | build alternate formats of the documentation, issue the following
|
---|
| 94 | commands:</para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>for DIRNAME in goops r5rs ref tutorial
|
---|
| 97 | do
|
---|
| 98 | make -k -C doc/$DIRNAME pdf ps html
|
---|
| 99 | done &&
|
---|
| 100 | makeinfo --plaintext -o doc/goops/goops.txt doc/goops/goops.texi &&
|
---|
| 101 | makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
|
---|
| 102 | makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi &&
|
---|
| 103 | makeinfo --plaintext -o doc/tutorial/guile-tut.txt \
|
---|
| 104 | doc/tutorial/guile-tut.texi &&
|
---|
| 105 | unset DIRNAME</userinput></screen>
|
---|
| 106 |
|
---|
[40d6bab] | 107 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 108 |
|
---|
[12180381] | 109 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 110 |
|
---|
[60a3d169] | 111 | <screen role="root"><userinput>make install &&
|
---|
| 112 | find examples -name "Makefile*" -exec rm {} \; &&
|
---|
| 113 | install -v -m755 -d /usr/share/doc/guile-&guile-version; &&
|
---|
| 114 | cp -v -R examples /usr/share/doc/guile-&guile-version;</userinput></screen>
|
---|
| 115 |
|
---|
| 116 | <para>If you built the alternate formats of the documentation, install it
|
---|
| 117 | using the following commands issued by the
|
---|
| 118 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root"><userinput>for DIRNAME in goops r5rs ref tutorial
|
---|
| 121 | do
|
---|
| 122 | install -v -m755 -d /usr/share/doc/guile-&guile-version;/$DIRNAME/html
|
---|
| 123 | install -v -m644 doc/$DIRNAME/*.{pdf,ps,dvi,txt} \
|
---|
| 124 | /usr/share/doc/guile-&guile-version;/$DIRNAME
|
---|
| 125 | if [ -d doc/$DIRNAME/$DIRNAME.html ]; then
|
---|
| 126 | install -v -m644 doc/$DIRNAME/$DIRNAME.html/* \
|
---|
| 127 | /usr/share/doc/guile-&guile-version;/$DIRNAME/html
|
---|
| 128 | fi
|
---|
| 129 | done &&
|
---|
| 130 |
|
---|
| 131 | install -v -m644 doc/goops/hierarchy.{eps,png} \
|
---|
| 132 | /usr/share/doc/guile-&guile-version;/goops &&
|
---|
| 133 | install -v -m644 doc/ref/guile.html/* \
|
---|
| 134 | /usr/share/doc/guile-&guile-version;/ref/html &&
|
---|
| 135 | install -v -m644 doc/tutorial/guile-tut.html/* \
|
---|
| 136 | /usr/share/doc/guile-&guile-version;/tutorial/html</userinput></screen>
|
---|
[12180381] | 137 | </sect2>
|
---|
| 138 |
|
---|
| 139 | <sect2 role="content">
|
---|
| 140 | <title>Contents</title>
|
---|
| 141 |
|
---|
| 142 | <segmentedlist>
|
---|
| 143 | <segtitle>Installed Programs</segtitle>
|
---|
| 144 | <segtitle>Installed Libraries</segtitle>
|
---|
| 145 | <segtitle>Installed Directories</segtitle>
|
---|
| 146 |
|
---|
| 147 | <seglistitem>
|
---|
| 148 | <seg>guile, guile-config, guile-snarf, and guile-tools</seg>
|
---|
[7cd76d62] | 149 | <seg>libguile.[so,a], libguilereadline-v-12.[so,a], libguile-ltdl.[so,a],
|
---|
| 150 | libguile-srfi-srfi-13-14-v-1.[so,a], libguile-srfi-srfi-4-v-1.[so,a], and
|
---|
[12180381] | 151 | optionally, libqthreads.[so,a]</seg>
|
---|
[7cd76d62] | 152 | <seg>/usr/include/guile, /usr/include/guile-readline, /usr/include/libguile,
|
---|
[60a3d169] | 153 | /usr/share/doc/guile-&guile-version;, and /usr/share/guile</seg>
|
---|
[12180381] | 154 | </seglistitem>
|
---|
| 155 | </segmentedlist>
|
---|
| 156 |
|
---|
| 157 | <variablelist>
|
---|
| 158 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 159 | <?dbfo list-presentation="list"?>
|
---|
| 160 | <?dbhtml list-presentation="table"?>
|
---|
| 161 |
|
---|
| 162 | <varlistentry id="guile-prog">
|
---|
| 163 | <term><command>guile</command></term>
|
---|
| 164 | <listitem>
|
---|
[7cd76d62] | 165 | <para>is a stand-alone Scheme interpreter for
|
---|
[12180381] | 166 | <application>Guile</application>.</para>
|
---|
| 167 | <indexterm zone="guile guile-prog">
|
---|
| 168 | <primary sortas="b-guile">guile</primary>
|
---|
| 169 | </indexterm>
|
---|
| 170 | </listitem>
|
---|
| 171 | </varlistentry>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="guile-config">
|
---|
| 174 | <term><command>guile-config</command></term>
|
---|
| 175 | <listitem>
|
---|
[7cd76d62] | 176 | <para>is a <application>Guile</application> script which provides
|
---|
| 177 | the information necessary to link your programs against the
|
---|
| 178 | <application>Guile</application> library, in much the same way
|
---|
[12180381] | 179 | <xref linkend="pkgconfig"></xref> does.</para>
|
---|
| 180 | <indexterm zone="guile guile-config">
|
---|
| 181 | <primary sortas="b-guile-config">guile-config</primary>
|
---|
| 182 | </indexterm>
|
---|
| 183 | </listitem>
|
---|
| 184 | </varlistentry>
|
---|
| 185 |
|
---|
| 186 | <varlistentry id="guile-snarf">
|
---|
| 187 | <term><command>guile-snarf</command></term>
|
---|
| 188 | <listitem>
|
---|
[7cd76d62] | 189 | <para>is a script to parse declarations in your
|
---|
[0619e6d] | 190 | <application>C</application> code for <application>Scheme</application>
|
---|
[12180381] | 191 | visible <application>C</application> functions, i
|
---|
[7cd76d62] | 192 | <application>Scheme</application> objects to be used by
|
---|
[12180381] | 193 | <application>C</application> code, etc.</para>
|
---|
| 194 | <indexterm zone="guile guile-snarf">
|
---|
| 195 | <primary sortas="b-guile-snarf">guile-snarf</primary>
|
---|
| 196 | </indexterm>
|
---|
| 197 | </listitem>
|
---|
| 198 | </varlistentry>
|
---|
| 199 |
|
---|
| 200 | <varlistentry id="guile-tools">
|
---|
| 201 | <term><command>guile-tools</command></term>
|
---|
| 202 | <listitem>
|
---|
[7cd76d62] | 203 | <para>is a wrapper program installed along with
|
---|
| 204 | <command>guile</command> which knows where a particular
|
---|
[12180381] | 205 | module is installed and calls it passing its args to a program.</para>
|
---|
| 206 | <indexterm zone="guile guile-tools">
|
---|
| 207 | <primary sortas="b-guile-tools">guile-tools</primary>
|
---|
| 208 | </indexterm>
|
---|
| 209 | </listitem>
|
---|
| 210 | </varlistentry>
|
---|
| 211 |
|
---|
| 212 | </variablelist>
|
---|
| 213 |
|
---|
| 214 | </sect2>
|
---|
[61a7ee8] | 215 |
|
---|
| 216 | </sect1>
|
---|