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

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 658135a was 8415b6e, checked in by Chris Staub <chris@…>, 15 years ago

Fixes for package list in index

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