Ignore:
File:
1 edited

Legend:

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

    r7358bad r686839b  
    2828    <para os="a">Prepare Flex for compilation:</para>
    2929
    30 <screen os="b"><userinput>M4=m4 ./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;</userinput></screen>
     30<screen os="b"><userinput>./configure --prefix=/usr</userinput></screen>
    3131
    3232    <para os="c">Compile the package:</para>
     
    4242<screen os="g"><userinput>make install</userinput></screen>
    4343
    44     <para os="h">A few programs do not know about <command>flex</command> yet and
     44    <para os="h">There are some packages that expect to find the
     45    <filename class="libraryfile">lex</filename> library in <filename
     46    class="directory">/usr/lib</filename>. Create a symlink to account for
     47    this:</para>
     48
     49<screen os="i"><userinput>ln -sv libfl.a /usr/lib/libl.a</userinput></screen>
     50
     51    <para os="j">A few programs do not know about <command>flex</command> yet and
    4552    try to run its predecessor, <command>lex</command>. To support those
    4653    programs, create a wrapper script named <filename>lex</filename> that
     
    4855    mode:</para>
    4956
    50 <screen os="i"><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
     57<screen os="k"><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
    5158<literal>#!/bin/sh
    5259# Begin /usr/bin/lex
     
    6673      <segtitle>Installed programs</segtitle>
    6774      <segtitle>Installed libraries</segtitle>
    68       <segtitle>Installed directory</segtitle>
    6975
    7076      <seglistitem>
    71         <seg>flex, flex++ (link to flex), and lex</seg>
    72         <seg>libfl.[a,so] and libfl_pic.[a,so]</seg>
    73         <seg>/usr/share/doc/flex-&flex-version;</seg>
     77        <seg>flex and lex</seg>
     78        <seg>libfl.a and libfl_pic.a</seg>
    7479      </seglistitem>
    7580    </segmentedlist>
     
    114119      </varlistentry>
    115120
    116       <varlistentry id="libfl">
    117         <term><filename class="libraryfile">libfl</filename></term>
     121      <varlistentry id="libfl.a">
     122        <term><filename class="libraryfile">libfl.a</filename></term>
    118123        <listitem>
    119124          <para>The <filename class="libraryfile">flex</filename> library</para>
    120           <indexterm zone="ch-system-flex libfl">
    121             <primary sortas="c-libfl">libfl</primary>
     125          <indexterm zone="ch-system-flex libfl.a">
     126            <primary sortas="c-libfl.a">libfl.a</primary>
    122127          </indexterm>
    123128        </listitem>
    124129      </varlistentry>
    125130
    126       <varlistentry id="libfl_pic">
    127         <term><filename class="libraryfile">libfl_pic</filename></term>
     131      <varlistentry id="libfl_pic.a">
     132        <term><filename class="libraryfile">libfl_pic.a</filename></term>
    128133        <listitem>
    129134          <para>The <filename class="libraryfile">flex</filename> library</para>
    130           <indexterm zone="ch-system-flex libfl_pic">
    131             <primary sortas="c-libfl">libfl_pic</primary>
     135          <indexterm zone="ch-system-flex libfl_pic.a">
     136            <primary sortas="c-libfl.a">libfl_pic.a</primary>
    132137          </indexterm>
    133138        </listitem>
Note: See TracChangeset for help on using the changeset viewer.