1 |
grobian 08/05/04 20:25:33 |
2 |
|
3 |
Modified: bootstrap-macos.xml bootstrap-solaris.xml |
4 |
Log: |
5 |
Update Solaris and Mac OS X bootstrap guides to work with the latest snapshot (macos verified) |
6 |
|
7 |
Revision Changes Path |
8 |
1.31 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.31&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.31&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?r1=1.30&r2=1.31 |
13 |
|
14 |
Index: bootstrap-macos.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v |
17 |
retrieving revision 1.30 |
18 |
retrieving revision 1.31 |
19 |
diff -u -r1.30 -r1.31 |
20 |
--- bootstrap-macos.xml 25 Apr 2008 10:49:08 -0000 1.30 |
21 |
+++ bootstrap-macos.xml 4 May 2008 20:25:32 -0000 1.31 |
22 |
@@ -1,6 +1,6 @@ |
23 |
<?xml version="1.0" encoding="UTF-8"?> |
24 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
25 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v 1.30 2008/04/25 10:49:08 grobian Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v 1.31 2008/05/04 20:25:32 grobian Exp $ --> |
27 |
|
28 |
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-macos.xml" lang="en"> |
29 |
<title>Gentoo Prefix Bootstrap Process for Mac OS X</title> |
30 |
@@ -19,8 +19,8 @@ |
31 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
32 |
<license/> |
33 |
|
34 |
- <version>1.9</version> |
35 |
- <date>2008-04-25</date> |
36 |
+ <version>1.10</version> |
37 |
+ <date>2008-05-04</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Bootstrapping on OS X</title> |
41 |
@@ -93,18 +93,21 @@ |
42 |
$ <i>chmod 755 bootstrap-prefix.sh</i> |
43 |
$ <i>./bootstrap-prefix.sh $EPREFIX tree</i> |
44 |
$ <i>./bootstrap-prefix.sh $EPREFIX/tmp wget</i> |
45 |
-$ <i>./bootstrap-prefix.sh $EPREFIX/tmp tar</i> |
46 |
$ <i>./bootstrap-prefix.sh $EPREFIX/tmp sed</i> |
47 |
-$ <i>./bootstrap-prefix.sh $EPREFIX/tmp bash</i> |
48 |
-$ <i>./bootstrap-prefix.sh $EPREFIX/tmp python</i> (10.5: see note!) |
49 |
-$ <i>./bootstrap-prefix.sh $EPREFIX/tmp gawk</i> |
50 |
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp python</i> |
51 |
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp coreutils</i> |
52 |
$ <i>./bootstrap-prefix.sh $EPREFIX/tmp findutils</i> |
53 |
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp tar15</i> |
54 |
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp patch9</i> |
55 |
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp grep</i> |
56 |
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp gawk</i> |
57 |
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp bash</i> |
58 |
$ <i>./bootstrap-prefix.sh $EPREFIX portage</i> |
59 |
</pre> |
60 |
- <note>Mac OS X Leopard (10.5) users should <b>NOT</b> bootstrap |
61 |
- python! It fails to compile and is not necessary.</note> |
62 |
- <note>Please note that <c>wget</c>, <c>sed</c>, <c>python</c>, |
63 |
- etc. are installed in <path>$EPREFIX/tmp</path>!</note> |
64 |
+ <note> |
65 |
+ Please note that <c>wget</c>, <c>sed</c>, <c>python</c>, etc. |
66 |
+ are installed in <path>$EPREFIX/tmp</path>! |
67 |
+ </note> |
68 |
<p> |
69 |
The script will setup the <path>$EPREFIX</path> |
70 |
directory, download a portage tree snapshot, unpack it and |
71 |
@@ -147,9 +150,38 @@ |
72 |
we ignore those for the moment. |
73 |
</p> |
74 |
<pre caption="emerge bash and wget"> |
75 |
-$ <i>emerge --oneshot "<bash-3.2_p33"</i> |
76 |
$ <i>emerge --oneshot --nodeps wget</i> |
77 |
+$ <i>emerge --oneshot bash</i> |
78 |
</pre> |
79 |
+ <note> |
80 |
+ It is safe to ignore the "1 config files in XXX need updating" |
81 |
+ message that appears till the end of the bootstrap process. |
82 |
+ </note> |
83 |
+ <p> |
84 |
+ Now, we will emerge a compiler and linker, setup to make use |
85 |
+ of the Gentoo Prefix environment. The packages to emerge |
86 |
+ include the <c>baselayout</c> package. Some, if not many, |
87 |
+ scripts and tools within a Gentoo system assume the |
88 |
+ availability of the <c>baselayout</c> package for all |
89 |
+ communication using the Gentoo colour scheme. |
90 |
+ </p> |
91 |
+ <pre caption="emerge linker and compiler"> |
92 |
+$ <i>emerge --oneshot --nodeps baselayout-prefix</i> |
93 |
+$ <i>emerge --oneshot --nodeps flex</i> |
94 |
+$ <i>emerge --oneshot --nodeps binutils-config</i> |
95 |
+$ <i>emerge --oneshot --nodeps odcctools</i> |
96 |
+$ <i>emerge --oneshot --nodeps gcc-config</i> |
97 |
+$ <i>emerge --oneshot --nodeps gcc-apple</i> |
98 |
+ </pre> |
99 |
+ <p> |
100 |
+ Since the tools for building are now installed in your Prefix, |
101 |
+ the little helpers we used before are no longer necessary. |
102 |
+ They may even cause trouble, so we unset them. |
103 |
+ </p> |
104 |
+ <pre caption="unset no longer needed environment variables"> |
105 |
+$ <i>unset LDFLAGS CPPFLAGS CHOST CC CXX HOSTCC</i> |
106 |
+ </pre> |
107 |
+ <note>tcsh users can use <c>unsetenv LDFLAGS</c>, etc.</note> |
108 |
<p> |
109 |
We continue getting more tools in our Prefix. We no longer |
110 |
ignore dependencies, so a lot of packages will be emerged at |
111 |
@@ -157,12 +189,13 @@ |
112 |
here. |
113 |
</p> |
114 |
<pre caption="emerge several tools"> |
115 |
-$ <i>emerge --oneshot "<m4-1.4.11"</i> |
116 |
$ <i>emerge --oneshot coreutils</i> |
117 |
$ <i>emerge --oneshot findutils</i> |
118 |
$ <i>emerge --oneshot tar</i> |
119 |
$ <i>emerge --oneshot grep</i> |
120 |
$ <i>emerge --oneshot gawk</i> |
121 |
+$ <i>emerge --oneshot patch</i> |
122 |
+$ <i>emerge --oneshot make</i> |
123 |
</pre> |
124 |
<p> |
125 |
Now we have a good bunch of programs that Portage needs, we |
126 |
@@ -176,15 +209,6 @@ |
127 |
$ <i>env FEATURES="-collision-protect" emerge --oneshot portage</i> |
128 |
</pre> |
129 |
<p> |
130 |
- Some, if not many, scripts and tools within a Gentoo system |
131 |
- assume the availability of the <c>baselayout</c> package. We |
132 |
- make sure here we have it, for this reason. In fact, it would |
133 |
- be emerged too late if we wouldn't do it manually now: |
134 |
- </p> |
135 |
- <pre caption="emerge baselayout-prefix"> |
136 |
-$ <i>emerge --oneshot baselayout-prefix</i> |
137 |
- </pre> |
138 |
- <p> |
139 |
Now we have emerged everything we bootstrapped before, we |
140 |
remove the temporary directory and its use as it is no longer |
141 |
necessary. |
142 |
@@ -250,21 +274,14 @@ |
143 |
</note> |
144 |
<p> |
145 |
Since we have everything in place for a self-catered rebuild, |
146 |
- we can unset all hacks we made to help the bootstrap process, |
147 |
- and start the final stage to install the Prefix system. This |
148 |
- final stage recompiles everything in the system, but now all |
149 |
- packages can be compiled with tools from the Prefix, instead |
150 |
- of those from the host system. |
151 |
- </p> |
152 |
- <pre caption="Unsetting LDFLAGS and CPPFLAGS variables"> |
153 |
-$ <i>unset LDFLAGS</i> |
154 |
-$ <i>unset CPPFLAGS</i> |
155 |
+ we can start the final stage to install the Prefix system. |
156 |
+ This final stage recompiles everything in the system, but now |
157 |
+ all packages can be compiled with tools from the Prefix, |
158 |
+ instead of those from the host system. |
159 |
+ </p> |
160 |
+ <pre caption="doing the final system installation"> |
161 |
$ <i>emerge -e system</i> |
162 |
</pre> |
163 |
- <note> |
164 |
- tcsh users can use <c>unsetenv LDFLAGS</c> and alike for |
165 |
- <c>CPPFLAGS</c>. |
166 |
- </note> |
167 |
<p> |
168 |
After <c>system</c> has emerged successfully, your Prefix will |
169 |
be set up properly, and you can emerge the whichever tools you |
170 |
|
171 |
|
172 |
|
173 |
1.26 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml |
174 |
|
175 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?rev=1.26&view=markup |
176 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?rev=1.26&content-type=text/plain |
177 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml?r1=1.25&r2=1.26 |
178 |
|
179 |
Index: bootstrap-solaris.xml |
180 |
=================================================================== |
181 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v |
182 |
retrieving revision 1.25 |
183 |
retrieving revision 1.26 |
184 |
diff -u -r1.25 -r1.26 |
185 |
--- bootstrap-solaris.xml 19 Apr 2008 20:14:55 -0000 1.25 |
186 |
+++ bootstrap-solaris.xml 4 May 2008 20:25:32 -0000 1.26 |
187 |
@@ -1,6 +1,6 @@ |
188 |
<?xml version="1.0" encoding="UTF-8"?> |
189 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
190 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v 1.25 2008/04/19 20:14:55 grobian Exp $ --> |
191 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml,v 1.26 2008/05/04 20:25:32 grobian Exp $ --> |
192 |
|
193 |
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml" lang="en"> |
194 |
<title>Gentoo Prefix Bootstrap Process for Solaris</title> |
195 |
@@ -19,8 +19,8 @@ |
196 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
197 |
<license/> |
198 |
|
199 |
- <version>1.7</version> |
200 |
- <date>2008-04-19</date> |
201 |
+ <version>1.8</version> |
202 |
+ <date>2008-05-04</date> |
203 |
|
204 |
<chapter> |
205 |
<title>Bootstrapping on Solaris 10</title> |
206 |
@@ -124,8 +124,8 @@ |
207 |
$ <i>./bootstrap-prefix.sh $EPREFIX portage</i> |
208 |
</pre> |
209 |
<note> |
210 |
- Please note that <c>wget</c>, <c>sed</c>, etc. are installed |
211 |
- in <path>$EPREFIX/tmp</path>! |
212 |
+ Please note that <c>wget</c>, <c>sed</c>, <c>python</c>, etc. |
213 |
+ are installed in <path>$EPREFIX/tmp</path>! |
214 |
</note> |
215 |
<p> |
216 |
The script will setup the <path>$EPREFIX</path> |
217 |
@@ -168,8 +168,8 @@ |
218 |
we ignore those for the moment. |
219 |
</p> |
220 |
<pre caption="emerge bash and wget"> |
221 |
-$ <i>emerge --oneshot "<bash-3.2_p33"</i> |
222 |
$ <i>emerge --oneshot --nodeps wget</i> |
223 |
+$ <i>emerge --oneshot bash</i> |
224 |
</pre> |
225 |
<note> |
226 |
It is safe to ignore the "1 config files in XXX need updating" |
227 |
@@ -187,7 +187,6 @@ |
228 |
Gentoo colour scheme. |
229 |
</p> |
230 |
<pre caption="emerge linker and compiler"> |
231 |
-$ <i>emerge --oneshot "<m4-1.4.11"</i> |
232 |
$ <i>emerge --oneshot --nodeps baselayout-prefix</i> |
233 |
$ <i>emerge --oneshot --nodeps flex</i> |
234 |
$ <i>emerge --oneshot --nodeps binutils-config</i> (64-bits: see note!) |
235 |
|
236 |
|
237 |
|
238 |
-- |
239 |
gentoo-commits@l.g.o mailing list |