[52d29f7] | 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">
|
---|
[3bc173f] | 9 | <!ENTITY guile-size "3.0 MB">
|
---|
| 10 | <!ENTITY guile-buildsize "36.5 MB">
|
---|
| 11 | <!ENTITY guile-time "0.87 SBU">
|
---|
[52d29f7] | 12 | ]>
|
---|
| 13 |
|
---|
[009b52f5] | 14 | <sect1 id="guile" xreflabel="Guile-&guile-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[7f72cbf] | 19 | <?dbhtml filename="guile.html"?>
|
---|
[009b52f5] | 20 | <title>Guile-&guile-version;</title>
|
---|
[20e6fc82] | 21 |
|
---|
[52d29f7] | 22 | <sect2>
|
---|
| 23 | <title>Introduction to <application>Guile</application></title>
|
---|
[c84f656] | 24 |
|
---|
[52d29f7] | 25 | <para>The <application>Guile</application> package contains the Project
|
---|
[c84f656] | 26 | <acronym>GNU</acronym>'s extension language library.
|
---|
| 27 | <application>Guile</application> also contains a stand alone
|
---|
| 28 | <application>Scheme</application> interpreter.</para>
|
---|
| 29 |
|
---|
[52d29f7] | 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>
|
---|
[c043580e] | 37 | <listitem><para>Estimated disk space required:
|
---|
[52d29f7] | 38 | &guile-buildsize;</para></listitem>
|
---|
| 39 | <listitem><para>Estimated build time:
|
---|
| 40 | &guile-time;</para></listitem></itemizedlist>
|
---|
| 41 | </sect3>
|
---|
[c84f656] | 42 |
|
---|
[52d29f7] | 43 | </sect2>
|
---|
| 44 |
|
---|
| 45 | <sect2>
|
---|
| 46 | <title>Installation of <application>Guile</application></title>
|
---|
[c84f656] | 47 |
|
---|
[52d29f7] | 48 | <para>Install <application>Guile</application> by running the following
|
---|
| 49 | commands:</para>
|
---|
[c84f656] | 50 |
|
---|
[3bc173f] | 51 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 52 | LD_LIBRARY_PATH="$PWD/libguile-ltdl/.libs" make &&
|
---|
[52d29f7] | 53 | make install</command></userinput></screen>
|
---|
[c84f656] | 54 |
|
---|
| 55 | </sect2>
|
---|
| 56 |
|
---|
[3bc173f] | 57 | <sect2>
|
---|
| 58 | <title>Command Explanations</title>
|
---|
| 59 |
|
---|
| 60 | <para><command>LD_LIBRARY_PATH="$PWD/libguile-ltdl/.libs" make</command>:
|
---|
| 61 | Something is broken in the Autotools chain. Passing this variable allows the
|
---|
| 62 | build to finish successfully.</para>
|
---|
| 63 |
|
---|
[52d29f7] | 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2>
|
---|
| 67 | <title>Contents</title>
|
---|
[c84f656] | 68 |
|
---|
| 69 | <para>In addition to the <filename class='libraryfile'>libguile</filename>
|
---|
| 70 | libraries, the <application>Guile</application> package contains
|
---|
[52d29f7] | 71 | <command>guile</command>,
|
---|
[c84f656] | 72 | <command>guile-config</command>,
|
---|
[3bc173f] | 73 | <command>guile-snarf</command>,
|
---|
| 74 | <command>guile-tools</command> and
|
---|
| 75 | numerous <application>Guile</application> scripts.
|
---|
[52d29f7] | 76 | </para>
|
---|
[c84f656] | 77 |
|
---|
[52d29f7] | 78 | </sect2>
|
---|
[c84f656] | 79 |
|
---|
[52d29f7] | 80 | <sect2><title>Description</title>
|
---|
[c84f656] | 81 |
|
---|
[52d29f7] | 82 | <sect3><title>guile</title>
|
---|
| 83 | <para><command>guile</command> is a stand-alone Scheme interpreter for
|
---|
| 84 | <application>Guile</application>.</para></sect3>
|
---|
[c84f656] | 85 |
|
---|
[52d29f7] | 86 | <sect3><title>guile-config</title>
|
---|
| 87 | <para><command>guile-config</command> is a <application>Guile</application>
|
---|
| 88 | script which provides the information necessary to link your programs against
|
---|
[c84f656] | 89 | the <application>Guile</application> library, in much the same way
|
---|
| 90 | <xref linkend="pkgconfig"></xref> does.</para></sect3>
|
---|
| 91 |
|
---|
[52d29f7] | 92 | <sect3><title>guile-snarf</title>
|
---|
| 93 | <para><command>guile-snarf</command> is a script to parse declarations in
|
---|
| 94 | your <application>C</application> code for <application>Scheme</application>
|
---|
[c84f656] | 95 | visible <application>C</application> functions,
|
---|
| 96 | <application>Scheme</application> objects to be used by
|
---|
| 97 | <application>C</application> code, etc.</para></sect3>
|
---|
| 98 |
|
---|
| 99 | <sect3><title>guile-tools</title>
|
---|
| 100 | <para><command>guile-tools</command> is a wrapper program installed along with
|
---|
| 101 | <command>guile</command> which knows where a particular module is installed and
|
---|
| 102 | calls it passing its args to a program.</para></sect3>
|
---|
| 103 |
|
---|
[52d29f7] | 104 | </sect2>
|
---|
[20e6fc82] | 105 |
|
---|
| 106 | </sect1>
|
---|