[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 |
|
---|
[6025fa54] | 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">
|
---|
[dbede5d0] | 9 | <!ENTITY guile-md5sum "f8b511ad43bbda0a1cbb1c52ceeebdf7">
|
---|
| 10 | <!ENTITY guile-size "4 MB">
|
---|
| 11 | <!ENTITY guile-buildsize "128 MB">
|
---|
| 12 | <!ENTITY guile-time "7.7 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 |
|
---|
[8f437ed] | 36 | &lfs70_checked;
|
---|
| 37 |
|
---|
[12180381] | 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>
|
---|
[dbede5d0] | 59 | <!--
|
---|
[590724d] | 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[8784b61f] | 61 | <itemizedlist spacing="compact">
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>Required patch: <ulink
|
---|
[590724d] | 64 | url="&patch-root;/guile-&guile-version;-snarf-1.patch"/></para>
|
---|
[8784b61f] | 65 | </listitem>
|
---|
[590724d] | 66 | </itemizedlist>
|
---|
[dbede5d0] | 67 | -->
|
---|
[60a3d169] | 68 | <bridgehead renderas="sect3">Guile Dependencies</bridgehead>
|
---|
[6473e74] | 69 |
|
---|
[dbede5d0] | 70 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[6025fa54] | 71 | <para role="required">
|
---|
| 72 | <xref linkend="gc"/> and
|
---|
| 73 | <xref linkend="libunistring"/>
|
---|
| 74 | </para>
|
---|
[11dbeb1e] | 75 |
|
---|
[60a3d169] | 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[dbede5d0] | 77 | <para role="optional">
|
---|
[6025fa54] | 78 | <xref linkend="emacs"/>
|
---|
[dbede5d0] | 79 | </para>
|
---|
[60a3d169] | 80 |
|
---|
[1039de3] | 81 | <para condition="html" role="usernotes">User Notes:
|
---|
| 82 | <ulink url="&blfs-wiki;/guile"/></para>
|
---|
| 83 |
|
---|
[12180381] | 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 |
|
---|
[dbede5d0] | 92 | <screen><userinput>sed -i 's/gc_version.h/gc.h/' \
|
---|
| 93 | test-suite/standalone/test-pthread-create-secondary.c &&
|
---|
[a367fbc] | 94 |
|
---|
[590724d] | 95 | ./configure --prefix=/usr &&
|
---|
[8f437ed] | 96 | make &&
|
---|
| 97 | make html &&
|
---|
[a367fbc] | 98 |
|
---|
| 99 | makeinfo --plaintext -o doc/r5rs/r5rs.txt doc/r5rs/r5rs.texi &&
|
---|
[dbede5d0] | 100 | makeinfo --plaintext -o doc/ref/guile.txt doc/ref/guile.texi</userinput></screen>
|
---|
[12180381] | 101 |
|
---|
[27d0323] | 102 | <para>If you have <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>
|
---|
[f1e103a] | 103 | installed and wish to build alternate formats (PDF and postscript) of the
|
---|
| 104 | documentation, issue the following commands:</para>
|
---|
[60a3d169] | 105 |
|
---|
[dbede5d0] | 106 | <screen><userinput>for DIRNAME in r5rs ref
|
---|
[60a3d169] | 107 | do
|
---|
[590724d] | 108 | make -k -C doc/${DIRNAME} pdf ps
|
---|
[60a3d169] | 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; &&
|
---|
[dbede5d0] | 120 | cp -vR examples /usr/share/doc/guile-&guile-version; &&
|
---|
[a367fbc] | 121 |
|
---|
[dbede5d0] | 122 | for DIRNAME in r5rs ref
|
---|
[a367fbc] | 123 | do
|
---|
[590724d] | 124 | install -v -m755 -d /usr/share/doc/guile-&guile-version;/${DIRNAME} &&
|
---|
| 125 | install -v -m644 doc/${DIRNAME}/*.txt \
|
---|
| 126 | /usr/share/doc/guile-&guile-version;/${DIRNAME} &&
|
---|
| 127 | if [ -d doc/${DIRNAME}/${DIRNAME}.html ]; then
|
---|
| 128 | cp -v -R doc/${DIRNAME}/${DIRNAME}.html \
|
---|
| 129 | /usr/share/doc/guile-&guile-version;/${DIRNAME}
|
---|
[3c22205] | 130 | fi
|
---|
[a367fbc] | 131 | done &&
|
---|
[590724d] | 132 |
|
---|
[dbede5d0] | 133 | cp -v -R doc/ref/guile.html /usr/share/doc/guile-&guile-version;/ref</userinput></screen>
|
---|
[60a3d169] | 134 |
|
---|
[dcd55b37] | 135 | <para>If you built the alternate formats of the documentation, install them
|
---|
[60a3d169] | 136 | using the following commands issued by the
|
---|
| 137 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 138 |
|
---|
[dbede5d0] | 139 | <screen role="root"><userinput>for DIRNAME in r5rs ref
|
---|
[60a3d169] | 140 | do
|
---|
[590724d] | 141 | install -v -m644 doc/${DIRNAME}/*.{pdf,ps,dvi} \
|
---|
| 142 | /usr/share/doc/guile-&guile-version;/${DIRNAME}
|
---|
| 143 | done</userinput></screen>
|
---|
[dcd55b37] | 144 |
|
---|
| 145 | </sect2>
|
---|
[dbede5d0] | 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>
|
---|
[dcd55b37] | 153 |
|
---|
[12180381] | 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>
|
---|
[dbede5d0] | 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,
|
---|
[11dbeb1e] | 166 | /usr/share/doc/guile-&guile-version; and /usr/share/guile</seg>
|
---|
[12180381] | 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>
|
---|
[7cd76d62] | 178 | <para>is a stand-alone Scheme interpreter for
|
---|
[12180381] | 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>
|
---|
[7cd76d62] | 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
|
---|
[358241d1] | 192 | PkgConfig does.</para>
|
---|
[12180381] | 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>
|
---|
[7cd76d62] | 202 | <para>is a script to parse declarations in your
|
---|
[0619e6d] | 203 | <application>C</application> code for <application>Scheme</application>
|
---|
[12180381] | 204 | visible <application>C</application> functions, i
|
---|
[7cd76d62] | 205 | <application>Scheme</application> objects to be used by
|
---|
[12180381] | 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>
|
---|
[7cd76d62] | 216 | <para>is a wrapper program installed along with
|
---|
| 217 | <command>guile</command> which knows where a particular
|
---|
[12180381] | 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>
|
---|
[61a7ee8] | 228 |
|
---|
| 229 | </sect1>
|
---|