| 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-gawk" role="wrap"> | 
|---|
| 9 | <?dbhtml filename="gawk.html"?> | 
|---|
| 10 |  | 
|---|
| 11 | <title>Gawk-&gawk-version;</title> | 
|---|
| 12 |  | 
|---|
| 13 | <indexterm zone="ch-temp-system-gawk"> | 
|---|
| 14 | <primary sortas="a-Gawk">Gawk</primary> | 
|---|
| 15 | <secondary>temporary system</secondary> | 
|---|
| 16 | </indexterm> | 
|---|
| 17 |  | 
|---|
| 18 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" | 
|---|
| 19 | href="../../final-system/common/gawk.xml" | 
|---|
| 20 | xpointer="xpointer(//*[@role='package'])"/> | 
|---|
| 21 |  | 
|---|
| 22 | <sect2 role="installation"> | 
|---|
| 23 | <title>Installation of Gawk</title> | 
|---|
| 24 |  | 
|---|
| 25 | <para os="s1">Apply a sed which will allow the build system to complete without error:</para> | 
|---|
| 26 |  | 
|---|
| 27 | <screen os="s2"><userinput>cp -v extension/Makefile.in{,.orig} | 
|---|
| 28 | sed -e 's/check-recursive all-recursive: check-for-shared-lib-support/check-recursive all-recursive:/' \ | 
|---|
| 29 | extension/Makefile.in.orig > extension/Makefile.in</userinput></screen> | 
|---|
| 30 |  | 
|---|
| 31 | <para os="a">Prepare Gawk for compilation:</para> | 
|---|
| 32 |  | 
|---|
| 33 | <screen os="b"><userinput>./configure --prefix=/tools \ | 
|---|
| 34 | --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen> | 
|---|
| 35 |  | 
|---|
| 36 | <para os="c">Compile the package:</para> | 
|---|
| 37 |  | 
|---|
| 38 | <screen os="d"><userinput>make</userinput></screen> | 
|---|
| 39 |  | 
|---|
| 40 | <para os="e">Install the package:</para> | 
|---|
| 41 |  | 
|---|
| 42 | <screen os="f"><userinput>make install</userinput></screen> | 
|---|
| 43 |  | 
|---|
| 44 | </sect2> | 
|---|
| 45 |  | 
|---|
| 46 | <sect2 role="content"> | 
|---|
| 47 | <title/> | 
|---|
| 48 |  | 
|---|
| 49 | <para>Details on this package are located in <xref | 
|---|
| 50 | linkend="contents-gawk" role="."/></para> | 
|---|
| 51 |  | 
|---|
| 52 | </sect2> | 
|---|
| 53 |  | 
|---|
| 54 | </sect1> | 
|---|