[4bb4b626] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-temp-system-flex" role="wrap">
|
---|
| 9 | <?dbhtml filename="flex.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Flex-&flex-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-temp-system-flex">
|
---|
| 14 | <primary sortas="a-Flex">Flex</primary>
|
---|
| 15 | <secondary>temporary system</secondary>
|
---|
| 16 | </indexterm>
|
---|
| 17 |
|
---|
| 18 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 19 | href="../../final-system/common/flex.xml"
|
---|
| 20 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
| 21 |
|
---|
| 22 | <sect2 role="installation">
|
---|
| 23 | <title>Installation of Flex</title>
|
---|
| 24 |
|
---|
[842cd58] | 25 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 26 | href="../../final-system/common/flex.xml"
|
---|
| 27 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 28 |
|
---|
| 29 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 30 | href="../../final-system/common/flex.xml"
|
---|
| 31 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 32 |
|
---|
[4bb4b626] | 33 | <para os="t1">Make sure that Flex doesn't try to include
|
---|
| 34 | headers from /usr/include.</para>
|
---|
| 35 |
|
---|
| 36 | <screen os="t2"><userinput>cp -v Makefile.in{,.orig}
|
---|
| 37 | sed "s/-I@includedir@//g" Makefile.in.orig > Makefile.in</userinput></screen>
|
---|
| 38 |
|
---|
| 39 | <para os="t3">When Cross Compiling the configure script
|
---|
| 40 | does not determine the correct values for the following,
|
---|
| 41 | Set the values manually:</para>
|
---|
| 42 |
|
---|
| 43 | <screen os="t4"><userinput>cat > config.cache << EOF
|
---|
| 44 | ac_cv_func_malloc_0_nonnull=yes
|
---|
| 45 | ac_cv_func_realloc_0_nonnull=yes
|
---|
| 46 | EOF</userinput></screen>
|
---|
| 47 |
|
---|
| 48 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 49 | href="../../final-system/common/flex.xml"
|
---|
| 50 | xpointer="xpointer(//*[@os='a'])"/>
|
---|
| 51 |
|
---|
| 52 | <screen os="cb"><userinput>./configure --prefix=/tools \
|
---|
| 53 | --build=${CLFS_HOST} --host=${CLFS_TARGET} \
|
---|
| 54 | --cache-file=config.cache</userinput></screen>
|
---|
| 55 |
|
---|
| 56 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 57 | href="../../final-system/common/flex.xml"
|
---|
| 58 | xpointer="xpointer(//*[@os='c'])"/>
|
---|
| 59 |
|
---|
| 60 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 61 | href="../../final-system/common/flex.xml"
|
---|
| 62 | xpointer="xpointer(//*[@os='d'])"/>
|
---|
| 63 |
|
---|
| 64 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 65 | href="../../final-system/common/flex.xml"
|
---|
| 66 | xpointer="xpointer(//*[@os='f'])"/>
|
---|
| 67 |
|
---|
| 68 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 69 | href="../../final-system/common/flex.xml"
|
---|
| 70 | xpointer="xpointer(//*[@os='g'])"/>
|
---|
| 71 |
|
---|
| 72 | </sect2>
|
---|
| 73 |
|
---|
| 74 | <sect2 role="content">
|
---|
| 75 | <title/>
|
---|
| 76 |
|
---|
| 77 | <para>Details on this package are located in <xref
|
---|
| 78 | linkend="contents-flex" role="."/></para>
|
---|
| 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | </sect1>
|
---|