source: BOOK/temp-system/common/patch.xml@ 3d8b4f6

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3d8b4f6 was dabbced, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Change the XInclude schema path from 2003 to 2001. 2003 is depreciated
according to w3.org and 2001 should be used instead.

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[3f8be484]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" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-temp-system-patch" role="wrap">
9 <?dbhtml filename="patch.html"?>
10
11 <title>Patch-&patch-version;</title>
12
13 <indexterm zone="ch-temp-system-patch">
14 <primary sortas="a-Patch">Patch</primary>
15 <secondary>temporary system</secondary>
16 </indexterm>
17
[dabbced]18 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[d0c5f50]19 href="../../final-system/common/patch.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
[3f8be484]21
22 <sect2 role="installation">
23 <title>Installation of Patch</title>
24
[7a63b22a]25 <para os="cc1">When cross-compiling configure cannot properly detect the
26 existance of certain features. Override this behaviour:</para>
27
28<screen os="cc2"><userinput>echo "ac_cv_func_strnlen_working=yes" > config.cache</userinput></screen>
29
[1bc8e5f]30 <para os="a">Prepare Patch for compilation:</para>
[3f8be484]31
[528da83]32<screen os="b"><userinput>./configure --prefix=/tools \
[7a63b22a]33 --build=${CLFS_HOST} --host=${CLFS_TARGET} \
34 --cache-file=config.cache</userinput></screen>
[3f8be484]35
[1bc8e5f]36 <para os="c">Compile the package:</para>
[3f8be484]37
[1bc8e5f]38<screen os="d"><userinput>make</userinput></screen>
[3f8be484]39
[1bc8e5f]40 <para os="e">Install the package:</para>
[3f8be484]41
[bc2e3fa]42<screen os="f"><userinput>make install</userinput></screen>
[3f8be484]43
44 </sect2>
45
46 <sect2 role="content">
47 <title/>
48
49 <para>Details on this package are located in <xref
50 linkend="contents-patch" role="."/></para>
51
52 </sect2>
53
54</sect1>
Note: See TracBrowser for help on using the repository browser.