- Timestamp:
- Aug 11, 2009, 5:56:31 PM (15 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- e124019
- Parents:
- d3d4417f
- Location:
- BOOK
- Files:
-
- 2 added
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/flex.xml
rd3d4417f 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 -
BOOK/final-system/multilib/flex-64bit.xml
rd3d4417f r4bb4b626 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="flex.xml" 26 xpointer="xpointer(//*[@os=' e'])"/>26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen os=" f"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \28 <screen os="b"><userinput>CC="gcc ${BUILD64}" ./configure --prefix=/usr \ 29 29 --libdir=/usr/lib64</userinput></screen> 30 30 31 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 32 href="flex.xml" 33 xpointer="xpointer(//*[@os=' g'])"/>33 xpointer="xpointer(//*[@os='c'])"/> 34 34 35 <screen os="h"><userinput>make</userinput></screen> 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 href="flex.xml" 37 xpointer="xpointer(//*[@os='d'])"/> 36 38 37 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 40 href="../common/flex.xml" 39 xpointer="xpointer(//*[@os=' i'])"/>41 xpointer="xpointer(//*[@os='e'])"/> 40 42 41 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 42 44 href="flex.xml" 45 xpointer="xpointer(//*[@os='f'])"/> 46 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 48 href="../common/flex.xml" 49 xpointer="xpointer(//*[@os='g'])"/> 50 51 <para os="h">There are some packages that expect to find the 52 <filename class="libraryfile">lex</filename> library in <filename 53 class="directory">/usr/lib64</filename>. Create a symlink to account for 54 this:</para> 55 56 <screen os="i"><userinput>ln -sv libfl.a /usr/lib64/libl.a</userinput></screen> 57 58 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 59 href="../common/flex.xml" 43 60 xpointer="xpointer(//*[@os='j'])"/> 44 61 … … 46 63 href="../common/flex.xml" 47 64 xpointer="xpointer(//*[@os='k'])"/> 48 49 <para os="l">There are some packages that expect to find the50 <filename class="libraryfile">lex</filename> library in <filename51 class="directory">/usr/lib64</filename>. Create a symlink to account for52 this:</para>53 54 <screen os="m"><userinput>ln -sv libfl.a /usr/lib64/libl.a</userinput></screen>55 56 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"57 href="../common/flex.xml"58 xpointer="xpointer(//*[@os='n'])"/>59 60 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"61 href="../common/flex.xml"62 xpointer="xpointer(//*[@os='o'])"/>63 65 64 66 </sect2> -
BOOK/final-system/multilib/flex-n32.xml
rd3d4417f r4bb4b626 24 24 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 25 25 href="flex.xml" 26 xpointer="xpointer(//*[@os=' e'])"/>26 xpointer="xpointer(//*[@os='a'])"/> 27 27 28 <screen os=" f"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \28 <screen os="b"><userinput>CC="gcc ${BUILDN32}" ./configure --prefix=/usr \ 29 29 --libdir=/usr/lib32</userinput></screen> 30 30 31 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 32 href="flex.xml" 33 xpointer="xpointer(//*[@os=' g'])"/>33 xpointer="xpointer(//*[@os='c'])"/> 34 34 35 35 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 36 36 href="flex.xml" 37 xpointer="xpointer(//*[@os=' h'])"/>37 xpointer="xpointer(//*[@os='d'])"/> 38 38 39 39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 40 40 href="flex.xml" 41 xpointer="xpointer(//*[@os=' j'])"/>41 xpointer="xpointer(//*[@os='e'])"/> 42 42 43 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 44 44 href="flex.xml" 45 xpointer="xpointer(//*[@os=' k'])"/>45 xpointer="xpointer(//*[@os='f'])"/> 46 46 47 <para os=" l">There are some packages that expect to find the47 <para os="g">There are some packages that expect to find the 48 48 <filename class="libraryfile">lex</filename> library in <filename 49 49 class="directory">/usr/lib32</filename>. Create a symlink to account for 50 50 this:</para> 51 51 52 <screen os=" m"><userinput>ln -sv libfl.a /usr/lib32/libl.a</userinput></screen>52 <screen os="h"><userinput>ln -sv libfl.a /usr/lib32/libl.a</userinput></screen> 53 53 54 54 </sect2> -
BOOK/final-system/multilib/flex.xml
rd3d4417f r4bb4b626 25 25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 26 26 href="../common/flex.xml" 27 xpointer="xpointer(//*[@os=' e'])"/>27 xpointer="xpointer(//*[@os='a'])"/> 28 28 29 <screen os=" f"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen>29 <screen os="b"><userinput>CC="gcc ${BUILD32}" ./configure --prefix=/usr</userinput></screen> 30 30 31 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 32 32 href="../common/flex.xml" 33 xpointer="xpointer(//*[@os=' g'])"/>33 xpointer="xpointer(//*[@os='c'])"/> 34 34 35 35 <screen os="h"><userinput>make libfl.a</userinput></screen> … … 37 37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 38 38 href="../common/flex.xml" 39 xpointer="xpointer(//*[@os=' j'])"/>39 xpointer="xpointer(//*[@os='d'])"/> 40 40 41 <screen os=" k"><userinput>make install-libLIBRARIES</userinput></screen>41 <screen os="e"><userinput>make install-libLIBRARIES</userinput></screen> 42 42 43 43 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 44 44 href="../common/flex.xml" 45 xpointer="xpointer(//*[@os=' l'])"/>45 xpointer="xpointer(//*[@os='f'])"/> 46 46 47 47 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" 48 48 href="../common/flex.xml" 49 xpointer="xpointer(//*[@os=' m'])"/>49 xpointer="xpointer(//*[@os='g'])"/> 50 50 51 51 </sect2> -
BOOK/introduction/common/changelog.xml
rd3d4417f r4bb4b626 42 42 <listitem> 43 43 <para>[jim] - Added Bison to Temp-System for Binutils in 44 Final System.</para> 45 </listitem> 46 <listitem> 47 <para>[jim] - Added Flex to Temp-System for Binutils in 44 48 Final System.</para> 45 49 </listitem> -
BOOK/temp-system/alpha-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/> -
BOOK/temp-system/mips-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/> -
BOOK/temp-system/mips64-64-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/> -
BOOK/temp-system/mips64-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/> -
BOOK/temp-system/native-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/> -
BOOK/temp-system/native64-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/> -
BOOK/temp-system/ppc-chapter.xml
rd3d4417f r4bb4b626 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/> 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/> 30 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/> -
BOOK/temp-system/ppc64-chapter.xml
rd3d4417f r4bb4b626 28 28 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/> 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file.xml"/> 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/> 30 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/> -
BOOK/temp-system/sparc-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/> -
BOOK/temp-system/sparc64-64-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/> -
BOOK/temp-system/sparc64-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/> -
BOOK/temp-system/x86-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="common/gettext.xml"/> -
BOOK/temp-system/x86_64-64-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="64/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/> -
BOOK/temp-system/x86_64-chapter.xml
rd3d4417f r4bb4b626 29 29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/findutils.xml"/> 30 30 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/file.xml"/> 31 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/flex.xml"/> 31 32 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gawk.xml"/> 32 33 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="multilib/gettext.xml"/>
Note:
See TracChangeset
for help on using the changeset viewer.