- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/flex.xml
rf5e37b2 r4bb4b626 26 26 <title>Installation of Flex</title> 27 27 28 <para os=" e">Prepare Flex for compilation:</para>28 <para os="a">Prepare Flex for compilation:</para> 29 29 30 <screen os=" f"><userinput>./configure --prefix=/usr</userinput></screen>30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 31 31 32 <para os=" g">Compile the package:</para>32 <para os="c">Compile the package:</para> 33 33 34 <screen os=" h"><userinput>make</userinput></screen>34 <screen os="d"><userinput>make</userinput></screen> 35 35 36 <para os=" i">To test the results, issue:36 <para os="e">To test the results, issue: 37 37 <userinput>make check</userinput>.</para> 38 38 39 <para os=" j">Install the package:</para>39 <para os="f">Install the package:</para> 40 40 41 <screen os=" k"><userinput>make install</userinput></screen>41 <screen os="g"><userinput>make install</userinput></screen> 42 42 43 <para os=" l">There are some packages that expect to find the43 <para os="h">There are some packages that expect to find the 44 44 <filename class="libraryfile">lex</filename> library in <filename 45 45 class="directory">/usr/lib</filename>. Create a symlink to account for 46 46 this:</para> 47 47 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> 49 49 50 <para os=" n">A few programs do not know about <command>flex</command> yet and50 <para os="j">A few programs do not know about <command>flex</command> yet and 51 51 try to run its predecessor, <command>lex</command>. To support those 52 52 programs, create a wrapper script named <filename>lex</filename> that … … 54 54 mode:</para> 55 55 56 <screen os=" o"><userinput>cat > /usr/bin/lex << "EOF"56 <screen os="k"><userinput>cat > /usr/bin/lex << "EOF" 57 57 <literal>#!/bin/sh 58 58 # Begin /usr/bin/lex
Note:
See TracChangeset
for help on using the changeset viewer.