Changeset 4bb4b626


Ignore:
Timestamp:
Aug 11, 2009, 5:56:31 PM (15 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
e124019
Parents:
d3d4417f
Message:

Added Flex to Temp-System

Location:
BOOK
Files:
2 added
19 edited

Legend:

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

    rd3d4417f r4bb4b626  
    2626    <title>Installation of Flex</title>
    2727
    28     <para os="e">Prepare Flex for compilation:</para>
     28    <para os="a">Prepare Flex for compilation:</para>
    2929
    30 <screen os="f"><userinput>./configure --prefix=/usr</userinput></screen>
     30<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    3131
    32     <para os="g">Compile the package:</para>
     32    <para os="c">Compile the package:</para>
    3333
    34 <screen os="h"><userinput>make</userinput></screen>
     34<screen os="d"><userinput>make</userinput></screen>
    3535
    36     <para os="i">To test the results, issue:
     36    <para os="e">To test the results, issue:
    3737    <userinput>make check</userinput>.</para>
    3838
    39     <para os="j">Install the package:</para>
     39    <para os="f">Install the package:</para>
    4040
    41 <screen os="k"><userinput>make install</userinput></screen>
     41<screen os="g"><userinput>make install</userinput></screen>
    4242
    43     <para os="l">There are some packages that expect to find the
     43    <para os="h">There are some packages that expect to find the
    4444    <filename class="libraryfile">lex</filename> library in <filename
    4545    class="directory">/usr/lib</filename>. Create a symlink to account for
    4646    this:</para>
    4747
    48 <screen os="m"><userinput>ln -sv libfl.a /usr/lib/libl.a</userinput></screen>
     48<screen os="i"><userinput>ln -sv libfl.a /usr/lib/libl.a</userinput></screen>
    4949
    50     <para os="n">A few programs do not know about <command>flex</command> yet and
     50    <para os="j">A few programs do not know about <command>flex</command> yet and
    5151    try to run its predecessor, <command>lex</command>. To support those
    5252    programs, create a wrapper script named <filename>lex</filename> that
     
    5454    mode:</para>
    5555
    56 <screen os="o"><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
     56<screen os="k"><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
    5757<literal>#!/bin/sh
    5858# Begin /usr/bin/lex
  • BOOK/final-system/multilib/flex-64bit.xml

    rd3d4417f r4bb4b626  
    2424    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2525    href="flex.xml"
    26     xpointer="xpointer(//*[@os='e'])"/>
     26    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen os="f"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
     28<screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \
    2929    --libdir=/usr/lib64</userinput></screen>
    3030
    3131    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3232    href="flex.xml"
    33     xpointer="xpointer(//*[@os='g'])"/>
     33    xpointer="xpointer(//*[@os='c'])"/>
    3434
    35 <screen os="h"><userinput>make</userinput></screen>
     35    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     36    href="flex.xml"
     37    xpointer="xpointer(//*[@os='d'])"/>
    3638
    3739    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3840    href="../common/flex.xml"
    39     xpointer="xpointer(//*[@os='i'])"/>
     41    xpointer="xpointer(//*[@os='e'])"/>
    4042
    4143    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4244    href="flex.xml"
     45    xpointer="xpointer(//*[@os='f'])"/>
     46
     47    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     48    href="../common/flex.xml"
     49    xpointer="xpointer(//*[@os='g'])"/>
     50
     51    <para os="h">There are some packages that expect to find the
     52    <filename class="libraryfile">lex</filename> library in <filename
     53    class="directory">/usr/lib64</filename>. Create a symlink to account for
     54    this:</para>
     55
     56<screen os="i"><userinput>ln -sv libfl.a /usr/lib64/libl.a</userinput></screen>
     57
     58    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     59    href="../common/flex.xml"
    4360    xpointer="xpointer(//*[@os='j'])"/>
    4461
     
    4663    href="../common/flex.xml"
    4764    xpointer="xpointer(//*[@os='k'])"/>
    48 
    49     <para os="l">There are some packages that expect to find the
    50     <filename class="libraryfile">lex</filename> library in <filename
    51     class="directory">/usr/lib64</filename>. Create a symlink to account for
    52     this:</para>
    53 
    54 <screen os="m"><userinput>ln -sv libfl.a /usr/lib64/libl.a</userinput></screen>
    55 
    56     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    57     href="../common/flex.xml"
    58     xpointer="xpointer(//*[@os='n'])"/>
    59 
    60     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    61     href="../common/flex.xml"
    62     xpointer="xpointer(//*[@os='o'])"/>
    6365
    6466  </sect2>
  • BOOK/final-system/multilib/flex-n32.xml

    rd3d4417f r4bb4b626  
    2424    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2525    href="flex.xml"
    26     xpointer="xpointer(//*[@os='e'])"/>
     26    xpointer="xpointer(//*[@os='a'])"/>
    2727
    28 <screen os="f"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
     28<screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \
    2929   --libdir=/usr/lib32</userinput></screen>
    3030
    3131    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3232    href="flex.xml"
    33     xpointer="xpointer(//*[@os='g'])"/>
     33    xpointer="xpointer(//*[@os='c'])"/>
    3434
    3535    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3636    href="flex.xml"
    37     xpointer="xpointer(//*[@os='h'])"/>
     37    xpointer="xpointer(//*[@os='d'])"/>
    3838
    3939    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4040    href="flex.xml"
    41     xpointer="xpointer(//*[@os='j'])"/>
     41    xpointer="xpointer(//*[@os='e'])"/>
    4242
    4343    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4444    href="flex.xml"
    45     xpointer="xpointer(//*[@os='k'])"/>
     45    xpointer="xpointer(//*[@os='f'])"/>
    4646
    47     <para os="l">There are some packages that expect to find the
     47    <para os="g">There are some packages that expect to find the
    4848    <filename class="libraryfile">lex</filename> library in <filename
    4949    class="directory">/usr/lib32</filename>. Create a symlink to account for
    5050    this:</para>
    5151
    52 <screen os="m"><userinput>ln -sv libfl.a /usr/lib32/libl.a</userinput></screen>
     52<screen os="h"><userinput>ln -sv libfl.a /usr/lib32/libl.a</userinput></screen>
    5353
    5454  </sect2>
  • BOOK/final-system/multilib/flex.xml

    rd3d4417f r4bb4b626  
    2525    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2626    href="../common/flex.xml"
    27     xpointer="xpointer(//*[@os='e'])"/>
     27    xpointer="xpointer(//*[@os='a'])"/>
    2828
    29 <screen os="f"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>
     29<screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>
    3030
    3131    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3232    href="../common/flex.xml"
    33     xpointer="xpointer(//*[@os='g'])"/>
     33    xpointer="xpointer(//*[@os='c'])"/>
    3434
    3535<screen os="h"><userinput>make libfl.a</userinput></screen>
     
    3737    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3838    href="../common/flex.xml"
    39     xpointer="xpointer(//*[@os='j'])"/>
     39    xpointer="xpointer(//*[@os='d'])"/>
    4040
    41 <screen os="k"><userinput>make install-libLIBRARIES</userinput></screen>
     41<screen os="e"><userinput>make install-libLIBRARIES</userinput></screen>
    4242
    4343    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4444    href="../common/flex.xml"
    45     xpointer="xpointer(//*[@os='l'])"/>
     45    xpointer="xpointer(//*[@os='f'])"/>
    4646
    4747    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    4848    href="../common/flex.xml"
    49     xpointer="xpointer(//*[@os='m'])"/>
     49    xpointer="xpointer(//*[@os='g'])"/>
    5050
    5151  </sect2>
  • BOOK/introduction/common/changelog.xml

    rd3d4417f r4bb4b626  
    4242        <listitem>
    4343          <para>[jim] - Added Bison to Temp-System for Binutils in
     44          Final System.</para>
     45        </listitem>
     46        <listitem>
     47          <para>[jim] - Added Flex to Temp-System for Binutils in
    4448          Final System.</para>
    4549        </listitem>
  • BOOK/temp-system/alpha-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
  • BOOK/temp-system/mips-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
  • BOOK/temp-system/mips64-64-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
  • BOOK/temp-system/mips64-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
  • BOOK/temp-system/native-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
  • BOOK/temp-system/native64-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
  • BOOK/temp-system/ppc-chapter.xml

    rd3d4417f r4bb4b626  
    2828  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
     30  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>
    3031  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
  • BOOK/temp-system/ppc64-chapter.xml

    rd3d4417f r4bb4b626  
    2828  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file.xml"/>
     30  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/>
    3031  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
  • BOOK/temp-system/sparc-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
  • BOOK/temp-system/sparc64-64-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
  • BOOK/temp-system/sparc64-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
  • BOOK/temp-system/x86-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/>
  • BOOK/temp-system/x86_64-64-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
  • BOOK/temp-system/x86_64-chapter.xml

    rd3d4417f r4bb4b626  
    2929  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/>
    3030  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file.xml"/>
     31  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/>
    3132  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/>
    3233  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
Note: See TracChangeset for help on using the changeset viewer.