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

File:
1 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
Note: See TracChangeset for help on using the changeset viewer.