Ignore:
File:
1 edited

Legend:

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

    r686839b r7358bad  
    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 --docdir=/usr/share/doc/flex-&flex-version;</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">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
     44    <para os="h">A few programs do not know about <command>flex</command> yet and
    5245    try to run its predecessor, <command>lex</command>. To support those
    5346    programs, create a wrapper script named <filename>lex</filename> that
     
    5548    mode:</para>
    5649
    57 <screen os="k"><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
     50<screen os="i"><userinput>cat &gt; /usr/bin/lex &lt;&lt; "EOF"
    5851<literal>#!/bin/sh
    5952# Begin /usr/bin/lex
     
    7366      <segtitle>Installed programs</segtitle>
    7467      <segtitle>Installed libraries</segtitle>
     68      <segtitle>Installed directory</segtitle>
    7569
    7670      <seglistitem>
    77         <seg>flex and lex</seg>
    78         <seg>libfl.a and libfl_pic.a</seg>
     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>
    7974      </seglistitem>
    8075    </segmentedlist>
     
    119114      </varlistentry>
    120115
    121       <varlistentry id="libfl.a">
    122         <term><filename class="libraryfile">libfl.a</filename></term>
     116      <varlistentry id="libfl">
     117        <term><filename class="libraryfile">libfl</filename></term>
    123118        <listitem>
    124119          <para>The <filename class="libraryfile">flex</filename> library</para>
    125           <indexterm zone="ch-system-flex libfl.a">
    126             <primary sortas="c-libfl.a">libfl.a</primary>
     120          <indexterm zone="ch-system-flex libfl">
     121            <primary sortas="c-libfl">libfl</primary>
    127122          </indexterm>
    128123        </listitem>
    129124      </varlistentry>
    130125
    131       <varlistentry id="libfl_pic.a">
    132         <term><filename class="libraryfile">libfl_pic.a</filename></term>
     126      <varlistentry id="libfl_pic">
     127        <term><filename class="libraryfile">libfl_pic</filename></term>
    133128        <listitem>
    134129          <para>The <filename class="libraryfile">flex</filename> library</para>
    135           <indexterm zone="ch-system-flex libfl_pic.a">
    136             <primary sortas="c-libfl.a">libfl_pic.a</primary>
     130          <indexterm zone="ch-system-flex libfl_pic">
     131            <primary sortas="c-libfl">libfl_pic</primary>
    137132          </indexterm>
    138133        </listitem>
Note: See TracChangeset for help on using the changeset viewer.