source: BOOK/boot/ppc64/e2fsprogs.xml@ d4b9e928

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since d4b9e928 was 2beb5fd, checked in by Jim Gifford <clfs@…>, 18 years ago

Update to build to fix e2fsprogs GLIBC Error

  • Property mode set to 100644
File size: 4.0 KB
RevLine 
[c2ec9ae]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-e2fsprogs" role="wrap">
9 <?dbhtml filename="e2fsprogs.html"?>
10
11 <title>E2fsprogs-&e2fsprogs-version;</title>
12
13 <indexterm zone="ch-boot-e2fsprogs">
14 <primary sortas="a-E2fsprogs">E2fsprogs</primary>
15 <secondary>boot</secondary>
16 </indexterm>
17
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
19 href="../../final-system/common/e2fsprogs.xml"
20 xpointer="xpointer(//*[@role='package'])"/>
21
22 <sect2 role="installation">
23 <title>Installation of E2fsprogs</title>
24
[2beb5fd]25 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
26 href="../common/e2fsprogs.xml"
27 xpointer="xpointer(//*[@os='s1'])"/>
28
29 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
30 href="../common/e2fsprogs.xml"
31 xpointer="xpointer(//*[@os='s2'])"/>
32
[6a54d18]33 <para os="a1">This package cannot be cross-compiled for ppc64 on some
34 common architectures. The following patch fixes this:</para>
35
36<screen os="a2"><userinput>patch -Np1 -i ../&e2fsprogs-cross-patch;</userinput></screen>
37
[eb55250]38 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
39 href="../multilib/e2fsprogs.xml"
40 xpointer="xpointer(//*[@os='m1'])"/>
[c2ec9ae]41
[eb55250]42 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
43 href="../multilib/e2fsprogs.xml"
44 xpointer="xpointer(//*[@os='m2'])"/>
[c2ec9ae]45
46 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
47 href="../common/e2fsprogs.xml"
48 xpointer="xpointer(//*[@os='a'])"/>
49
50 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
51 href="../common/e2fsprogs.xml"
52 xpointer="xpointer(//*[@os='b'])"/>
53
54 <para>When cross-compiling configure cannot determine sizes and assumes
55 short=2, int=4, long=4, long long=8. This is not correct for PowerPC64.
56 Adjust the values with:</para>
57
58<!--<screen><userinput>echo "ac_cv_sizeof_long_long=8" &gt; config.cache
59echo "ac_cv_sizeof_long=8" &gt;&gt; config.cache
60echo "ac_cv_sizeof_int=4" &gt;&gt; config.cache
61echo "ac_cv_sizeof_short=2" &gt;&gt; config.cache</userinput></screen>-->
62
63<screen><userinput>echo "ac_cv_sizeof_long=8" &gt; config.cache</userinput></screen>
64
65 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
66 href="../common/e2fsprogs.xml"
67 xpointer="xpointer(//*[@os='c'])"/>
68
69<screen os="aa"><userinput>CC="${CC} ${BUILD64}" ../configure --prefix=/tools \
[6d8c4eb]70--enable-elf-shlibs --disable-evms --with-cc="${CC} ${BUILD64}" --with-linker=${LD} \
[07114c98]71--build=${CLFS_HOST} --host=${CLFS_TARGET} --cache-file=config.cache</userinput></screen>
[c2ec9ae]72
73 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
74 href="../common/e2fsprogs.xml"
75 xpointer="xpointer(//*[@os='e'])"/>
76
[eb55250]77 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
78 href="../64/e2fsprogs.xml"
[191b828]79 xpointer="xpointer(//*[@os='f'])"/>
[c2ec9ae]80
[9680956]81 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
82 href="../common/e2fsprogs.xml"
83 xpointer="xpointer(//*[@os='h'])"/>
84
[c2ec9ae]85 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
86 href="../common/e2fsprogs.xml"
87 xpointer="xpointer(//*[@os='i'])"/>
88
89 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
90 href="../common/e2fsprogs.xml"
91 xpointer="xpointer(//*[@os='j'])"/>
92
93 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
94 href="../common/e2fsprogs.xml"
95 xpointer="xpointer(//*[@os='k'])"/>
96
97 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
98 href="../common/e2fsprogs.xml"
99 xpointer="xpointer(//*[@os='l'])"/>
100
101 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
102 href="../common/e2fsprogs.xml"
103 xpointer="xpointer(//*[@os='ad'])"/>
104
105 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
106 href="../common/e2fsprogs.xml"
107 xpointer="xpointer(//*[@os='ae'])"/>
108
109 </sect2>
110
111 <sect2 role="content">
112 <title/>
113
114 <para>Details on this package are located in <xref
115 linkend="contents-e2fsprogs" role="."/></para>
116
117 </sect2>
118
119</sect1>
Note: See TracBrowser for help on using the repository browser.