Changeset e25e0b0


Ignore:
Timestamp:
07/18/2007 04:03:05 PM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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:
ba6f749
Parents:
c5854c2
Message:

Added an additional sed to the LPRng instructions to correct some bad syntax

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    rc5854c2 re25e0b0  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[randy] - Added an additional sed to the LPRng instructions
     49          to correct some bad syntax.</para>
     50        </listitem>
     51        <listitem>
    4852          <para>[randy] - Updated to pilot-link-0.12.2.</para>
    4953        </listitem>
  • pst/printing/lprng.xml

    rc5854c2 re25e0b0  
    44  <!ENTITY % general-entities SYSTEM "../../general.ent">
    55  %general-entities;
    6 
    7     <!-- Inserted as a reminder to do this. The mention of a test suite
    8          is usually right before the root user installation commands. Please
    9          delete these 12 (including one blank) lines after you are done.-->
    10 
    11     <!-- Use one of the two mentions below about a test suite,
    12          delete the line that is not applicable. Of course, if the
    13          test suite uses syntax other than "make check", revise the
    14          line to reflect the actual syntax to run the test suite -->
    15 
    16     <!-- <para>This package does not come with a test suite.</para> -->
    17     <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
    186
    197  <!ENTITY LPRng-download-http "http://www.lprng.com/DISTRIB/LPRng/LPRng-&LPRng-version;.tgz">
     
    7361    <para role="optional"><xref linkend="openssl"/>,
    7462    <xref linkend="tcpwrappers"/>,
    75     <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
    76     and <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink></para>
     63    <xref linkend="mitkrb"/>, and
     64    <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink></para>
    7765
    7866    <para condition="html" role="usernotes">User Notes:
     
    8775    the following commands:</para>
    8876
    89 <screen><userinput>sed -i 's@CLEAR,0@CLEAR,CLEAR,NULL@' src/common/lpq.c &amp;&amp;
    90 sed -i 's@\(fi\|done\) \\@\1; \\@' Makefile.in &amp;&amp;
    91 ./configure --prefix=/usr --libexecdir=/usr/lib/lprng \
    92     --sysconfdir=/etc --enable-shared &amp;&amp;
     77<screen><userinput>sed -i    's@CLEAR,0@CLEAR,CLEAR,NULL@' src/common/lpq.c &amp;&amp;
     78sed -i    's@ fd, l@ fd, (char*) l@'    src/common/krb5_auth.c &amp;&amp;
     79sed -i -e 's@\(fi\|done\) \\@\1; \\@' \
     80       -e 's/^SHELL/#&amp;/'                Makefile.in &amp;&amp;
     81
     82./configure --prefix=/usr \
     83            --libexecdir=/usr/lib/lprng \
     84            --sysconfdir=/etc \
     85            --enable-shared &amp;&amp;
    9386make</userinput></screen>
    9487
     88    <para>This package does not come with a test suite.</para>
     89
    9590    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    9691
    97 <screen role="root"><userinput>make install
    98 install -v -d -m755 /usr/share/doc/lprng-&LPRng-version; &amp;&amp;
     92<screen role="root"><userinput>make install &amp;&amp;
     93install -v -m755 -d /usr/share/doc/lprng-&LPRng-version; &amp;&amp;
    9994cp -v -R DOCS/* PrintingCookbook \
    10095    /usr/share/doc/lprng-&LPRng-version;</userinput></screen>
     
    105100    <title>Command Explanations</title>
    106101
    107     <para><command>sed -i 's@CLEAR ...'</command>:  This fixes a gcc-4.1 warning,
    108     treated as an error.</para>
    109     <para><command>sed -i 's@/\(fi ...'</command>:  This fixes a syntax bug for
    110     newer makes.</para>
     102    <para><command>sed -i 's@CLEAR ...'</command>:  This fixes a
     103    <application>GCC</application>-4 warning, treated as an error.</para>
     104
     105    <para><command>sed -i 's@ fd, l ...'</command>:  This fixes a compilation
     106    problem with using versions of <application>GCC</application>-4.</para>
     107
     108    <para><command>sed -i -e '...' -e '...'</command>:  This fixes a couple of
     109    syntax bugs when using newer versions of <command>make</command>.</para>
    111110
    112111  </sect2>
Note: See TracChangeset for help on using the changeset viewer.