Changeset 627724c in clfs-sysroot


Ignore:
Timestamp:
Jul 14, 2006, 9:20:09 AM (18 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
cee2ca2
Parents:
f536998
Message:

Added a value to the config.cache in patch to prevent hardcoding the full path to ed when it exists on the users host.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/patch.xml

    rf536998 r627724c  
    2727    <title>Installation of Patch</title>
    2828
    29     <para os="a">Prepare Patch for compilation:</para>
     29    <para os="a">Configure would like to hardcode the full path to
     30    <command>ed</command>. When <command>ed</command> isn't found it falls
     31    back on just "<command>ed</command>". Since <command>ed</command>
     32    isn't installed by default but it may be installed on the host, Lets
     33    force the fallback value.</para>
    3034
    31 <screen os="b"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET}</userinput></screen>
     35<screen os="b"><userinput>echo "ac_cv_path_ed_PROGRAM=ed" &gt; config.cache</userinput></screen>
    3236
    33     <para os="c">Compile the package:</para>
     37    <para os="c">Prepare Patch for compilation:</para>
    3438
    35 <screen os="d"><userinput>make</userinput></screen>
     39<screen os="d"><userinput>./configure --prefix=/usr --host=${CLFS_TARGET} \
     40    --cache-file=config.cache</userinput></screen>
    3641
    37     <para os="e">Install the package:</para>
     42    <para os="e">Compile the package:</para>
    3843
    39 <screen os="f"><userinput>make prefix=${CLFS}/usr install</userinput></screen>
     44<screen os="f"><userinput>make</userinput></screen>
     45
     46    <para os="g">Install the package:</para>
     47
     48<screen os="h"><userinput>make prefix=${CLFS}/usr install</userinput></screen>
    4049
    4150  </sect2>
Note: See TracChangeset for help on using the changeset viewer.