Changeset 6244322 for BOOK


Ignore:
Timestamp:
Apr 5, 2014, 6:47:29 AM (11 years ago)
Author:
William Harrington <kb0iic@…>
Branches:
clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
b539b9b
Parents:
02b1667
Message:

Add M4=m4 during configure so bison and flex don't hardcode m4 to /tools/bin/m4. The m4 used will depend on the path or the M4 variable when running bison or flex in userland. In this case for a default CLFS build, it will be /usr/bin/m4.

Location:
BOOK/final-system
Files:
8 edited

Legend:

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

    r02b1667 r6244322  
    2525    <title>Installation of Bison</title>
    2626
    27     <para os="t3">The <command>configure </command>script does not determine
    28     the correct value for the following. Set the value manually:</para>
    29 
    30 <screen os="t4"><userinput>echo "ac_cv_prog_lex_is_flex=yes" &gt; config.cache</userinput></screen>
    31 
    3227    <para os="a">Prepare Bison for compilation:</para>
    3328
    34 <screen os="b"><userinput>./configure --prefix=/usr --cache-file=config.cache</userinput></screen>
     29<screen os="b"><userinput>M4=m4 ./configure --prefix=/usr</userinput></screen>
    3530
    3631    <para os="c">Compile the package:</para>
  • BOOK/final-system/common/flex.xml

    r02b1667 r6244322  
    2828    <para os="a">Prepare Flex for compilation:</para>
    2929
    30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
     30<screen os="b"><userinput>M4=m4 ./configure --prefix=/usr</userinput></screen>
    3131
    3232    <para os="c">Compile the package:</para>
  • BOOK/final-system/multilib/bison-64bit.xml

    r02b1667 r6244322  
    2424    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2525    href="../common/bison.xml"
    26     xpointer="xpointer(//*[@os='t3'])"/>
    27 
    28     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    29     href="../common/bison.xml"
    30     xpointer="xpointer(//*[@os='t4'])"/>
    31 
    32     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    33     href="../common/bison.xml"
    3426    xpointer="xpointer(//*[@os='a'])"/>
    3527
    36 <screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure \
    37     --prefix=/usr --libdir=/usr/lib64  --cache-file=config.cache</userinput></screen>
     28<screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" M4=m4 \
     29    ./configure --prefix=/usr --libdir=/usr/lib64</userinput></screen>
    3830
    3931    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/bison-n32.xml

    r02b1667 r6244322  
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2626    href="../common/bison.xml"
    27     xpointer="xpointer(//*[@os='t3'])"/>
    28 
    29     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../common/bison.xml"
    31     xpointer="xpointer(//*[@os='t4'])"/>
    32 
    33     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../common/bison.xml"
    3527    xpointer="xpointer(//*[@os='a'])"/>
    3628
    37 <screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
    38     ./configure --prefix=/usr --libdir=/usr/lib32  --cache-file=config.cache</userinput></screen>
     29<screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" M4=m4 \
     30    ./configure --prefix=/usr --libdir=/usr/lib32</userinput></screen>
    3931
    4032    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/bison.xml

    r02b1667 r6244322  
    2525    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    2626    href="../common/bison.xml"
    27     xpointer="xpointer(//*[@os='t3'])"/>
    28 
    29     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    30     href="../common/bison.xml"
    31     xpointer="xpointer(//*[@os='t4'])"/>
    32 
    33     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
    34     href="../common/bison.xml"
    3527    xpointer="xpointer(//*[@os='a'])"/>
    3628
    37 <screen os="b"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure \
    38     --prefix=/usr  --cache-file=config.cache</userinput></screen>
     29<screen os="b"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" M4=m4 \
     30    ./configure --prefix=/usr</userinput></screen>
    3931
    4032    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
  • BOOK/final-system/multilib/flex-64bit.xml

    r02b1667 r6244322  
    2626    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
     28<screen os="b"><userinput>CC="gcc ${BUILD64}" M4=m4 ./configure --prefix=/usr \
    2929    --libdir=/usr/lib64</userinput></screen>
    3030
  • BOOK/final-system/multilib/flex-n32.xml

    r02b1667 r6244322  
    2626    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
     28<screen os="b"><userinput>CC="gcc ${BUILDN32}" M4=m4 ./configure --prefix=/usr \
    2929   --libdir=/usr/lib32</userinput></screen>
    3030
  • BOOK/final-system/multilib/flex.xml

    r02b1667 r6244322  
    2727    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>
     29<screen os="b"><userinput>CC="gcc ${BUILD32}" M4=m4 ./configure --prefix=/usr</userinput></screen>
    3030
    3131    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
Note: See TracChangeset for help on using the changeset viewer.