summaryrefslogtreecommitdiff
blob: 03cba431aa3de4385a516b2f2e550e079d4cf5d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2010-10-21 23:56+0600\n"
"PO-Revision-Date: 2010-10-21 23:46+0600\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: ru\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(guide:link):5
msgid "/doc/en/change-chost.xml"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(guide:lang):5
msgid "en"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(title):7
#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(title):59
msgid "Changing the CHOST variable"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(author:title):9
msgid "Author"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(mail:link):10
msgid "amne@gentoo.org"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(mail):10
msgid "Wernfried Haas"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(author:title):12
msgid "Reviewer"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(mail:link):13
msgid "vapier@gentoo.org"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(mail):13
msgid "Mike Frysinger"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(author:title):15
msgid "Editor"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(mail:link):16
msgid "chriswhite@gentoo.org"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(mail):16
msgid "Chris White"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(abstract):19
msgid ""
"This document explains how to change the CHOST variable of an existing "
"system."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(version):27
msgid "3"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(date):28
msgid "2008-07-29"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(title):31
msgid "Introduction"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):35
msgid ""
"Changing the CHOST is a big issue that can seriously screw up your system - "
"so why is there a guide for that it at all?"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):40
msgid ""
"There are certain situations where changing the CHOST is inevitable, e.g. if "
"you want to upgrade to glibc 2.4 which only supports nptl and you find out "
"that your CHOST is i386, which makes it impossible to use nptl. In this "
"case, you don't have a lot of options, and changing CHOST is one of them."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):47
msgid ""
"Even if following these instructions, problems may arise, so please make "
"sure you read and execute them very carefully. In this example the CHOST "
"will be changed from i386 to i686, if you do another change, please change "
"the commands accordingly."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(title):61
msgid "Building the packages"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):64
msgid ""
"To start out with the CHOST change, edit the <path>/etc/make.conf</path> "
"file and change <b>CHOST</b> value to suit your needs. Then, rebuild the "
"following packages in this order:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):70
msgid "Rebuilding important system tools"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):70
#, no-wrap
msgid ""
"\n"
"# <i>emerge -av1 binutils gcc glibc</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(impo):74
msgid ""
"Please be aware that major gcc upgrades at the same time as changing CHOST "
"(e.g. starting with gcc 3.3, CHOST i386 and switching to gcc 4.1, CHOST "
"i686) can lead to severe side effects. While it may not be impossible to do "
"so, it is hard to predict which potential problems may arise and document "
"them in this guide. As a consequence, please do one thing at a time, e.g. "
"upgrade gcc first according to our <uri link=\"/doc/en/gcc-upgrading.xml"
"\">gcc upgrade guide</uri> and change your CHOST afterwards. If you are on a "
"system with CHOST=i386, you will need to mask glibc 2.4 (or newer) during "
"the gcc upgrade as it cannot be used with i386 and unmask it once you're "
"done."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(title):89
msgid "Verifying things work"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):92
msgid ""
"Now it is time to make sure that your <c>gcc-config</c> and <c>binutils-"
"config</c> settings are sane and you do not have any leftovers in <path>/etc/"
"env.d/</path>."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):98
msgid ""
"The output of <c>gcc-config</c> and <c>binutils-config</c> should look like "
"this (may differ according to your gcc version and chost, gcc 4.1.1 and i686 "
"here):"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):104
msgid "Verifying a sane setup"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):104
#, no-wrap
msgid ""
"\n"
"# <i>gcc-config -l</i>\n"
" [1] i686-pc-linux-gnu-4.1.1 *\n"
"# <i>gcc-config -c</i>\n"
"i686-pc-linux-gnu-4.1.1\n"
"\n"
"# <i>binutils-config -l</i>\n"
" [1] i686-pc-linux-gnu-2.16.1 *\n"
"# <i>binutils-config -c</i>\n"
"i686-pc-linux-gnu-2.16.1\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):116
msgid ""
"Next, check to see if there are references to the old CHOST in <path>/etc/"
"env.d/</path>:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):121
msgid "Checking for old CHOST references"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):121
#, no-wrap
msgid ""
"\n"
"# <i>cd /etc/env.d/</i>\n"
"# <i>grep 386 *</i>\n"
"05gcc-i386-pc-linux-gnu:PATH=\"/usr/i386-pc-linux-gnu/gcc-bin/4.1.1\"\n"
"05gcc-i386-pc-linux-gnu:ROOTPATH=\"/usr/i386-pc-linux-gnu/gcc-bin/4.1.1\"\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(note):128
msgid ""
"This may not happen to you, but in this case 05gcc-i386-pc-linux-gnu "
"contains references to the old CHOST. Things may look differently on your "
"system depending on which CHOST you are changing to/from, or even be just "
"fine. The name may also be 05gcc-your_new_CHOST-pc-linux-gnu."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):135
msgid "Before deleting the file, let's check for files with the updated CHOST:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):139
msgid "Checking for files with the updated CHOST"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):139
#, no-wrap
msgid ""
"\n"
"# <i>grep 686 *</i>\n"
"05binutils:MANPATH=/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/man\n"
"05binutils:INFOPATH=/usr/share/binutils-data/i686-pc-linux-gnu/2.16.1/info\n"
"05binutils:LDPATH=/usr/i686-pc-linux-gnu/lib\n"
"05gcc:PATH=\"/usr/i686-pc-linux-gnu/gcc-bin/4.1.1\"\n"
"05gcc:ROOTPATH=\"/usr/i686-pc-linux-gnu/gcc-bin/4.1.1\"\n"
"05gcc:MANPATH=\"/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man\"\n"
"05gcc:INFOPATH=\"/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info\"\n"
"05gcc:LDPATH=\"/usr/lib/gcc/i686-pc-linux-gnu/4.1.1\"\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):151
msgid ""
"This one looks good as there should always be only one file for <c>gcc</c> "
"in <path>/etc/env.d/</path> (05gcc in this example), so let's delete the one "
"with the wrong references:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):157
msgid "Removing the files with incorrect references"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):157
#, no-wrap
msgid ""
"\n"
"# <i>rm 05gcc-i386-pc-linux-gnu</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):161
msgid ""
"The same also applies to <c>binutils</c> - if there's an extra one, see "
"which is the outdated one and delete it. Next, check your <path>/etc/env.d/"
"binutils/</path>"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):167
msgid "Checking for correct binutils"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):167
#, no-wrap
msgid ""
"\n"
"# <i>cd /etc/env.d/binutils/</i>\n"
"# <i>ls -la</i>\n"
"total 8\n"
"-rw-r--r-- 1 root root  15 Sep  3 13:48 config-i686-pc-linux-gnu\n"
"-rw-r--r-- 1 root root 126 Sep  3 13:48 i686-pc-linux-gnu-2.16.1\n"
"\n"
"# <i>cat config-i686-pc-linux-gnu</i>\n"
"CURRENT=2.16.1\n"
"# <i>cat i686-pc-linux-gnu-2.16.1</i>\n"
"TARGET=\"i686-pc-linux-gnu\"\n"
"VER=\"2.16.1\"\n"
"LIBPATH=\"/usr/lib/binutils/i686-pc-linux-gnu/2.16.1\"\n"
"FAKE_TARGETS=\"i686-pc-linux-gnu\"\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):183
msgid ""
"That one looks good, those two files actually should be there. Time to move "
"on to the gcc directory."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):188
msgid "Checking for correct gcc"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):188
#, no-wrap
msgid ""
"\n"
"# <i>cd /etc/env.d/gcc</i>\n"
"# <i>ls -la</i>\n"
"total 12\n"
"-rw-r--r-- 1 root root  32 Sep  3 16:43 config\n"
"-rw-r--r-- 1 root root  32 Aug  3 14:25 config-i386-pc-linux-gnu\n"
"-rw-r--r-- 1 root root 292 Sep  3 16:43 i686-pc-linux-gnu-4.1.1\n"
"\n"
"# <i>cat config</i>\n"
"CURRENT=i686-pc-linux-gnu-4.1.1\n"
"\n"
"# <i>cat config-i386-pc-linux-gnu</i>\n"
"CURRENT=i386-pc-linux-gnu-4.1.1\n"
"\n"
"# <i>cat i686-pc-linux-gnu-4.1.1</i>\n"
"PATH=\"/usr/i686-pc-linux-gnu/gcc-bin/4.1.1\"\n"
"ROOTPATH=\"/usr/i686-pc-linux-gnu/gcc-bin/4.1.1\"\n"
"LDPATH=\"/usr/lib/gcc/i686-pc-linux-gnu/4.1.1\"\n"
"GCCBITS=\"32\"\n"
"MANPATH=\"/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/man\"\n"
"INFOPATH=\"/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/info\"\n"
"STDCXX_INCDIR=\"g++-v4\"\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):212
msgid ""
"<path>config</path> and <path>i686-pc-linux-gnu-4.1.1</path> are fine, but "
"<path>config-i386-pc-linux-gnu</path> is another leftover that needs removal."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(note):217
msgid ""
"Again, the name of the file containing references to an outdated gcc version "
"may have a different name, e.g. config-i686-pc-linux-gnu even though you are "
"changing to i686. It is important you identify the file on its content, not "
"only the name."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):224
msgid "Removing the incorrect gcc config file"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):224
#, no-wrap
msgid ""
"\n"
"# <i>rm config-i386-pc-linux-gnu</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):228
msgid "Now run the following commands to update your environment:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):232
msgid "Updating the environment"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):232
#, no-wrap
msgid ""
"\n"
"# <i>env-update &amp;&amp; source /etc/profile</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):236
msgid "Then verify everything is fixed:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):240
msgid "Verifying refernces to the old CHOST are removed"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):240
#, no-wrap
msgid ""
"\n"
"# <i>grep -r 386 /etc/env.d/</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):244
msgid ""
"If you still find something, you must have missed some file, try to track it "
"down before going on."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(title):252
msgid "Finishing The Change"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):255
msgid ""
"Now it is necessary to re-emerge <c>libtool</c> and run <c>/usr/share/gcc-"
"data/$CHOST/&lt;gcc-version&gt;/fix_libtool_files.sh</c>. Make sure to use "
"the correct gcc version (your current one, 4.1.1 here, and the old "
"architecture, i386 here). Replace $CHOST with your new CHOST, and &lt;gcc-"
"version&gt; with your gcc version. This example assumes a CHOST of i686."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):264
msgid "Ensuring library sanity"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):264
#, no-wrap
msgid ""
"\n"
"# <i>emerge -av1 libtool</i>\n"
"# <i>/usr/share/gcc-data/i686-pc-linux-gnu/4.1.1/fix_libtool_files.sh 4.1.1 --oldarch i386-pc-linux-gnu</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):269
msgid "You may want to rebuild all your packages:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):273
msgid "Rebuilding world"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):273
#, no-wrap
msgid ""
"\n"
"# <i>emerge -e world</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):277
msgid ""
"Now, in theory it should not be necessary to do so, but it can not be 100% "
"guaranteed that this is actually the case. If you do not recompile the world "
"target, I have been told at least some packages need recompiling, so you "
"should do:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):284
msgid "Remerging python"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):284
#, no-wrap
msgid ""
"\n"
"# <i>emerge -av1 python</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):288
msgid ""
"All packages using perl install to the CHOST directory and hence need "
"remerging. In case you haven't installed <c>qfile</c>, you will need to "
"install <c>app-portage/portage-utils</c> first."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):294
msgid "Remerging perl packages"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):294
#, no-wrap
msgid ""
"\n"
"# <i>emerge -av portage-utils</i>\n"
"# <i>emerge -av1 `qfile /usr/lib/perl* -Cq | sort -u`</i>\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):299
msgid ""
"If you encounter other packages that need recompiling, please let the author "
"of this document know."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(title):307
msgid "Common problems"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):310
msgid ""
"When upgrading from gcc 3.3 to 4.1 at the same time as changing the CHOST "
"(please don't do that anyway), a couple of users reported broken packages "
"that need recompiling, such as groff and courier:"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre:caption):316
msgid "Error messsage"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(pre):316
#, no-wrap
msgid ""
"\n"
"error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory\n"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):320
msgid ""
"This happens because during the upgrade, the CHOST doesn't exactly match "
"CTARGET and the compiler assumes cross-compiling. As a consequence, LDPATH "
"isn't inserted into <path>ld.so.conf</path>, resulting in this error."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):326
msgid ""
"Please see our <uri link=\"/doc/en/gcc-upgrading.xml\">gcc upgrade guide</"
"uri> for what needs to be rebuilt after a gcc upgrade."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):331
msgid ""
"In some rare cases, this can break old versions of python, too. This may be "
"fixed by adding <path>/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.6</path> "
"(change accordingly to your old chost and gcc version) to <path>/etc/ld.so."
"conf</path>, running <c>ldconfig</c> and then <c>emerge libstdc++-v3</c>. "
"However, as you can see, you really should avoid running into this problem - "
"don't change CHOST and your gcc version at the same time."
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(title):343
msgid "Feedback"
msgstr ""

#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(p):346
msgid ""
"That should be all, feedback (both if it worked, failed or other problems "
"were encountered) is welcome, please send an email to <mail>amne@gentoo.org</"
"mail> or post to <uri link=\"http://forums.gentoo.org/viewtopic-t-494147.html"
"\">this forums thread</uri>. Much in this howto comes from vapier, thanks "
"for your help!"
msgstr ""

#. Place here names of translator, one per line. Format should be NAME; ROLE; E-MAIL
#: ../../gentoo/xml/htdocs/doc/en//change-chost.xml(None):0
msgid "translator-credits"
msgstr ""