[96b59c1] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[96b59c1] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
[db121c2e] | 8 | <sect1 id="ch-temp-system-file" role="wrap">
|
---|
[96b59c1] | 9 | <?dbhtml filename="file.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>File-&file-version;</title>
|
---|
| 12 |
|
---|
[db121c2e] | 13 | <indexterm zone="ch-temp-system-file">
|
---|
[96b59c1] | 14 | <primary sortas="a-File">File</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
[fd9c7d4] | 17 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 18 | href="../../final-system/common/file.xml"
|
---|
| 19 | xpointer="xpointer(//*[@role='package'])"/>
|
---|
[96b59c1] | 20 |
|
---|
| 21 | <sect2 role="installation">
|
---|
| 22 | <title>Installation of File</title>
|
---|
| 23 |
|
---|
[e244b2a] | 24 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 25 | href="../../final-system/common/file.xml"
|
---|
| 26 | xpointer="xpointer(//*[@os='p1'])"/>
|
---|
| 27 |
|
---|
| 28 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 29 | href="../../final-system/common/file.xml"
|
---|
| 30 | xpointer="xpointer(//*[@os='p2'])"/>
|
---|
| 31 |
|
---|
[6af3a34] | 32 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 33 | href="../../final-system/common/file.xml"
|
---|
| 34 | xpointer="xpointer(//*[@os='p3'])"/>
|
---|
| 35 |
|
---|
| 36 | <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
|
---|
| 37 | href="../../final-system/common/file.xml"
|
---|
| 38 | xpointer="xpointer(//*[@os='p4'])"/>
|
---|
| 39 |
|
---|
[3a545576] | 40 | <para os="ap1">The following patch will fix a compile issue that would prevent
|
---|
[8576055] | 41 | a proper creation of the <filename>magic.mgc</filename> file. This would
|
---|
| 42 | show up as an error messsage.
|
---|
| 43 | <computeroutput>ERROR: file: File &file-version; supports only 6 version
|
---|
| 44 | magic files. `/tools/share/file/magic.mgc' is version 2</computeroutput>:</para>
|
---|
[ba99e10d] | 45 |
|
---|
[3a545576] | 46 | <screen os="ap2"><userinput>patch -Np1 -i ../&file-cross_compile-patch;</userinput></screen>
|
---|
[ba99e10d] | 47 |
|
---|
[96b59c1] | 48 | <para os="a">Prepare File for compilation:</para>
|
---|
| 49 |
|
---|
[fd38b9c] | 50 | <screen os="b"><userinput>./configure --prefix=/tools \
|
---|
| 51 | --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
|
---|
[96b59c1] | 52 |
|
---|
| 53 | <para os="c">Compile the package:</para>
|
---|
| 54 |
|
---|
| 55 | <screen os="d"><userinput>make</userinput></screen>
|
---|
| 56 |
|
---|
| 57 | <para os="f">Install the package:</para>
|
---|
| 58 |
|
---|
[e0ba305] | 59 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
[aa556b8] | 60 |
|
---|
[96b59c1] | 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 | <sect2 role="content">
|
---|
| 64 | <title/>
|
---|
| 65 |
|
---|
| 66 | <para>Details on this package are located in <xref
|
---|
| 67 | linkend="contents-file" role="."/></para>
|
---|
| 68 |
|
---|
| 69 | </sect2>
|
---|
| 70 |
|
---|
| 71 | </sect1>
|
---|