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