Author: jim
Date: 2006-07-14 13:45:13 -0600 (Fri, 14 Jul 2006)
New Revision: 2002
Modified:
/
branches/clfs-2.0/BOOK/final-system/common/patch.xml
Log:
[EMAIL PROTECTED] (orig r2121): jciccone | 2006-07-14 09:20:09 -0700
Added a value to the config.cache in patch to prevent hardcoding the full path
to ed when it exists on the users host.
Property changes on:
___________________________________________________________________
Name: svk:merge
- b6734a72-470d-0410-b049-f317dca95413:/:2120
+ b6734a72-470d-0410-b049-f317dca95413:/:2121
Modified: branches/clfs-2.0/BOOK/final-system/common/patch.xml
===================================================================
--- branches/clfs-2.0/BOOK/final-system/common/patch.xml 2006-07-14
03:50:30 UTC (rev 2001)
+++ branches/clfs-2.0/BOOK/final-system/common/patch.xml 2006-07-14
19:45:13 UTC (rev 2002)
@@ -26,18 +26,27 @@
<sect2 role="installation">
<title>Installation of Patch</title>
- <para os="a">Prepare Patch for compilation:</para>
+ <para os="a">Configure would like to hardcode the full path to
+ <command>ed</command>. When <command>ed</command> isn't found it falls
+ back on just "<command>ed</command>". Since <command>ed</command>
+ isn't installed by default but it may be installed on the host, Lets
+ force the fallback value.</para>
-<screen os="b"><userinput>./configure --prefix=/usr
--host=${CLFS_TARGET}</userinput></screen>
+<screen os="b"><userinput>echo "ac_cv_path_ed_PROGRAM=ed" >
config.cache</userinput></screen>
- <para os="c">Compile the package:</para>
+ <para os="c">Prepare Patch for compilation:</para>
-<screen os="d"><userinput>make</userinput></screen>
+<screen os="d"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET} \
+ --cache-file=config.cache</userinput></screen>
- <para os="e">Install the package:</para>
+ <para os="e">Compile the package:</para>
-<screen os="f"><userinput>make prefix=${CLFS}/usr install</userinput></screen>
+<screen os="f"><userinput>make</userinput></screen>
+ <para os="g">Install the package:</para>
+
+<screen os="h"><userinput>make prefix=${CLFS}/usr install</userinput></screen>
+
</sect2>
<sect2 id="contents-patch" role="content">
--
http://linuxfromscratch.org/mailman/listinfo/cross-lfs
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page