- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/flex.xml
r686839b r7358bad 28 28 <para os="a">Prepare Flex for compilation:</para> 29 29 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> 31 31 32 32 <para os="c">Compile the package:</para> … … 42 42 <screen os="g"><userinput>make install</userinput></screen> 43 43 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 52 45 try to run its predecessor, <command>lex</command>. To support those 53 46 programs, create a wrapper script named <filename>lex</filename> that … … 55 48 mode:</para> 56 49 57 <screen os=" k"><userinput>cat > /usr/bin/lex << "EOF"50 <screen os="i"><userinput>cat > /usr/bin/lex << "EOF" 58 51 <literal>#!/bin/sh 59 52 # Begin /usr/bin/lex … … 73 66 <segtitle>Installed programs</segtitle> 74 67 <segtitle>Installed libraries</segtitle> 68 <segtitle>Installed directory</segtitle> 75 69 76 70 <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> 79 74 </seglistitem> 80 75 </segmentedlist> … … 119 114 </varlistentry> 120 115 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> 123 118 <listitem> 124 119 <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> 127 122 </indexterm> 128 123 </listitem> 129 124 </varlistentry> 130 125 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> 133 128 <listitem> 134 129 <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> 137 132 </indexterm> 138 133 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.