Author: randy
Date: 2007-07-18 10:03:05 -0600 (Wed, 18 Jul 2007)
New Revision: 6917
Modified:
trunk/BOOK/introduction/welcome/changelog.xml
trunk/BOOK/pst/printing/lprng.xml
Log:
Added an additional sed to the LPRng instructions to correct some bad syntax
Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml 2007-07-18 14:54:41 UTC
(rev 6916)
+++ trunk/BOOK/introduction/welcome/changelog.xml 2007-07-18 16:03:05 UTC
(rev 6917)
@@ -45,6 +45,10 @@
<para>July 18th, 2007</para>
<itemizedlist>
<listitem>
+ <para>[randy] - Added an additional sed to the LPRng instructions
+ to correct some bad syntax.</para>
+ </listitem>
+ <listitem>
<para>[randy] - Updated to pilot-link-0.12.2.</para>
</listitem>
<listitem>
Modified: trunk/BOOK/pst/printing/lprng.xml
===================================================================
--- trunk/BOOK/pst/printing/lprng.xml 2007-07-18 14:54:41 UTC (rev 6916)
+++ trunk/BOOK/pst/printing/lprng.xml 2007-07-18 16:03:05 UTC (rev 6917)
@@ -4,18 +4,6 @@
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
- <!-- Inserted as a reminder to do this. The mention of a test suite
- is usually right before the root user installation commands. Please
- delete these 12 (including one blank) lines after you are done.-->
-
- <!-- Use one of the two mentions below about a test suite,
- delete the line that is not applicable. Of course, if the
- test suite uses syntax other than "make check", revise the
- line to reflect the actual syntax to run the test suite -->
-
- <!-- <para>This package does not come with a test suite.</para> -->
- <!-- <para>To test the results, issue: <command>make
check</command>.</para> -->
-
<!ENTITY LPRng-download-http
"http://www.lprng.com/DISTRIB/LPRng/LPRng-&LPRng-version;.tgz">
<!ENTITY LPRng-download-ftp
"ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-&LPRng-version;.tgz">
<!ENTITY LPRng-md5sum "1b3a0abd291b260eab6087ac0e61ed84">
@@ -72,8 +60,8 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="openssl"/>,
<xref linkend="tcpwrappers"/>,
- <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>,
- and <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink></para>
+ <xref linkend="mitkrb"/>, and
+ <ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/lprng"/></para>
@@ -86,16 +74,23 @@
<para>Install <application>LPRng</application> by running
the following commands:</para>
-<screen><userinput>sed -i '[EMAIL PROTECTED],[EMAIL PROTECTED],CLEAR,NULL@'
src/common/lpq.c &&
-sed -i '[EMAIL PROTECTED](fi\|done\) [EMAIL PROTECTED]; \\@' Makefile.in
&&
-./configure --prefix=/usr --libexecdir=/usr/lib/lprng \
- --sysconfdir=/etc --enable-shared &&
+<screen><userinput>sed -i '[EMAIL PROTECTED],[EMAIL PROTECTED],CLEAR,NULL@'
src/common/lpq.c &&
+sed -i 's@ fd, l@ fd, (char*) l@' src/common/krb5_auth.c &&
+sed -i -e '[EMAIL PROTECTED](fi\|done\) [EMAIL PROTECTED]; \\@' \
+ -e 's/^SHELL/#&/' Makefile.in &&
+
+./configure --prefix=/usr \
+ --libexecdir=/usr/lib/lprng \
+ --sysconfdir=/etc \
+ --enable-shared &&
make</userinput></screen>
+ <para>This package does not come with a test suite.</para>
+
<para>Now, as the <systemitem class="username">root</systemitem>
user:</para>
-<screen role="root"><userinput>make install
-install -v -d -m755 /usr/share/doc/lprng-&LPRng-version; &&
+<screen role="root"><userinput>make install &&
+install -v -m755 -d /usr/share/doc/lprng-&LPRng-version; &&
cp -v -R DOCS/* PrintingCookbook \
/usr/share/doc/lprng-&LPRng-version;</userinput></screen>
@@ -104,11 +99,15 @@
<sect2 role="commands">
<title>Command Explanations</title>
- <para><command>sed -i '[EMAIL PROTECTED] ...'</command>: This fixes a
gcc-4.1 warning,
- treated as an error.</para>
- <para><command>sed -i 's@/\(fi ...'</command>: This fixes a syntax bug for
- newer makes.</para>
+ <para><command>sed -i '[EMAIL PROTECTED] ...'</command>: This fixes a
+ <application>GCC</application>-4 warning, treated as an error.</para>
+ <para><command>sed -i 's@ fd, l ...'</command>: This fixes a compilation
+ problem with using versions of <application>GCC</application>-4.</para>
+
+ <para><command>sed -i -e '...' -e '...'</command>: This fixes a couple of
+ syntax bugs when using newer versions of <command>make</command>.</para>
+
</sect2>
<sect2 role="configuration">
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page