1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE section [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <section xmlns="http://docbook.org/docbook-ng"
|
---|
7 | xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
8 | xml:id="ch-tools-flex" xreflabel="Flex" role="wrap">
|
---|
9 | <title>Flex-&flex-version;</title>
|
---|
10 | <?dbhtml filename="flex.html"?>
|
---|
11 |
|
---|
12 | <indexterm zone="ch-tools-flex">
|
---|
13 | <primary sortas="a-Flex">Flex</primary>
|
---|
14 | <secondary>tools</secondary></indexterm>
|
---|
15 |
|
---|
16 | <section role="package"><title/>
|
---|
17 | <xi:include href="../chapter06/flex.xml" xpointer="xpointer(/*[1]/*[3]/*[2])"/>
|
---|
18 |
|
---|
19 | <segmentedlist>
|
---|
20 | <segtitle>&buildtime;</segtitle>
|
---|
21 | <segtitle>&diskspace;</segtitle>
|
---|
22 | <seglistitem><seg>0.6 SBU</seg><seg>10.6 MB</seg></seglistitem>
|
---|
23 | </segmentedlist>
|
---|
24 |
|
---|
25 | <xi:include href="../chapter06/flex.xml" xpointer="xpointer(/*[1]/*[3]/*[4])"/>
|
---|
26 |
|
---|
27 | </section>
|
---|
28 |
|
---|
29 | <section role="installation">
|
---|
30 | <title>Installation of Flex</title>
|
---|
31 |
|
---|
32 | <para>Flex contains several known bugs. Fix these with the following patch:</para>
|
---|
33 |
|
---|
34 | <screen><userinput>patch -Np1 -i ../flex-&flex-version;-debian_fixes-2.patch</userinput></screen>
|
---|
35 |
|
---|
36 | <para>The GNU autotools detects that the Flex source code has been modified by
|
---|
37 | the previous patch, and tries to update the manual page accordingly, but this
|
---|
38 | breaks on many systems, and the default page is fine, so make sure it doesn't
|
---|
39 | get regenerated:</para>
|
---|
40 |
|
---|
41 | <screen><userinput>touch doc/flex.1</userinput></screen>
|
---|
42 |
|
---|
43 | <para>Now prepare Flex for compilation:</para>
|
---|
44 |
|
---|
45 | <screen><userinput>./configure --prefix=/tools</userinput></screen>
|
---|
46 |
|
---|
47 | <para>Compile the package:</para>
|
---|
48 |
|
---|
49 | <screen><userinput>make</userinput></screen>
|
---|
50 |
|
---|
51 | <para>To test the results, issue:
|
---|
52 | <userinput>make check</userinput>.</para>
|
---|
53 |
|
---|
54 | <para>Now install the package:</para>
|
---|
55 |
|
---|
56 | <screen><userinput>make install</userinput></screen>
|
---|
57 |
|
---|
58 | </section>
|
---|
59 |
|
---|
60 | <section role="content"><title/>
|
---|
61 | <para>The details on this package are found in <xref linkend="contents-flex"/>.</para>
|
---|
62 | </section>
|
---|
63 |
|
---|
64 | </section>
|
---|