[61a7ee8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[61a7ee8] | 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">
|
---|
[f8508a0] | 9 | <!ENTITY guile-md5sum "991b5b3efcbbc3f7507d05bc42f80a5e">
|
---|
| 10 | <!ENTITY guile-size "3.9 MB">
|
---|
[a367fbc] | 11 | <!ENTITY guile-buildsize "47 MB (additional 50 MB to install all the docs)">
|
---|
| 12 | <!ENTITY guile-time "1.2 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>
|
---|
| 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
|
---|
[60a3d169] | 33 | GNU's extension language library. <application>Guile</application> also
|
---|
| 34 | contains a stand alone <application>Scheme</application> interpreter.</para>
|
---|
[12180381] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&guile-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&guile-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &guile-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &guile-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &guile-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &guile-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
| 57 |
|
---|
[dcd55b37] | 58 | <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[8784b61f] | 59 | <itemizedlist spacing="compact">
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>Required patch: <ulink
|
---|
| 62 | url="&patch-root;/guile-&guile-version;-gcc4-1.patch"/></para>
|
---|
| 63 | </listitem>
|
---|
[eef5b7e9] | 64 | <listitem>
|
---|
| 65 | <para>Required patch: <ulink
|
---|
[0045775] | 66 | url="&patch-root;/guile-&guile-version;-slib-1.patch"/></para>
|
---|
[eef5b7e9] | 67 | </listitem>
|
---|
[dcd55b37] | 68 | </itemizedlist> -->
|
---|
[8784b61f] | 69 |
|
---|
[60a3d169] | 70 | <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
|
---|
[6473e74] | 71 |
|
---|
[e444c076] | 72 | <!-- <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 73 | <para role="required"><xref linkend="gmp"/></para> -->
|
---|
[11dbeb1e] | 74 |
|
---|
[60a3d169] | 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[c90e836] | 76 | <para role="optional"><xref linkend="emacs"/></para>
|
---|
[60a3d169] | 77 |
|
---|
[1039de3] | 78 | <para condition="html" role="usernotes">User Notes:
|
---|
| 79 | <ulink url="&blfs-wiki;/guile"/></para>
|
---|
| 80 |
|
---|
[12180381] | 81 | </sect2>
|
---|
| 82 |
|
---|
| 83 | <sect2 role="installation">
|
---|
| 84 | <title>Installation of Guile</title>
|
---|
| 85 |
|
---|
| 86 | <para>Install <application>Guile</application> by running the following
|
---|
| 87 | commands:</para>
|
---|
| 88 |
|
---|
[a367fbc] | 89 | <!-- <screen><userinput>./configure -prefix=/usr -enable-posix \
|
---|
| 90 | -disable-static -enable-networking -enable-regex &&
|
---|
| 91 | make</userinput></screen> -->
|
---|
| 92 |
|
---|
| 93 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 94 | make &&
|
---|
| 95 |
|
---|
| 96 | makeinfo --plaintext -o doc/goops/goops.txt doc/goops/goops.texi &&
|
---|
| 97 | makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
|
---|
| 98 | makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi &&
|
---|
| 99 | makeinfo --plaintext -o doc/tutorial/guile-tut.txt \
|
---|
| 100 | doc/tutorial/guile-tut.texi</userinput></screen>
|
---|
[12180381] | 101 |
|
---|
[dcd55b37] | 102 | <para>If you have <xref linkend="tetex"/> installed and wish to
|
---|
[60a3d169] | 103 | build alternate formats of the documentation, issue the following
|
---|
| 104 | commands:</para>
|
---|
| 105 |
|
---|
| 106 | <screen><userinput>for DIRNAME in goops r5rs ref tutorial
|
---|
| 107 | do
|
---|
| 108 | make -k -C doc/$DIRNAME pdf ps html
|
---|
| 109 | done &&
|
---|
| 110 | unset DIRNAME</userinput></screen>
|
---|
| 111 |
|
---|
[40d6bab] | 112 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 113 |
|
---|
[12180381] | 114 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 115 |
|
---|
[60a3d169] | 116 | <screen role="root"><userinput>make install &&
|
---|
[dcd55b37] | 117 |
|
---|
[60a3d169] | 118 | find examples -name "Makefile*" -exec rm {} \; &&
|
---|
| 119 | install -v -m755 -d /usr/share/doc/guile-&guile-version; &&
|
---|
[a367fbc] | 120 | cp -v -R examples /usr/share/doc/guile-&guile-version; &&
|
---|
| 121 |
|
---|
| 122 | for DIRNAME in goops r5rs ref tutorial
|
---|
| 123 | do
|
---|
| 124 | install -v -m755 -d /usr/share/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}/$DIRNAME &&
|
---|
| 125 | install -v -m644 doc/$DIRNAME/*.txt \
|
---|
[e18e5de] | 126 | /usr/share/doc/${PACKAGE_NAME}-${PACKAGE_VERSION}/$DIRNAME
|
---|
[a367fbc] | 127 | done &&
|
---|
| 128 | unset DIRNAME</userinput></screen>
|
---|
[60a3d169] | 129 |
|
---|
[dcd55b37] | 130 | <para>If you built the alternate formats of the documentation, install them
|
---|
[60a3d169] | 131 | using the following commands issued by the
|
---|
| 132 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 133 |
|
---|
| 134 | <screen role="root"><userinput>for DIRNAME in goops r5rs ref tutorial
|
---|
| 135 | do
|
---|
[a367fbc] | 136 | install -v -m755 -d /usr/share/doc/guile-&guile-version;/$DIRNAME/html &&
|
---|
| 137 | install -v -m644 doc/$DIRNAME/*.{pdf,ps,dvi} \
|
---|
| 138 | /usr/share/doc/guile-&guile-version;/$DIRNAME &&
|
---|
| 139 | if [ -d doc/$DIRNAME/$DIRNAME.html ]; then
|
---|
| 140 | install -v -m644 doc/$DIRNAME/$DIRNAME.html/* \
|
---|
[e18e5de] | 141 | /usr/share/doc/guile-&guile-version;/$DIRNAME/html
|
---|
[60a3d169] | 142 | fi
|
---|
| 143 | done &&
|
---|
| 144 |
|
---|
| 145 | install -v -m644 doc/goops/hierarchy.{eps,png} \
|
---|
[a367fbc] | 146 | /usr/share/doc/guile-&guile-version;/goops &&
|
---|
[60a3d169] | 147 | install -v -m644 doc/ref/guile.html/* \
|
---|
[a367fbc] | 148 | /usr/share/doc/guile-&guile-version;/ref/html &&
|
---|
[60a3d169] | 149 | install -v -m644 doc/tutorial/guile-tut.html/* \
|
---|
[a367fbc] | 150 | /usr/share/doc/guile-&guile-version;/tutorial/html</userinput></screen>
|
---|
[12180381] | 151 | </sect2>
|
---|
| 152 |
|
---|
[a367fbc] | 153 | <!-- Commenting these out (as well as the actual build command) because they
|
---|
| 154 | are the default. Examine configure.(ac,in) and you will see that if not
|
---|
| 155 | specified, all 3 of these options are enabled by default.
|
---|
[dcd55b37] | 156 | <sect2 role="commands">
|
---|
| 157 | <title>Command Explanations</title>
|
---|
| 158 |
|
---|
[a367fbc] | 159 | <para><option>-enable-posix</option>: Enable Posix interfaces.</para>
|
---|
[f8508a0] | 160 |
|
---|
[a367fbc] | 161 | <para><option>-enable-networking</option>: Enable networking interfaces.</para>
|
---|
[f8508a0] | 162 |
|
---|
[a41f643] | 163 | <para><option>-enable-regex</option>: Enable regular expression interfaces.</para>
|
---|
[dcd55b37] | 164 |
|
---|
| 165 | </sect2>
|
---|
[a367fbc] | 166 | -->
|
---|
[dcd55b37] | 167 |
|
---|
[12180381] | 168 | <sect2 role="content">
|
---|
| 169 | <title>Contents</title>
|
---|
| 170 |
|
---|
| 171 | <segmentedlist>
|
---|
| 172 | <segtitle>Installed Programs</segtitle>
|
---|
| 173 | <segtitle>Installed Libraries</segtitle>
|
---|
| 174 | <segtitle>Installed Directories</segtitle>
|
---|
| 175 |
|
---|
| 176 | <seglistitem>
|
---|
| 177 | <seg>guile, guile-config, guile-snarf, and guile-tools</seg>
|
---|
[dcd55b37] | 178 | <seg>libguile.{so,a}, libguile-srfi-srfi-*.{so,a} and
|
---|
| 179 | /libguilereadline-v-17.{so,a}</seg>
|
---|
[11dbeb1e] | 180 | <seg>/usr/include/guile, /usr/include/libguile,
|
---|
| 181 | /usr/share/doc/guile-&guile-version; and /usr/share/guile</seg>
|
---|
[12180381] | 182 | </seglistitem>
|
---|
| 183 | </segmentedlist>
|
---|
| 184 |
|
---|
| 185 | <variablelist>
|
---|
| 186 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 187 | <?dbfo list-presentation="list"?>
|
---|
| 188 | <?dbhtml list-presentation="table"?>
|
---|
| 189 |
|
---|
| 190 | <varlistentry id="guile-prog">
|
---|
| 191 | <term><command>guile</command></term>
|
---|
| 192 | <listitem>
|
---|
[7cd76d62] | 193 | <para>is a stand-alone Scheme interpreter for
|
---|
[12180381] | 194 | <application>Guile</application>.</para>
|
---|
| 195 | <indexterm zone="guile guile-prog">
|
---|
| 196 | <primary sortas="b-guile">guile</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | <varlistentry id="guile-config">
|
---|
| 202 | <term><command>guile-config</command></term>
|
---|
| 203 | <listitem>
|
---|
[7cd76d62] | 204 | <para>is a <application>Guile</application> script which provides
|
---|
| 205 | the information necessary to link your programs against the
|
---|
| 206 | <application>Guile</application> library, in much the same way
|
---|
[358241d1] | 207 | PkgConfig does.</para>
|
---|
[12180381] | 208 | <indexterm zone="guile guile-config">
|
---|
| 209 | <primary sortas="b-guile-config">guile-config</primary>
|
---|
| 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
| 214 | <varlistentry id="guile-snarf">
|
---|
| 215 | <term><command>guile-snarf</command></term>
|
---|
| 216 | <listitem>
|
---|
[7cd76d62] | 217 | <para>is a script to parse declarations in your
|
---|
[0619e6d] | 218 | <application>C</application> code for <application>Scheme</application>
|
---|
[12180381] | 219 | visible <application>C</application> functions, i
|
---|
[7cd76d62] | 220 | <application>Scheme</application> objects to be used by
|
---|
[12180381] | 221 | <application>C</application> code, etc.</para>
|
---|
| 222 | <indexterm zone="guile guile-snarf">
|
---|
| 223 | <primary sortas="b-guile-snarf">guile-snarf</primary>
|
---|
| 224 | </indexterm>
|
---|
| 225 | </listitem>
|
---|
| 226 | </varlistentry>
|
---|
| 227 |
|
---|
| 228 | <varlistentry id="guile-tools">
|
---|
| 229 | <term><command>guile-tools</command></term>
|
---|
| 230 | <listitem>
|
---|
[7cd76d62] | 231 | <para>is a wrapper program installed along with
|
---|
| 232 | <command>guile</command> which knows where a particular
|
---|
[12180381] | 233 | module is installed and calls it passing its args to a program.</para>
|
---|
| 234 | <indexterm zone="guile guile-tools">
|
---|
| 235 | <primary sortas="b-guile-tools">guile-tools</primary>
|
---|
| 236 | </indexterm>
|
---|
| 237 | </listitem>
|
---|
| 238 | </varlistentry>
|
---|
| 239 |
|
---|
| 240 | </variablelist>
|
---|
| 241 |
|
---|
| 242 | </sect2>
|
---|
[61a7ee8] | 243 |
|
---|
| 244 | </sect1>
|
---|