source: BOOK/temp-system/common/file.xml @ ba99e10d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since ba99e10d was ba99e10d, checked in by Jim Gifford <clfs@…>, 15 years ago

Added: File Cross Compile Patch to Temp-System

  • Property mode set to 100644
File size: 1.6 KB
Line 
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-file" role="wrap">
9  <?dbhtml filename="file.html"?>
10
11  <title>File-&file-version;</title>
12
13  <indexterm zone="ch-temp-system-file">
14    <primary sortas="a-File">File</primary>
15  </indexterm>
16
17  <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
18  href="../../final-system/common/file.xml"
19  xpointer="xpointer(//*[@role='package'])"/>
20
21  <sect2 role="installation">
22    <title>Installation of File</title>
23
24    <para os="p1">The following patch will fix a compile issue that would prevent
25    a proper creation of magic.mgc file. This would show up as an error messsage.
26    &quote;ERROR: file: File &file-version; supports only 6 version magic files. `/tools/share/file/magic.mgc' is version 2&quote;:</para>
27
28<screen os="p2"><userinput>patch -Np1 -i ../&file-cross_compile-patch;</userinput></screen>
29
30    <para os="a">Prepare File for compilation:</para>
31
32<screen os="b"><userinput>./configure --prefix=/tools \
33    --build=${CLFS_HOST} --host=${CLFS_TARGET}</userinput></screen>
34
35    <para os="c">Compile the package:</para>
36
37<screen os="d"><userinput>make</userinput></screen>
38
39    <para os="f">Install the package:</para>
40
41<screen os="g"><userinput>make install</userinput></screen>
42
43  </sect2>
44
45  <sect2 role="content">
46    <title/>
47
48    <para>Details on this package are located in <xref
49    linkend="contents-file" role="."/></para>
50
51  </sect2>
52
53</sect1>
Note: See TracBrowser for help on using the repository browser.