1 |
grobian 07/09/12 07:33:24 |
2 |
|
3 |
Modified: bootstrap-linux.xml bootstrap-macos.xml |
4 |
Log: |
5 |
Finish up linux guide, typos |
6 |
|
7 |
Revision Changes Path |
8 |
1.7 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.7&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?rev=1.7&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml?r1=1.6&r2=1.7 |
13 |
|
14 |
Index: bootstrap-linux.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v |
17 |
retrieving revision 1.6 |
18 |
retrieving revision 1.7 |
19 |
diff -u -r1.6 -r1.7 |
20 |
--- bootstrap-linux.xml 10 Sep 2007 07:20:59 -0000 1.6 |
21 |
+++ bootstrap-linux.xml 12 Sep 2007 07:33:23 -0000 1.7 |
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-linux.xml,v 1.6 2007/09/10 07:20:59 grobian Exp $ --> |
26 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-linux.xml,v 1.7 2007/09/12 07:33:23 grobian Exp $ --> |
27 |
|
28 |
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-linux.xml" lang="en"> |
29 |
<title>Gentoo Prefixed Portage Bootstrap Process for Linux</title> |
30 |
@@ -19,8 +19,8 @@ |
31 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
32 |
<license/> |
33 |
|
34 |
- <version>1.0</version> |
35 |
- <date>2007-09-07</date> |
36 |
+ <version>1.1</version> |
37 |
+ <date>2007-09-11</date> |
38 |
|
39 |
<chapter> |
40 |
<title>Bootstrapping on Linux</title> |
41 |
@@ -32,7 +32,7 @@ |
42 |
Bootstrapping on Linux gets simpler with the freshness of the |
43 |
Linux distribution. An old linux distribution requires more |
44 |
bootstrapping. Because the huge variety of Linux |
45 |
- distributions, this guide can only considered to be a mere |
46 |
+ distributions, this document can only considered to be a mere |
47 |
guideline; the actual bootstrap process might require some |
48 |
additional steps based on what goes wrong. When problems |
49 |
occur, please search and post to the <c>gentoo-alt</c> mailing |
50 |
@@ -86,13 +86,16 @@ |
51 |
<pre caption="Use the bootstrap script"> |
52 |
$ <i>chmod 755 bootstrap-prefix.sh</i> |
53 |
$ <i>./bootstrap-prefix.sh $EPREFIX tree</i> |
54 |
+$ <i>./bootstrap-prefix.sh $EPREFIX/tmp wget</i> |
55 |
$ <i>./bootstrap-prefix.sh $EPREFIX/tmp python</i> |
56 |
$ <i>./bootstrap-prefix.sh $EPREFIX portage</i> |
57 |
</pre> |
58 |
- <note>Please note that <c>python</c> is installed in |
59 |
+ <note>Please note that <c>python</c> and <c>wget</c> installed in |
60 |
<path>$EPREFIX/tmp</path>! You can skip bootstrapping |
61 |
python if you already have a working Python 2.4 or better in |
62 |
- your path.</note> |
63 |
+ your path. The same holds for a recent version of wget, but |
64 |
+ since it's a small package you are adviced to bootstrap it |
65 |
+ just in case.</note> |
66 |
<p> |
67 |
The script will setup the <path>$EPREFIX</path> |
68 |
directory, download a portage tree snapshot, unpack it and |
69 |
@@ -101,14 +104,12 @@ |
70 |
for a successful bootstrap: |
71 |
</p> |
72 |
<pre caption="Setup ld directions"> |
73 |
-$ <i>export LDFLAGS="-L${EPREFIX}/usr/lib -Wl,-rpath=${EPREFIX}/usr/lib -L${EPREFIX}/lib -Wl,-rpath=${EPREFIX}/lib"</i> |
74 |
+$ <i>export LDFLAGS="-L${EPREFIX}/usr/lib{64,} -Wl,-rpath=${EPREFIX}/usr/lib{64,} -L${EPREFIX}/lib{64,} -Wl,-rpath=${EPREFIX}/lib{64,}"</i> |
75 |
$ <i>export CPPFLAGS="-I${EPREFIX}/usr/include"</i> |
76 |
</pre> |
77 |
- <note>If you are on a 64-bits Linux system, such as an AMD64 |
78 |
- system, you have to replace <c>lib</c> by <c>lib64</c>.</note> |
79 |
<p> |
80 |
- Because we installed some new applications, we will instruct |
81 |
- bash to reconsider all paths we have: |
82 |
+ In case you bootstrapped python, or any other application, you |
83 |
+ have to instruct bash to reconsider all paths it has: |
84 |
</p> |
85 |
<pre caption="rehash in bash"> |
86 |
$ <i>hash -r</i> |
87 |
@@ -177,14 +178,16 @@ |
88 |
</pre> |
89 |
<p> |
90 |
Finally we emerge <c>python</c>, <c>findutils</c> and |
91 |
- <c>tar</c> in our prefix. These are the last packages that we |
92 |
- temporarily installed to bootstrap our system. |
93 |
+ <c>tar</c> in our prefix. These are the last packages that |
94 |
+ <c>portage</c> uses internally. |
95 |
</p> |
96 |
<pre caption="emerge python"> |
97 |
$ <i>emerge --oneshot --nodeps python</i> |
98 |
$ <i>emerge --oneshot --nodeps findutils</i> |
99 |
$ <i>emerge --oneshot --nodeps tar</i> |
100 |
</pre> |
101 |
+ <note>If you feel above tools are up-to-date enough on your |
102 |
+ system, you may try skipping their installation here.</note> |
103 |
<p> |
104 |
Before we continue to emerge all ebuilds from <c>system</c>, |
105 |
we first install <c>portage</c>. We need to overwrite the |
106 |
@@ -197,7 +200,7 @@ |
107 |
$ <i>env FEATURES="-collision-protect" emerge --oneshot --nodeps portage</i> |
108 |
</pre> |
109 |
<p> |
110 |
- Next, we get GNU <c>awk</c>, as most ebuild expect this |
111 |
+ Next, we get GNU <c>awk</c>, as most ebuilds expect this |
112 |
<c>awk</c> when they use it. |
113 |
</p> |
114 |
<pre caption="emerge gawk"> |
115 |
@@ -216,7 +219,7 @@ |
116 |
Now we're about to start the big work, we remove the temporary |
117 |
directory and its use as we got it all in our prefix now. You |
118 |
may have not used this directory if you didn't bootstrap |
119 |
- python. |
120 |
+ python and wget. |
121 |
</p> |
122 |
<pre caption="remove tmp directory"> |
123 |
$ <i>rm -Rf $EPREFIX/tmp/*</i> |
124 |
|
125 |
|
126 |
|
127 |
1.14 xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml |
128 |
|
129 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.14&view=markup |
130 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?rev=1.14&content-type=text/plain |
131 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml?r1=1.13&r2=1.14 |
132 |
|
133 |
Index: bootstrap-macos.xml |
134 |
=================================================================== |
135 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v |
136 |
retrieving revision 1.13 |
137 |
retrieving revision 1.14 |
138 |
diff -u -r1.13 -r1.14 |
139 |
--- bootstrap-macos.xml 7 Sep 2007 18:30:26 -0000 1.13 |
140 |
+++ bootstrap-macos.xml 12 Sep 2007 07:33:23 -0000 1.14 |
141 |
@@ -1,6 +1,6 @@ |
142 |
<?xml version="1.0" encoding="UTF-8"?> |
143 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
144 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v 1.13 2007/09/07 18:30:26 grobian Exp $ --> |
145 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/proj/en/gentoo-alt/prefix/bootstrap-macos.xml,v 1.14 2007/09/12 07:33:23 grobian Exp $ --> |
146 |
|
147 |
<guide link="/proj/en/gentoo-alt/prefix/bootstrap-macos.xml" lang="en"> |
148 |
<title>Gentoo Prefixed Portage Bootstrap Process for Mac OS X</title> |
149 |
@@ -210,7 +210,7 @@ |
150 |
$ <i>env FEATURES="-collision-protect" emerge --oneshot --nodeps portage</i> |
151 |
</pre> |
152 |
<p> |
153 |
- Next, we get GNU <c>awk</c>, as most ebuild expect this |
154 |
+ Next, we get GNU <c>awk</c>, as most ebuilds expect this |
155 |
<c>awk</c> when they use it. |
156 |
</p> |
157 |
<pre caption="emerge gawk"> |
158 |
|
159 |
|
160 |
|
161 |
-- |
162 |
gentoo-commits@g.o mailing list |