Author: krejzi
Date: Sat Jan 26 03:07:26 2013
New Revision: 10983
Log:
Correct DHCP patch naming and add an explanation to Obex page.
Modified:
trunk/BOOK/general/sysutils/obexd.xml
trunk/BOOK/networking/connect/dhcp.xml
Modified: trunk/BOOK/general/sysutils/obexd.xml
==============================================================================
--- trunk/BOOK/general/sysutils/obexd.xml Fri Jan 25 19:27:12 2013
(r10982)
+++ trunk/BOOK/general/sysutils/obexd.xml Sat Jan 26 03:07:26 2013
(r10983)
@@ -93,9 +93,7 @@
</para>
<screen><userinput>sed -i 's/#include <string.h>/&\n#include
<stdio.h>/' plugins/mas.c &&
-./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/obex &&
+./configure --prefix=/usr --libexecdir=/usr/lib/obex &&
make</userinput></screen>
<para>
@@ -109,8 +107,15 @@
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
- <!-- It would be nice if there was a Command Explanation for why the
- stdio.h file must be included with sed command. -->
+ <sect2 role="commands">
+ <title>Command Explanations</title>
+
+ <para>
+ <command>sed -i 's/#include ...</command>: This sed fixes building
against
+ the <application>Glibc</application> 2.17.
+ </para>
+
+ </sect2>
<sect2 role="content">
<title>Contents</title>
Modified: trunk/BOOK/networking/connect/dhcp.xml
==============================================================================
--- trunk/BOOK/networking/connect/dhcp.xml Fri Jan 25 19:27:12 2013
(r10982)
+++ trunk/BOOK/networking/connect/dhcp.xml Sat Jan 26 03:07:26 2013
(r10983)
@@ -78,7 +78,7 @@
<listitem>
<para>
Required Patch:
- <ulink url="&patch-root;/dhcp-&dhcp-version;-client-script-1.patch"/>
+ <ulink url="&patch-root;/dhcp-&dhcp-version;-client_script-1.patch"/>
</para>
</listitem>
<listitem>
@@ -134,7 +134,7 @@
the following commands:
</para>
-<screen><userinput>patch -Np1 -i ../dhcp-&dhcp-version;-client-script-1.patch
&&
+<screen><userinput>patch -Np1 -i ../dhcp-&dhcp-version;-client_script-1.patch
&&
CFLAGS="-D_PATH_DHCLIENT_SCRIPT='\"/sbin/dhclient-script\"' \
-D_PATH_DHCPD_CONF='\"/etc/dhcp/dhcpd.conf\"' \
-D_PATH_DHCLIENT_CONF='\"/etc/dhcp/dhclient.conf\"'" \
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page