Ignore:
Timestamp:
02/28/2012 01:50:35 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
da836cf
Parents:
16bc1d51
Message:

The zombie is still moving
gnucash and slib are back in the book

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9543 af4574ff-66df-0310-9fd7-8a98e5e911e0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/slib.xml

    r16bc1d51 ra4a52f4  
    55  %general-entities;
    66
    7   <!ENTITY slib-download-http "http://swiss.csail.mit.edu/ftpdir/scm/OLD/slib-&slib-version;.tar.gz">
     7  <!ENTITY slib-download-http
     8  "http://groups.csail.mit.edu/mac/ftpdir/scm/slib-&slib-version;.tar.gz">
    89  <!ENTITY slib-download-ftp  " ">
    910  <!ENTITY slib-md5sum        "850f48ad933e2fe8bb03b1e994ed4407">
     
    4142    Scheme48, SCM, SCM Mac, scsh, Stk, T3.1, umb-scheme, and VSCM.</para>
    4243
     44    &lfs70_built;
     45
    4346    <bridgehead renderas="sect3">Package Information</bridgehead>
    4447    <itemizedlist spacing="compact">
     
    6366    </itemizedlist>
    6467
    65     <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
    66     <itemizedlist spacing='compact'>
    67       <listitem>
    68         <para>Required Patch: <ulink
    69         url="&patch-root;/slib-&slib-version;-guile_fixes-1.patch"/></para>
    70       </listitem>
    71     </itemizedlist> -->
    72 
    7368    <bridgehead renderas="sect3">SLIB Dependencies</bridgehead>
    7469
     70    <!--
    7571    <para>There are no build dependencies as this package is nothing but many
    7672    text script files which are copied to the system. If you are installing
     
    7975    <application>SLIB</application> catalog for <application>Guile</application>
    8076    can be created.</para>
     77    -->
     78
     79    <bridgehead renderas="sect4">Required</bridgehead>
     80    <para role="required"><xref linkend="guile"/>.</para>
    8181
    8282    <para condition="html" role="usernotes">User Notes:
    8383    <ulink url="&blfs-wiki;/slib"/></para>
    84 
    8584  </sect2>
    8685
     
    9190    commands:</para>
    9291
    93 <screen><userinput>sed -i 's|usr/lib|usr/share|' RScheme.init        &amp;&amp;
    94 makeinfo -o slib.txt  --plaintext       slib.texi &amp;&amp;
     92<screen><userinput>sed -i 's|usr/lib|usr/share|' RScheme.init &amp;&amp;
     93./configure --prefix=/usr --libdir=/usr/share &amp;&amp;
     94sed -i 's# scm$# guile#;s#ginstall-info#install-info#' Makefile &amp;&amp;
     95makeinfo -o slib.txt --plaintext slib.texi &amp;&amp;
    9596makeinfo -o slib.html --html --no-split slib.texi</userinput></screen>
    9697
    97     <para>If you have <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/>
    98     installed and wish to build PDF or Postscript documentation, issue any or
    99     all of the following commands:</para>
     98    <para>If you have <xref linkend="texlive"/> installed and wish to build PDF
     99    or Postscript documentation, issue any or all of the following
     100    commands:</para>
    100101
    101 <screen><userinput>texi2pdf  slib.texi &amp;&amp;
    102 texi2dvi  slib.texi &amp;&amp;
    103 dvips  -o slib.ps  slib.dvi</userinput></screen>
     102<screen><userinput>texi2pdf slib.texi &amp;&amp;
     103texi2dvi slib.texi &amp;&amp;
     104dvips -o slib.ps slib.dvi</userinput></screen>
    104105
    105106    <para>This package does not come with a functional test suite.</para>
    106107
    107     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     108    <para>Now, as the <systemitem class="username">root</systemitem>
     109    user:</para>
    108110
    109 <screen role="root"><userinput>make prefix=/usr/ \
    110      libdir=/usr/share/ \
    111      man1dir=/usr/share/man/man1 \
    112      infodir=/usr/share/info/ \
    113   install installinfo &amp;&amp;
    114 
    115 install -v -m755 -d /usr/share/doc/slib-&slib-version;  &amp;&amp;
    116 install -v -m644    ANNOUNCE FAQ README slib.{txt,html} \
    117                     /usr/share/doc/slib-&slib-version;</userinput></screen>
    118 
    119     <para>If you have <xref linkend="guile"/> installed, create the following
    120     symbolic link as the <systemitem class="username">root</systemitem> user to
    121     satisfy <application>Guile</application>'s default
    122     <quote>Implementation Vicinity</quote> directory.</para>
    123 
    124 <screen role="root"><userinput>ln -v -s ../slib /usr/share/guile</userinput></screen>
     111<screen role="root"><userinput>make install &amp;&amp;
     112ln -v -s ../slib /usr/share/guile &amp;&amp;
     113guile -c "(use-modules (ice-9 slib)) (require 'printf)" &amp;&amp;
     114install -v -m755 -d /usr/share/doc/slib-&slib-version; &amp;&amp;
     115install -v -m644 ANNOUNCE FAQ README slib.{txt,html} /usr/share/doc/slib-&slib-version;</userinput></screen>
    125116
    126117    <para>If you built any of the optional documentation, install it using the
     
    128119    user:</para>
    129120
    130 <screen role="root"><userinput>install -v -m644 slib.{pdf,dvi,ps} \
    131                  /usr/share/doc/slib-&slib-version;</userinput></screen>
    132 
     121<screen role="root"><userinput>install -v -m644 slib.{pdf,dvi,ps} /usr/share/doc/slib-&slib-version;</userinput></screen>
    133122  </sect2>
    134123
     
    138127    <para><command>sed -i 's|usr/lib|usr/share|' RScheme.init</command>:
    139128    This command is used to change the <envar>libdir</envar> variable embedded
    140     in the script to match the installation variable.</para>
     129    in the script to match the installation.</para>
     130
     131    <para><option>--libdir=/usr/share</option>: This option puts the installed
     132    in files <filename class="directory">/usr/share/slib</filename> instead of
     133    <filename class="directory">/usr/lib/slib</filename>.</para>
     134
     135    <para><command>ln -v -s ../slib /usr/share/guile</command>: This command
     136    puts a symbolic link to the <application>slib</application> files in
     137    <application>Guile</application>'s default <quote>Implementation
     138    Vicinity</quote>.</para>
     139
     140    <para><command>guile -c "(use-modules (ice-9 slib)) (require
     141    'printf)"</command>: This command creates a guile catalog of the
     142    <application>slib</application> files.</para>
    141143
    142144    <para><command>make ... install installinfo</command>: This command
    143145    installs the package and the <command>info</command> documentation into the
    144146    indicated directories.</para>
    145 
    146   </sect2>
    147 
    148   <sect2 role="configuration" id="slib-config">
    149     <title>Configuring SLIB</title>
    150 
    151     <para>For many of the Scheme implementations, an
    152     <application>SLIB</application> Scheme implementation catalog  must be
    153     created. If you have <xref linkend="guile"/> installed to support a
    154     <application>GnuCash</application> installation, you must create a
    155     catalog. You can use the <command>make catalogs</command> command, but
    156     there will be many warnings and confusing messages as it tries to create
    157     a catalog for many of the possible Scheme implementations which are
    158     probably not installed on the system. To create a single catalog just
    159     for the <application>Guile</application> installation, issue the following
    160     command as the <systemitem class="username">root</systemitem> user:</para>
    161 
    162 <screen role="root"><userinput>guile -l guile.init \
    163       -c "(use-modules (ice-9 slib)) (require 'new-catalog)"</userinput></screen>
    164 
    165     <para>If there was no output from the previous command, and the file
    166     <filename>/usr/share/guile/1.8/slibcat</filename> now exists, the catalog
    167     was properly created.</para>
    168 
    169147  </sect2>
    170148
     
    202180        </listitem>
    203181      </varlistentry>
    204 
    205182    </variablelist>
    206 
    207183  </sect2>
    208 
    209184</sect1>
Note: See TracChangeset for help on using the changeset viewer.