Subversion Repositories svn LFS-FR

Rev

Rev 7248 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7247 jlepiller 1
# SOME DESCRIPTIVE TITLE
2
# Copyright (C) YEAR Free Software Foundation, Inc.
3
# This file is distributed under the same license as the PACKAGE package.
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
#
6
#, fuzzy
7
msgid ""
8
msgstr ""
9
"Project-Id-Version: PACKAGE VERSION\n"
10
"POT-Creation-Date: 2017-03-12 09:47+0100\n"
11
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
"Language-Team: LANGUAGE <LL@li.org>\n"
14
"Language: \n"
15
"MIME-Version: 1.0\n"
16
"Content-Type: text/plain; charset=CHARSET\n"
17
"Content-Transfer-Encoding: 8bit\n"
18
 
19
#. type: Content of: <h1>
20
#: faq-en.html:2
21
#, no-wrap
22
msgid "LFS Frequently Asked Questions"
23
msgstr ""
24
 
25
#. type: Content of: <p>
26
#: faq-en.html:3
27
#, no-wrap
28
msgid "The FAQ is divided in three documents. The "
29
msgstr ""
30
 
31
#. type: Content of: <p><a>
32
#: faq-en.html:4
33
#, no-wrap
34
msgid "General FAQ"
35
msgstr ""
36
 
37
#. type: Content of: <p>
38
#: faq-en.html:4
39
#, no-wrap
40
msgid ""
41
" has links to all questions and\n"
42
"      answers. The "
43
msgstr ""
44
 
45
#. type: Content of: <p><a>
46
#: faq-en.html:5
47
#, no-wrap
48
msgid "LFS FAQ"
49
msgstr ""
50
 
51
#. type: Content of: <p>
52
#: faq-en.html:5
53
#, no-wrap
54
msgid ""
55
" is a selection of\n"
56
"      LFS-specific FAQ's and the "
57
msgstr ""
58
 
59
#. type: Content of: <p><a>
60
#: faq-en.html:6
61
#, no-wrap
62
msgid "BLFS FAQ"
63
msgstr ""
64
 
65
#. type: Content of: <p>
66
#: faq-en.html:6
67
#, no-wrap
68
msgid ""
69
" is a\n"
70
"      selection of BLFS-specific FAQ's."
71
msgstr ""
72
 
73
#. type: Content of: <h3>
74
#: faq-en.html:9 faq-en.html:65
75
#, no-wrap
76
msgid "Frequently Requested Enhancements"
77
msgstr ""
78
 
79
#. type: Content of: <dl><dt>
80
#: faq-en.html:11 faq-en.html:67
81
#, no-wrap
82
msgid "Why not use LILO instead of GRUB?"
83
msgstr ""
84
 
85
#. type: Content of: <ul><li><a>
86
#: faq-en.html:12
87
#, no-wrap
88
msgid "Why not upgrade LILO to the latest version?"
89
msgstr ""
90
 
91
#. type: Content of: <dl><dt>
92
#: faq-en.html:13 faq-en.html:78
93
#, no-wrap
94
msgid "Why not include the FAQ in the book?"
95
msgstr ""
96
 
97
#. type: Content of: <dl><dt>
98
#: faq-en.html:14 faq-en.html:87
99
#, no-wrap
100
msgid "Why is vim in the book?"
101
msgstr ""
102
 
103
#. type: Content of: <dl><dt>
104
#: faq-en.html:15 faq-en.html:92
105
#, no-wrap
106
msgid "Why is HJL's Binutils not in the book?"
107
msgstr ""
108
 
109
#. type: Content of: <dl><dt>
110
#: faq-en.html:16 faq-en.html:149
111
#, no-wrap
112
msgid "Why isn't some package manager in the book?"
113
msgstr ""
114
 
115
#. type: Content of: <dl><dt>
116
#: faq-en.html:17 faq-en.html:200
117
#, no-wrap
118
msgid "How do I make my machine poweroff when shut down?"
119
msgstr ""
120
 
121
#. type: Content of: <h3>
122
#: faq-en.html:19 faq-en.html:223
123
#, no-wrap
124
msgid "When reading and building LFS"
125
msgstr ""
126
 
127
#. type: Content of: <dl><dt>
128
#: faq-en.html:21 faq-en.html:225
129
#, no-wrap
130
msgid "What distribution should I use to start from?"
131
msgstr ""
132
 
133
#. type: Content of: <dl><dt>
134
#: faq-en.html:22 faq-en.html:236
135
#, no-wrap
136
msgid "How do I compile a kernel or set up modules?"
137
msgstr ""
138
 
139
#. type: Content of: <dl><dt>
140
#: faq-en.html:23 faq-en.html:244
141
#, no-wrap
142
msgid "Are compiler warnings from GCC bad?"
143
msgstr ""
144
 
145
#. type: Content of: <ul><li><a>
146
#: faq-en.html:24
147
#, no-wrap
148
msgid "Do I need to keep the source after installing?"
149
msgstr ""
150
 
151
#. type: Content of: <dl><dt>
152
#: faq-en.html:25 faq-en.html:274
153
#, no-wrap
154
msgid "How do I make that really small install the book mentions?"
155
msgstr ""
156
 
157
#. type: Content of: <dl><dt>
158
#: faq-en.html:26 faq-en.html:283
159
#, no-wrap
160
msgid "Is there information about building LFS on other processors?"
161
msgstr ""
162
 
163
#. type: Content of: <dl><dt>
164
#: faq-en.html:27 faq-en.html:293
165
#, no-wrap
166
msgid "How do I cross compile LFS?"
167
msgstr ""
168
 
169
#. type: Content of: <dl><dt>
170
#: faq-en.html:28 faq-en.html:306
171
#, no-wrap
172
msgid "What's a DOS format text file?"
173
msgstr ""
174
 
175
#. type: Content of: <dl><dt>
176
#: faq-en.html:29 faq-en.html:341
177
#, no-wrap
178
msgid "Is there a way to download all current files at one time?"
179
msgstr ""
180
 
181
#. type: Content of: <h3>
182
#: faq-en.html:31 faq-en.html:354
183
#, no-wrap
184
msgid "General compilation errors"
185
msgstr ""
186
 
187
#. type: Content of: <dl><dt>
188
#: faq-en.html:33 faq-en.html:356
189
#, no-wrap
190
msgid "I used a patch from GNU to upgrade. Is that OK?"
191
msgstr ""
192
 
193
#. type: Content of: <dl><dt>
194
#: faq-en.html:34 faq-en.html:369
195
#, no-wrap
196
msgid "When using optimization flags (setting CFLAGS)"
197
msgstr ""
198
 
199
#. type: Content of: <ul><li><a>
200
#: faq-en.html:35
201
#, no-wrap
202
msgid "Why does configure hang at &quot;checking for signed size_t type...&quot;?"
203
msgstr ""
204
 
205
#. type: Content of: <dl><dt>
206
#: faq-en.html:36 faq-en.html:390
207
#, no-wrap
208
msgid "I didn't delete the source tree after my last attempt. Do I need to?"
209
msgstr ""
210
 
211
#. type: Content of: <dl><dt>
212
#: faq-en.html:37 faq-en.html:400
213
#, no-wrap
214
msgid "I'm getting `/dev/null: Permission denied'"
215
msgstr ""
216
 
217
#. type: Content of: <dl><dt>
218
#: faq-en.html:38 faq-en.html:415
219
#, no-wrap
220
msgid "signal 11 (internal error: Segmentation fault)"
221
msgstr ""
222
 
223
#. type: Content of: <dl><dt>
224
#: faq-en.html:39 faq-en.html:428
225
#, no-wrap
226
msgid "No such file or directory"
227
msgstr ""
228
 
229
#. type: Content of: <dl><dt>
230
#: faq-en.html:40 faq-en.html:447
231
#, no-wrap
232
msgid "bash: ./configure: No such file or directory"
233
msgstr ""
234
 
235
#. type: Content of: <dl><dt>
236
#: faq-en.html:41 faq-en.html:451
237
#, no-wrap
238
msgid "./configure: bad interpreter: Permission denied"
239
msgstr ""
240
 
241
#. type: Content of: <dl><dt>
242
#: faq-en.html:42 faq-en.html:465
243
#, no-wrap
244
msgid "configure can't guess my host type."
245
msgstr ""
246
 
247
#. type: Content of: <dl><dd><div><p>
248
#: faq-en.html:43 faq-en.html:483 faq-en.html:487
249
#, no-wrap
250
msgid "checking whether we are using GNU C... no"
251
msgstr ""
252
 
253
#. type: Content of: <ul><li><a>
254
#: faq-en.html:44
255
#, no-wrap
256
msgid "The system has no more ptys.  Ask your system administrator to create more."
257
msgstr ""
258
 
259
#. type: Content of: <h3>
260
#: faq-en.html:46 faq-en.html:562
261
#, no-wrap
262
msgid "Package-specific errors"
263
msgstr ""
264
 
265
#. type: Content of: <dl><dt>
266
#: faq-en.html:48 faq-en.html:564
267
#, no-wrap
268
msgid "GCC: Error: Unknown pseudo-op: `.hidden'"
269
msgstr ""
270
 
271
#. type: Content of: <dl><dt>
272
#: faq-en.html:49 faq-en.html:572
273
#, no-wrap
274
msgid "Glibc fails and mentions BEGIN and END."
275
msgstr ""
276
 
277
#. type: Content of: <dl><dt>
278
#: faq-en.html:50 faq-en.html:596
279
#, no-wrap
280
msgid "Glibc compilation errors out due to a missing nss.h header file"
281
msgstr ""
282
 
283
#. type: Content of: <ul><li><a>
284
#: faq-en.html:51
285
#, no-wrap
286
msgid "Ncurses: C++ preprocessor &quot;/lib/cpp&quot; fails sanity check"
287
msgstr ""
288
 
289
#. type: Content of: <h3>
290
#: faq-en.html:53 faq-en.html:621
291
#, no-wrap
292
msgid "Configuration and booting issues"
293
msgstr ""
294
 
295
#. type: Content of: <dl><dt>
296
#: faq-en.html:55 faq-en.html:623
297
#, no-wrap
298
msgid "Kernel panic: VFS: unable to mount root fs"
299
msgstr ""
300
 
301
#. type: Content of: <ul><li><a>
302
#: faq-en.html:56
303
#, no-wrap
304
msgid "init: Id &quot;1&quot; respawning too fast: disabled for 5 minutes"
305
msgstr ""
306
 
307
#. type: Content of: <dl><dt>
308
#: faq-en.html:57 faq-en.html:646
309
#, no-wrap
310
msgid "modprobe: Can't locate module char-major-10-135"
311
msgstr ""
312
 
313
#. type: Content of: <dl><dt>
314
#: faq-en.html:58 faq-en.html:659
315
#, no-wrap
316
msgid "modprobe: Can't locate module /dev/rtc"
317
msgstr ""
318
 
319
#. type: Content of: <ul><li><a>
320
#: faq-en.html:59
321
#, no-wrap
322
msgid "eth0:unknown interface"
323
msgstr ""
324
 
325
#. type: Content of: <ul><li><a>
326
#: faq-en.html:60
327
#, no-wrap
328
msgid "spurious 8259A interrupt: IRQ14"
329
msgstr ""
330
 
331
#. type: Content of: <dl><dt>
332
#: faq-en.html:61 faq-en.html:701
333
#, no-wrap
334
msgid "Why does less (and therefore man) print &lt;AD&gt; instead of hyphens?"
335
msgstr ""
336
 
337
#. type: Content of: <dl><dd><p>
338
#: faq-en.html:69
339
#, no-wrap
340
msgid ""
341
"Since LFS-5.0, released 5 November 2003, LFS uses Grub instead of\n"
342
"          Lilo. Grub was chosen because it doesn't require reinstallation "
343
"after\n"
344
"          a kernel upgrade and has a very nice rescue console. "
345
msgstr ""
346
 
347
#. type: Content of: <dl><dd><p>
348
#: faq-en.html:72
349
#, no-wrap
350
msgid ""
351
" If your current setup uses LILO or you'd like to use it anyway,\n"
352
"          you can, but beware you will also need to install BIN86 and, for "
353
"the\n"
354
"          latest LILO versions, NASM. However, don't preach about it on the "
355
"LFS\n"
356
"          mailinglists, since we've had many flamewars about it in the "
357
"past.\n"
358
"          "
359
msgstr ""
360
 
361
#. type: Content of: <dl><dd><p>
362
#: faq-en.html:80
363
#, no-wrap
364
msgid "Marc Heerdink may have said it best in a post to lfs-dev:"
365
msgstr ""
366
 
367
#. type: Content of: <dl><dd><blockquote><p>
368
#: faq-en.html:81
369
#, no-wrap
370
msgid ""
371
"The problem is that the FAQ is a dynamic document. The\n"
372
"          FAQ for a book release is released only after the book version\n"
373
"          itself, because the FAQ is updated to reflect the Qs asked about "
374
"the\n"
375
"          current version of the book. A link is better, since you'll "
376
"always\n"
377
"          have the most up-to-date answers handy."
378
msgstr ""
379
 
380
#. type: Content of: <dl><dd><p>
381
#: faq-en.html:89
382
#, no-wrap
383
msgid "This is fairly well discussed in the thread starting at "
384
msgstr ""
385
 
386
#. type: Content of: <dl><dd><p><a>
387
#: faq-en.html:90
388
#, no-wrap
389
msgid "http://linuxfromscratch.org/pipermail/lfs-dev/2002-February/023030.html"
390
msgstr ""
391
 
392
#. type: Content of: <dl><dd><p>
393
#: faq-en.html:90 faq-en.html:172 faq-en.html:173 faq-en.html:174 faq-en.html:176 faq-en.html:181 faq-en.html:185 faq-en.html:188 faq-en.html:191 faq-en.html:193 faq-en.html:234 faq-en.html:242 faq-en.html:291 faq-en.html:304 faq-en.html:418 faq-en.html:445 faq-en.html:616 faq-en.html:661
394
#, no-wrap
395
msgid "."
396
msgstr ""
397
 
398
#. type: Content of: <dl><dd><p>
399
#: faq-en.html:94
400
#, no-wrap
401
msgid ""
402
"The binutils release that you typically find on ftp.gnu.org is\n"
403
"          commonly known as the &quot;FSF&quot; binutils. Noted hacker "
404
"H.J. Lu\n"
405
"          also makes releases out of the main CVS repository and these are\n"
406
"          commonly known as the &quot;HJL&quot; binutils and can usually "
407
"be\n"
408
"          found on ftp.kernel.org. Debate often arises over which version "
409
"to\n"
410
"          use due to the fact that most mainstream distros tend to use the "
411
"HJL\n"
412
"          releases even though they are typically marked as\n"
413
"          &quot;beta&quot;."
414
msgstr ""
415
 
416
#. type: Content of: <dl><dd><p>
417
#: faq-en.html:102
418
#, no-wrap
419
msgid "Here is our interpretation of the differences between the two:"
420
msgstr ""
421
 
422
#. type: Content of: <dl><dd><h4>
423
#: faq-en.html:103
424
#, no-wrap
425
msgid "HJL:"
426
msgstr ""
427
 
428
#. type: Content of: <dl><dd><ul><li>
429
#: faq-en.html:105
430
#, no-wrap
431
msgid "For Linux OS only"
432
msgstr ""
433
 
434
#. type: Content of: <dl><dd><ul><li>
435
#: faq-en.html:106
436
#, no-wrap
437
msgid "Marked as &quot;beta&quot;"
438
msgstr ""
439
 
440
#. type: Content of: <dl><dd><ul><li>
441
#: faq-en.html:107
442
#, no-wrap
443
msgid "Closely follows the CVS HEAD"
444
msgstr ""
445
 
446
#. type: Content of: <dl><dd><ul><li>
447
#: faq-en.html:108
448
#, no-wrap
449
msgid "Usually contains the latest subtle bug fixes"
450
msgstr ""
451
 
452
#. type: Content of: <dl><dd><ul><li>
453
#: faq-en.html:109
454
#, no-wrap
455
msgid "Usually has latest bug fixes for non-x86 arch's"
456
msgstr ""
457
 
458
#. type: Content of: <dl><dd><ul><li>
459
#: faq-en.html:110
460
#, no-wrap
461
msgid ""
462
"Usually a new release every time a significant bug that affects Linux gets "
463
"fixed"
464
msgstr ""
465
 
466
#. type: Content of: <dl><dd><ul><li>
467
#: faq-en.html:111
468
#, no-wrap
469
msgid "Theoretically less stable due to newness of code"
470
msgstr ""
471
 
472
#. type: Content of: <dl><dd><h4>
473
#: faq-en.html:113
474
#, no-wrap
475
msgid "FSF:"
476
msgstr ""
477
 
478
#. type: Content of: <dl><dd><ul><li>
479
#: faq-en.html:115
480
#, no-wrap
481
msgid "Supports more OS's (not only Linux)"
482
msgstr ""
483
 
484
#. type: Content of: <dl><dd><ul><li>
485
#: faq-en.html:116
486
#, no-wrap
487
msgid "Latest code from the stable branch of CVS"
488
msgstr ""
489
 
490
#. type: Content of: <dl><dd><ul><li>
491
#: faq-en.html:117
492
#, no-wrap
493
msgid ""
494
"Sometimes not up-to-date WRT to the latest bleeding edge kernel, gcc and "
495
"glibc subtleties"
496
msgstr ""
497
 
498
#. type: Content of: <dl><dd><ul><li>
499
#: faq-en.html:118
500
#, no-wrap
501
msgid ""
502
"Often includes features backported from the CVS HEAD after a period of "
503
"testing"
504
msgstr ""
505
 
506
#. type: Content of: <dl><dd><ul><li>
507
#: faq-en.html:119
508
#, no-wrap
509
msgid "Theoretically more stable"
510
msgstr ""
511
 
512
#. type: Content of: <dl><dd><p>
513
#: faq-en.html:121
514
#, no-wrap
515
msgid ""
516
"You'll notice in the above points words like &quot;usually&quot;\n"
517
"          and &quot;sometimes&quot;. This demonstrates how the situation can "
518
"be\n"
519
"          different depending on which particular point in time you happen "
520
"to\n"
521
"          be referring to. For example, from time to time there will be a "
522
"new\n"
523
"          bleeding edge feature in gcc or glibc that requires support from\n"
524
"          binutils. During these times you will often hear the developers "
525
"say\n"
526
"          &quot;you must be using the latest HJL binutils version\n"
527
"          x.y.z.a.b&quot;."
528
msgstr ""
529
 
530
#. type: Content of: <dl><dd><p>
531
#: faq-en.html:129
532
#, no-wrap
533
msgid "The only way to correctly choose the most appropriate release to use is to:-"
534
msgstr ""
535
 
536
#. type: Content of: <dl><dd><ul><li>
537
#: faq-en.html:131
538
#, no-wrap
539
msgid ""
540
"Stay abreast of the issues on the project mailing lists of the core "
541
"toolchain packages"
542
msgstr ""
543
 
544
#. type: Content of: <dl><dd><ul><li>
545
#: faq-en.html:132
546
#, no-wrap
547
msgid ""
548
"Have a large dose of technical prowess and/or programming talent to "
549
"understand all the issues"
550
msgstr ""
551
 
552
#. type: Content of: <dl><dd><ul><li>
553
#: faq-en.html:133
554
#, no-wrap
555
msgid "Test like crazy by running the test suites"
556
msgstr ""
557
 
558
#. type: Content of: <dl><dd><ul><li>
559
#: faq-en.html:134
560
#, no-wrap
561
msgid "Test like crazy by building full systems"
562
msgstr ""
563
 
564
#. type: Content of: <dl><dd><p>
565
#: faq-en.html:136
566
#, no-wrap
567
msgid ""
568
"The facts of the matter are that the core toolchain packages are\n"
569
"          all very tightly bound and must be tested to ensure they work\n"
570
"          together. You basically have to build a full working distro and "
571
"test\n"
572
"          every aspect of it to be fully satisfied."
573
msgstr ""
574
 
575
#. type: Content of: <dl><dd><p>
576
#: faq-en.html:140
577
#, no-wrap
578
msgid ""
579
"If you follow the project mailing lists of the core toolchain\n"
580
"          packages for long enough, you'll soon realise that the developers "
581
"do\n"
582
"          not care much whether a particular release of &quot;Package "
583
"A&quot;\n"
584
"          works with a particular release of &quot;Package B&quot;. In "
585
"other\n"
586
"          words, release coordination between the projects is not a "
587
"priority.\n"
588
"          In reality, this means that Alan Cox is right when he says that "
589
"you\n"
590
"          cannot just go to ftp.gnu.org and grab the latest of everything "
591
"and\n"
592
"          always expect it to just work."
593
msgstr ""
594
 
595
#. type: Content of: <dl><dd><p>
596
#: faq-en.html:151
597
#, no-wrap
598
msgid ""
599
"Package management - beyond that provided by tarballs and\n"
600
"          makefiles - is beyond the scope of the book. If nothing else "
601
"does,\n"
602
"          the number of different \"solutions\" should hint at some of the\n"
603
"          reasons."
604
msgstr ""
605
 
606
#. type: Content of: <dl><dd><p>
607
#: faq-en.html:155
608
#, no-wrap
609
msgid "Here are a few of the options:"
610
msgstr ""
611
 
612
#. type: Content of: <dl><dd><ul><li>
613
#: faq-en.html:157
614
#, no-wrap
615
msgid ""
616
"No package management is really necessary. Unless it is\n"
617
"            desirable to monitor package file placement minutely, any "
618
"package\n"
619
"            large enough to warrent removal for disk space reasons can be\n"
620
"            installed in /opt as detailed by the FHS (perhaps in "
621
"/opt/foo-x.x\n"
622
"            with a link from /opt/foo), and new releases can usually be\n"
623
"            installed over the old, although major upgrades and libraries "
624
"are\n"
625
"            generally best done by rebuilding the system from the bottom\n"
626
"            up."
627
msgstr ""
628
 
629
#. type: Content of: <dl><dd><ul><li>
630
#: faq-en.html:165
631
#, no-wrap
632
msgid ""
633
"RPM, the Redhat Package Manager, is used by a number of\n"
634
"            distributions. It is available from "
635
msgstr ""
636
 
637
#. type: Content of: <dl><dd><ul><li><a>
638
#: faq-en.html:167
639
#, no-wrap
640
msgid "http://www.rpm.org/"
641
msgstr ""
642
 
643
#. type: Content of: <dl><dd><ul><li>
644
#: faq-en.html:167
645
#, no-wrap
646
msgid ""
647
", and there is an\n"
648
"            "
649
msgstr ""
650
 
651
#. type: Content of: <dl><dd><ul><li><a>
652
#: faq-en.html:168
653
#, no-wrap
654
msgid "RPM Hint"
655
msgstr ""
656
 
657
#. type: Content of: <dl><dd><ul><li>
658
#: faq-en.html:168
659
#, no-wrap
660
msgid ""
661
" to help with\n"
662
"            installation."
663
msgstr ""
664
 
665
#. type: Content of: <dl><dd><ul><li>
666
#: faq-en.html:170
667
#, no-wrap
668
msgid ""
669
"There are several implementations of symlink style package management:\n"
670
"            "
671
msgstr ""
672
 
673
#. type: Content of: <dl><dd><ul><li><ul><li>
674
#: faq-en.html:172
675
#, no-wrap
676
msgid "Epkg is available from "
677
msgstr ""
678
 
679
#. type: Content of: <dl><dd><ul><li><ul><li><a>
680
#: faq-en.html:172
681
#, no-wrap
682
msgid "http://www.encap.org/epkg/"
683
msgstr ""
684
 
685
#. type: Content of: <dl><dd><ul><li><ul><li>
686
#: faq-en.html:173
687
#, no-wrap
688
msgid "Graft is available from "
689
msgstr ""
690
 
691
#. type: Content of: <dl><dd><ul><li><ul><li><a>
692
#: faq-en.html:173
693
#, no-wrap
694
msgid "http://peters.gormand.com.au/Home/tools"
695
msgstr ""
696
 
697
#. type: Content of: <dl><dd><ul><li><ul><li>
698
#: faq-en.html:174
699
#, no-wrap
700
msgid "GNU Stow is available from "
701
msgstr ""
702
 
703
#. type: Content of: <dl><dd><ul><li><ul><li><a>
704
#: faq-en.html:174
705
#, no-wrap
706
msgid "http://www.gnu.org/software/stow/"
707
msgstr ""
708
 
709
#. type: Content of: <dl><dd><ul><li><ul><li>
710
#: faq-en.html:175
711
#, no-wrap
712
msgid "And several more are listed in the Graft documentation at "
713
msgstr ""
714
 
715
#. type: Content of: <dl><dd><ul><li><ul><li><a>
716
#: faq-en.html:176
717
#, no-wrap
718
msgid "http://peters.gormand.com.au/Home/tools/graft/graft-html#research"
719
msgstr ""
720
 
721
#. type: Content of: <dl><dd><ul><li>
722
#: faq-en.html:179
723
#, no-wrap
724
msgid ""
725
"The NetBSD package manager, pkgsrc, is available on other\n"
726
"            systems including Linux. It is at "
727
msgstr ""
728
 
729
#. type: Content of: <dl><dd><ul><li><a>
730
#: faq-en.html:181
731
#, no-wrap
732
msgid "ftp://ftp.netbsd.org/pub/pkgsrc/stable/"
733
msgstr ""
734
 
735
#. type: Content of: <dl><dd><ul><li>
736
#: faq-en.html:182
737
#, no-wrap
738
msgid ""
739
"Originally based on a script written by LFS' own Gerard\n"
740
"            Beekmans, install-log records a list of files installed by a\n"
741
"            package as the package is installed. It is available from "
742
msgstr ""
743
 
744
#. type: Content of: <dl><dd><ul><li><a>
745
#: faq-en.html:185
746
#, no-wrap
747
msgid "http://install-log.sourceforge.net/"
748
msgstr ""
749
 
750
#. type: Content of: <dl><dd><ul><li>
751
#: faq-en.html:186
752
#, no-wrap
753
msgid ""
754
"Gerard has since made additions to his script. It is available\n"
755
"            from "
756
msgstr ""
757
 
758
#. type: Content of: <dl><dd><ul><li><a>
759
#: faq-en.html:188
760
#, no-wrap
761
msgid "http://linuxfromscratch.org/~gerard/log-install"
762
msgstr ""
763
 
764
#. type: Content of: <dl><dd><ul><li>
765
#: faq-en.html:189
766
#, no-wrap
767
msgid ""
768
"CheckInstall attempts log system calls made by \"make install\".\n"
769
"            It is available from "
770
msgstr ""
771
 
772
#. type: Content of: <dl><dd><ul><li><a>
773
#: faq-en.html:191
774
#, no-wrap
775
msgid "http://asic-linux.com.mx/~izto/checkinstall/"
776
msgstr ""
777
 
778
#. type: Content of: <dl><dd><ul><li>
779
#: faq-en.html:192
780
#, no-wrap
781
msgid "pkgutils, used by the CRUX distribution, is available from "
782
msgstr ""
783
 
784
#. type: Content of: <dl><dd><ul><li><a>
785
#: faq-en.html:193
786
#, no-wrap
787
msgid "http://www.fukt.bsnet.se/~per/pkgutils/"
788
msgstr ""
789
 
790
#. type: Content of: <dl><dd><ul><li>
791
#: faq-en.html:194
792
#, no-wrap
793
msgid "There are some "
794
msgstr ""
795
 
796
#. type: Content of: <dl><dd><ul><li><a>
797
#: faq-en.html:194
798
#, no-wrap
799
msgid "hints"
800
msgstr ""
801
 
802
#. type: Content of: <dl><dd><ul><li>
803
#: faq-en.html:194
804
#, no-wrap
805
msgid " available for package managers."
806
msgstr ""
807
 
808
#. type: Content of: <dl><dd><p>
809
#: faq-en.html:196
810
#, no-wrap
811
msgid ""
812
"If you have an addition to the list, please do email its id, URL,\n"
813
"          and other information, to the FAQ maintainer or an appropriate "
814
"LFS\n"
815
"          mailing list so it can be added here."
816
msgstr ""
817
 
818
#. type: Content of: <dl><dd><p>
819
#: faq-en.html:202
820
#, no-wrap
821
msgid ""
822
"Power Management is a kernel function, you need to enable it in\n"
823
"          the kernel. In the 2.4 kernel, you have to enable the options "
824
"for\n"
825
"          "
826
msgstr ""
827
 
828
#. type: Content of: <dl><dd><p><code>
829
#: faq-en.html:204
830
#, no-wrap
831
msgid "Power Management Support"
832
msgstr ""
833
 
834
#. type: Content of: <dl><dd><p>
835
#: faq-en.html:204
836
#, no-wrap
837
msgid " under "
838
msgstr ""
839
 
840
#. type: Content of: <dl><dd><p><code>
841
#: faq-en.html:204
842
#, no-wrap
843
msgid ""
844
"General\n"
845
"          Setup"
846
msgstr ""
847
 
848
#. type: Content of: <dl><dd><p>
849
#: faq-en.html:205
850
#, no-wrap
851
msgid ""
852
". For older machines, you'll probably want the APM\n"
853
"          options, newer machines often require ACPI. Make sure that either "
854
"APM\n"
855
"          or ACPI be enabled in the kernel, but definitely "
856
msgstr ""
857
 
858
#. type: Content of: <dl><dd><p><strong>
859
#: faq-en.html:207
860
#, no-wrap
861
msgid "not"
862
msgstr ""
863
 
864
#. type: Content of: <dl><dd><p>
865
#: faq-en.html:208
866
#, no-wrap
867
msgid ""
868
"          both at the same time - this has been known to cause problems such "
869
"as\n"
870
"          neither actually taking effect. Also try disabling SMP if you "
871
"only\n"
872
"          have one processor; it's also known to prevent a proper "
873
"poweroff.\n"
874
"          Make sure you read the help with each option."
875
msgstr ""
876
 
877
#. type: Content of: <dl><dd><p>
878
#: faq-en.html:212
879
#, no-wrap
880
msgid ""
881
"After rebooting into the new kernel you should be able to poweroff\n"
882
"          your machine with the command "
883
msgstr ""
884
 
885
#. type: Content of: <dl><dd><p><code>
886
#: faq-en.html:213
887
#, no-wrap
888
msgid "shutdown -h now"
889
msgstr ""
890
 
891
#. type: Content of: <dl><dd><p>
892
#: faq-en.html:213
893
#, no-wrap
894
msgid ""
895
" or\n"
896
"          "
897
msgstr ""
898
 
899
#. type: Content of: <dl><dd><p><code>
900
#: faq-en.html:214
901
#, no-wrap
902
msgid "poweroff"
903
msgstr ""
904
 
905
#. type: Content of: <dl><dd><p>
906
#: faq-en.html:214
907
#, no-wrap
908
msgid " (also read "
909
msgstr ""
910
 
911
#. type: Content of: <dl><dd><p><code>
912
#: faq-en.html:214
913
#, no-wrap
914
msgid "man shutdown"
915
msgstr ""
916
 
917
#. type: Content of: <dl><dd><p>
918
#: faq-en.html:214
919
#, no-wrap
920
msgid ""
921
" and\n"
922
"          "
923
msgstr ""
924
 
925
#. type: Content of: <dl><dd><p><code>
926
#: faq-en.html:215
927
#, no-wrap
928
msgid "man halt"
929
msgstr ""
930
 
931
#. type: Content of: <dl><dd><p>
932
#: faq-en.html:215
933
#, no-wrap
934
msgid ""
935
"). If you compiled APM or ACPI as modules, make\n"
936
"          sure they are loaded before you try to power off.  Some machines\n"
937
"          require that APM or ACPI is compiled into the kernel because it "
938
"needs\n"
939
"          to be initialised at boottime. "
940
msgstr ""
941
 
942
#. type: Content of: <p><a>
943
#: faq-en.html:221 faq-en.html:352 faq-en.html:560 faq-en.html:619
944
#, no-wrap
945
msgid "Back to the top."
946
msgstr ""
947
 
948
#. type: Content of: <dl><dd><p>
949
#: faq-en.html:227
950
#, no-wrap
951
msgid ""
952
"Most relatively recent distributions should be fine. Do not use\n"
953
"          Fedora Core 4 as its version of GCC does not work with the "
954
"current\n"
955
"          stable version of LFS. Make sure you have installed and/or "
956
"updated\n"
957
"          the development packages. (Look for ones starting in \"gcc\", "
958
"\"glibc\",\n"
959
"          or \"libstdc++\" or ending in \"-dev\".). If you want to use LFS "
960
"as your\n"
961
"          main system and you wish to install it without first installing "
962
"a\n"
963
"          distribution, try "
964
msgstr ""
965
 
966
#. type: Content of: <dl><dd><p><a>
967
#: faq-en.html:234
968
#, no-wrap
969
msgid "Knoppix"
970
msgstr ""
971
 
972
#. type: Content of: <dl><dd><p>
973
#: faq-en.html:238
974
#, no-wrap
975
msgid "In addition to the kernel documentation at "
976
msgstr ""
977
 
978
#. type: Content of: <dl><dd><p><a>
979
#: faq-en.html:239
980
#, no-wrap
981
msgid "/usr/src/linux/Documentation"
982
msgstr ""
983
 
984
#. type: Content of: <dl><dd><p>
985
#: faq-en.html:240
986
#, no-wrap
987
msgid ""
988
"          or wherever you unpacked your kernel source and the help in "
989
"kernel\n"
990
"          config tool (make menuconfig), see the Module-HOWTO at "
991
msgstr ""
992
 
993
#. type: Content of: <dl><dd><p><a>
994
#: faq-en.html:242
995
#, no-wrap
996
msgid "http://www.tldp.org/HOWTO/Module-HOWTO/"
997
msgstr ""
998
 
999
#. type: Content of: <dl><dd><p>
1000
#: faq-en.html:246
1001
#, no-wrap
1002
msgid "Short answer: no."
1003
msgstr ""
1004
 
1005
#. type: Content of: <dl><dd><p>
1006
#: faq-en.html:247
1007
#, no-wrap
1008
msgid ""
1009
"Long answer: probably, but only to someone working on the package\n"
1010
"          you're trying to compile. Mostly, everything will be fine unless "
1011
"make\n"
1012
"          quits with an error."
1013
msgstr ""
1014
 
1015
#. type: Content of: <dl><dd><p>
1016
#: faq-en.html:250
1017
#, no-wrap
1018
msgid "Here's an example:"
1019
msgstr ""
1020
 
1021
#. type: Content of: <dl><dd><div><p>
1022
#: faq-en.html:252
1023
#, no-wrap
1024
msgid "sk ~/tmp $ cat &gt; Makefile"
1025
msgstr ""
1026
 
1027
#. type: Content of: <dl><dd><div><p>
1028
#: faq-en.html:253
1029
#, no-wrap
1030
msgid "               main:"
1031
msgstr ""
1032
 
1033
#. type: Content of: <dl><dd><div><p>
1034
#: faq-en.html:254 faq-en.html:258 faq-en.html:266
1035
#, no-wrap
1036
msgid "               gcc main.c"
1037
msgstr ""
1038
 
1039
#. type: Content of: <dl><dd><div><p>
1040
#: faq-en.html:255 faq-en.html:263
1041
#, no-wrap
1042
msgid "               sk ~/tmp $ cat &gt; main.c"
1043
msgstr ""
1044
 
1045
#. type: Content of: <dl><dd><div><p>
1046
#: faq-en.html:256
1047
#, no-wrap
1048
msgid "               void main() { exit(0); }"
1049
msgstr ""
1050
 
1051
#. type: Content of: <dl><dd><div><p>
1052
#: faq-en.html:257 faq-en.html:265
1053
#, no-wrap
1054
msgid "               sk ~/tmp $ make"
1055
msgstr ""
1056
 
1057
#. type: Content of: <dl><dd><div><p><strong>
1058
#: faq-en.html:259 faq-en.html:267
1059
#, no-wrap
1060
msgid "main.c: In function `main':"
1061
msgstr ""
1062
 
1063
#. type: Content of: <dl><dd><div><p><strong>
1064
#: faq-en.html:260
1065
#, no-wrap
1066
msgid "main.c:1: warning: return type of `main' is not `int'"
1067
msgstr ""
1068
 
1069
#. type: Content of: <dl><dd><div><p>
1070
#: faq-en.html:261
1071
#, no-wrap
1072
msgid "               sk ~/tmp $ ######## that worked ########"
1073
msgstr ""
1074
 
1075
#. type: Content of: <dl><dd><div><p>
1076
#: faq-en.html:262 faq-en.html:271
1077
#, no-wrap
1078
msgid "               sk ~/tmp $"
1079
msgstr ""
1080
 
1081
#. type: Content of: <dl><dd><div><p>
1082
#: faq-en.html:264
1083
#, no-wrap
1084
msgid "               int main() { e"
1085
msgstr ""
1086
 
1087
#. type: Content of: <dl><dd><div><p><span>
1088
#: faq-en.html:264
1089
#, no-wrap
1090
msgid "xx"
1091
msgstr ""
1092
 
1093
#. type: Content of: <dl><dd><div><p>
1094
#: faq-en.html:264
1095
#, no-wrap
1096
msgid "it(0) }"
1097
msgstr ""
1098
 
1099
#. type: Content of: <dl><dd><div><p><strong>
1100
#: faq-en.html:268
1101
#, no-wrap
1102
msgid "main.c:1: parse error before `}'"
1103
msgstr ""
1104
 
1105
#. type: Content of: <dl><dd><div><p><strong>
1106
#: faq-en.html:269
1107
#, no-wrap
1108
msgid "make: *** [main] Error 1"
1109
msgstr ""
1110
 
1111
#. type: Content of: <dl><dd><div><p>
1112
#: faq-en.html:270
1113
#, no-wrap
1114
msgid "               sk ~/tmp $ ######## that failed ########"
1115
msgstr ""
1116
 
1117
#. type: Content of: <dl><dd><p>
1118
#: faq-en.html:276
1119
#, no-wrap
1120
msgid "Gerard describes the process of making a 5MB LFS install in "
1121
msgstr ""
1122
 
1123
#. type: Content of: <dl><dd><p><a>
1124
#: faq-en.html:277
1125
#, no-wrap
1126
msgid ""
1127
"an\n"
1128
"          email to lfs-support"
1129
msgstr ""
1130
 
1131
#. type: Content of: <dl><dd><p>
1132
#: faq-en.html:278
1133
#, no-wrap
1134
msgid ""
1135
",  and there are links to many resources in\n"
1136
"          "
1137
msgstr ""
1138
 
1139
#. type: Content of: <dl><dd><p><a>
1140
#: faq-en.html:280
1141
#, no-wrap
1142
msgid ""
1143
"a\n"
1144
"          post by Cor Lem"
1145
msgstr ""
1146
 
1147
#. type: Content of: <dl><dd><p>
1148
#: faq-en.html:281
1149
#, no-wrap
1150
msgid " and a reply to it."
1151
msgstr ""
1152
 
1153
#. type: Content of: <dl><dd><p>
1154
#: faq-en.html:285
1155
#, no-wrap
1156
msgid ""
1157
"For information about building LFS for a wide array of systems,\n"
1158
"          take a look at the "
1159
msgstr ""
1160
 
1161
#. type: Content of: <dl><dd><p><a>
1162
#: faq-en.html:287
1163
#, no-wrap
1164
msgid "Cross-LFS branch"
1165
msgstr ""
1166
 
1167
#. type: Content of: <dl><dd><p>
1168
#: faq-en.html:287
1169
#, no-wrap
1170
msgid ""
1171
" of\n"
1172
"          LFS."
1173
msgstr ""
1174
 
1175
#. type: Content of: <dl><dd><p>
1176
#: faq-en.html:289
1177
#, no-wrap
1178
msgid ""
1179
"For Alpha systems, Kelledin maintains a list of fixes for building\n"
1180
"          on the Alpha platform at "
1181
msgstr ""
1182
 
1183
#. type: Content of: <dl><dd><p><a>
1184
#: faq-en.html:291
1185
#, no-wrap
1186
msgid "http://skarpsey.dyndns.org/alpha-lfs/alpha.html"
1187
msgstr ""
1188
 
1189
#. type: Content of: <dl><dd><p>
1190
#: faq-en.html:295
1191
#, no-wrap
1192
msgid ""
1193
"It's often useful to compile LFS for one machine on another\n"
1194
"          machine. Say using that fast 1Ghz Athlon to build an install for "
1195
"an\n"
1196
"          old 486. While this is technically not cross compiling, binaries\n"
1197
"          compiled for the Athlon cannot be run on the 486 because "
1198
"binaries\n"
1199
"          compiled for the newer processor use features the older "
1200
"processor\n"
1201
"          doesn't have."
1202
msgstr ""
1203
 
1204
#. type: Content of: <dl><dd><p>
1205
#: faq-en.html:301
1206
#, no-wrap
1207
msgid "The LFS book specifically for cross compiling is the "
1208
msgstr ""
1209
 
1210
#. type: Content of: <dl><dd><p><a>
1211
#: faq-en.html:302
1212
#, no-wrap
1213
msgid "Cross-LFS"
1214
msgstr ""
1215
 
1216
#. type: Content of: <dl><dd><p>
1217
#: faq-en.html:302
1218
#, no-wrap
1219
msgid ""
1220
" book.\n"
1221
"          Another source of information would be the "
1222
msgstr ""
1223
 
1224
#. type: Content of: <dl><dd><p><a>
1225
#: faq-en.html:304
1226
#, no-wrap
1227
msgid "cross-compiling hint"
1228
msgstr ""
1229
 
1230
#. type: Content of: <dl><dd><p>
1231
#: faq-en.html:308
1232
#, no-wrap
1233
msgid "It has to do with the characters used to end lines."
1234
msgstr ""
1235
 
1236
#. type: Content of: <dl><dd><p>
1237
#: faq-en.html:309
1238
#, no-wrap
1239
msgid "There are two that may be used:"
1240
msgstr ""
1241
 
1242
#. type: Content of: <dl><dd><ul><li>
1243
#: faq-en.html:311
1244
#, no-wrap
1245
msgid ""
1246
"Line Feed: (LF) Octal:012 Decimal:10 Hex:0A C Style Escape:'\\n' Moves down "
1247
"one line."
1248
msgstr ""
1249
 
1250
#. type: Content of: <dl><dd><ul><li>
1251
#: faq-en.html:312
1252
#, no-wrap
1253
msgid ""
1254
"Carriage Return: (CR) Octal:015 Decimal:13 Hex:0D C Style Excape:'\\r' Move "
1255
"to the left margin."
1256
msgstr ""
1257
 
1258
#. type: Content of: <dl><dd><p>
1259
#: faq-en.html:314
1260
#, no-wrap
1261
msgid ""
1262
"Unix, DOS, and MacOS each use a different combination to end lines in text "
1263
"files:"
1264
msgstr ""
1265
 
1266
#. type: Content of: <dl><dd><ul><li>
1267
#: faq-en.html:316
1268
#, no-wrap
1269
msgid ""
1270
"Unix: LF only. This is why when a Unix format text file is sent to a printer "
1271
"raw, it prints out"
1272
msgstr ""
1273
 
1274
#. type: Content of: <dl><dd><ul><li>
1275
#: faq-en.html:317
1276
#, no-wrap
1277
msgid "                &nbsp;&nbsp;like"
1278
msgstr ""
1279
 
1280
#. type: Content of: <dl><dd><ul><li>
1281
#: faq-en.html:318
1282
#, no-wrap
1283
msgid "                &nbsp;&nbsp;&nbsp;&nbsp;stairs"
1284
msgstr ""
1285
 
1286
#. type: Content of: <dl><dd><ul><li>
1287
#: faq-en.html:319
1288
#, no-wrap
1289
msgid "                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps."
1290
msgstr ""
1291
 
1292
#. type: Content of: <dl><dd><ul><li>
1293
#: faq-en.html:320
1294
#, no-wrap
1295
msgid ""
1296
"DOS: CRLF both. Which is why if you do \"cat -v\" on a DOS file\n"
1297
"            you'll see a \"^M\" (control m is carriage return) at the end of "
1298
"each\n"
1299
"            line. And that is why scripts don't work when written with\n"
1300
"            Microsoft Notepad. The kernel looks for \"/bin/sh^M\" which "
1301
"doesn't\n"
1302
"            exist. There's a \"/bin/sh\", but nothing with a \"^M\" "
1303
"appended."
1304
msgstr ""
1305
 
1306
#. type: Content of: <dl><dd><ul><li>
1307
#: faq-en.html:325
1308
#, no-wrap
1309
msgid ""
1310
"MacOs: CR only. Printers probably print every line atop the\n"
1311
"            first, and Unix tools think the whole file is one line with "
1312
"\"^M\"\n"
1313
"            all through it."
1314
msgstr ""
1315
 
1316
#. type: Content of: <dl><dd><p>
1317
#: faq-en.html:329
1318
#, no-wrap
1319
msgid "To change DOS to Unix, use"
1320
msgstr ""
1321
 
1322
#. type: Content of: <dl><dd><div><p>
1323
#: faq-en.html:331
1324
#, no-wrap
1325
msgid "cp &lt;fileid&gt; &lt;fileid&gt;.dos &amp;&amp;"
1326
msgstr ""
1327
 
1328
#. type: Content of: <dl><dd><div><p>
1329
#: faq-en.html:332
1330
#, no-wrap
1331
msgid "               cat &lt;fileid&gt;.dos | tr -d '\\r' &gt; &lt;fileid&gt;"
1332
msgstr ""
1333
 
1334
#. type: Content of: <dl><dd><p>
1335
#: faq-en.html:334
1336
#, no-wrap
1337
msgid "Or in "
1338
msgstr ""
1339
 
1340
#. type: Content of: <dl><dd><p><code>
1341
#: faq-en.html:334
1342
#, no-wrap
1343
msgid "vim"
1344
msgstr ""
1345
 
1346
#. type: Content of: <dl><dd><p>
1347
#: faq-en.html:334
1348
#, no-wrap
1349
msgid ", you can convert a file with "
1350
msgstr ""
1351
 
1352
#. type: Content of: <dl><dd><p><code>
1353
#: faq-en.html:334
1354
#, no-wrap
1355
msgid ""
1356
":set\n"
1357
"          ff={unix, dos, mac}"
1358
msgstr ""
1359
 
1360
#. type: Content of: <dl><dd><p>
1361
#: faq-en.html:335
1362
#, no-wrap
1363
msgid ""
1364
". Other conversions will probably require\n"
1365
"          sed or a different use of tr and are left as an exercise for the\n"
1366
"          reader."
1367
msgstr ""
1368
 
1369
#. type: Content of: <dl><dd><p>
1370
#: faq-en.html:343
1371
#, no-wrap
1372
msgid "Yes. You can download the file LFS-BOOK-x.y-wget-list "
1373
msgstr ""
1374
 
1375
#. type: Content of: <dl><dd><p><a>
1376
#: faq-en.html:345
1377
#, no-wrap
1378
msgid "          http://www.linuxfromscratch.org/lfs/downloads/stable"
1379
msgstr ""
1380
 
1381
#. type: Content of: <dl><dd><p>
1382
#: faq-en.html:345
1383
#, no-wrap
1384
msgid ""
1385
". To download all the files,\n"
1386
"          use the version of "
1387
msgstr ""
1388
 
1389
#. type: Content of: <dl><dd><p><code>
1390
#: faq-en.html:346
1391
#, no-wrap
1392
msgid "wget"
1393
msgstr ""
1394
 
1395
#. type: Content of: <dl><dd><p>
1396
#: faq-en.html:346
1397
#, no-wrap
1398
msgid " on your host distribution to run:"
1399
msgstr ""
1400
 
1401
#. type: Content of: <dl><dd><code>
1402
#: faq-en.html:348
1403
#, no-wrap
1404
msgid "wget --input-file=LFS-BOOK-x.y-wget-list"
1405
msgstr ""
1406
 
1407
#. type: Content of: <dl><dd><p>
1408
#: faq-en.html:358
1409
#, no-wrap
1410
msgid ""
1411
"Patches from GNU don't usually work. You can either download the\n"
1412
"          full archive and try again or try the solution given by Gerard\n"
1413
"          Beekmans:"
1414
msgstr ""
1415
 
1416
#. type: Content of: <dl><dd><p>
1417
#: faq-en.html:361
1418
#, no-wrap
1419
msgid ""
1420
"The problem is that executable marked scripts are patched too and\n"
1421
"          they then lose the executable bit, so you can't execute those "
1422
"scripts\n"
1423
"          anymore until you run a \"chmod +x\" on them (or something "
1424
"similar,\n"
1425
"          like chmod 755) before installing Glibc. Try chmod +x\n"
1426
"          glibc-2.2.5/scripts/* (not 100% sure about the directory paths but "
1427
"it\n"
1428
"          should be obvious where to do it when running an 'ls' on the\n"
1429
"          glibc-2.2.5 directory). "
1430
msgstr ""
1431
 
1432
#. type: Content of: <dl><dd><p>
1433
#: faq-en.html:371
1434
#, no-wrap
1435
msgid ""
1436
"If you're getting errors and you're setting CFLAGS or otherwise\n"
1437
"          passing optimization flags to the compiler that may be the\n"
1438
"          problem."
1439
msgstr ""
1440
 
1441
#. type: Content of: <dl><dd><p>
1442
#: faq-en.html:374
1443
#, no-wrap
1444
msgid ""
1445
"If you ask on the list and they can't figure it out immediately,\n"
1446
"          they'll likely suggest trying it without optimization. So if you "
1447
"just\n"
1448
"          retry it without before asking, you'll be one step ahead of them\n"
1449
"          :)"
1450
msgstr ""
1451
 
1452
#. type: Content of: <dl><dd><p>
1453
#: faq-en.html:378
1454
#, no-wrap
1455
msgid ""
1456
"Of particular note is that optimizing binutils, gcc, or glibc may\n"
1457
"          cause any other package to fail to compile or run or to "
1458
"otherwise\n"
1459
"          misbehave in strange and mysterious ways. Also, optimization "
1460
"that\n"
1461
"          works for someone else may not work for you. Flags that used to "
1462
"work\n"
1463
"          may mysteriously stop working. Even some small innocent hardware\n"
1464
"          change can make the difference."
1465
msgstr ""
1466
 
1467
#. type: Content of: <dl><dd><p>
1468
#: faq-en.html:384
1469
#, no-wrap
1470
msgid ""
1471
"(If you don't know what optimization flags are, don't worry, you really "
1472
"don't need to.)"
1473
msgstr ""
1474
 
1475
#. type: Content of: <dl><dt>
1476
#: faq-en.html:386
1477
#, no-wrap
1478
msgid "Why does configure hang at \"checking for signed size_t type...\"?"
1479
msgstr ""
1480
 
1481
#. type: Content of: <dl><dd><p>
1482
#: faq-en.html:388
1483
#, no-wrap
1484
msgid "You over optimized gcc."
1485
msgstr ""
1486
 
1487
#. type: Content of: <dl><dd><p>
1488
#: faq-en.html:392
1489
#, no-wrap
1490
msgid "Yes. In general "
1491
msgstr ""
1492
 
1493
#. type: Content of: <dl><dd><p><code>
1494
#: faq-en.html:392
1495
#, no-wrap
1496
msgid "make clean"
1497
msgstr ""
1498
 
1499
#. type: Content of: <dl><dd><p>
1500
#: faq-en.html:392
1501
#, no-wrap
1502
msgid " or "
1503
msgstr ""
1504
 
1505
#. type: Content of: <dl><dd><p><code>
1506
#: faq-en.html:392
1507
#, no-wrap
1508
msgid ""
1509
"make\n"
1510
"          dist-clean"
1511
msgstr ""
1512
 
1513
#. type: Content of: <dl><dd><p>
1514
#: faq-en.html:393
1515
#, no-wrap
1516
msgid ""
1517
" can't be relied upon for clean sources. Especially\n"
1518
"          when you have manually hacked the sources or applied patches to "
1519
"it\n"
1520
"          you should first try again with a fresh unpacked package. The "
1521
"only\n"
1522
"          exception to this rule is the linux kernel, which requires its\n"
1523
"          sources to be present when third-party modules, such as the "
1524
"NVidia\n"
1525
"          drivers, are needed."
1526
msgstr ""
1527
 
1528
#. type: Content of: <dl><dd><p>
1529
#: faq-en.html:402
1530
#, no-wrap
1531
msgid "Does /dev/null look like this:"
1532
msgstr ""
1533
 
1534
#. type: Content of: <dl><dd><div><p>
1535
#: faq-en.html:404
1536
#, no-wrap
1537
msgid "$ ls -l /dev/null"
1538
msgstr ""
1539
 
1540
#. type: Content of: <dl><dd><div><p>
1541
#: faq-en.html:405
1542
#, no-wrap
1543
msgid "               crw-rw-rw- 1 root root 1, 3 Aug  3  2000 /dev/null"
1544
msgstr ""
1545
 
1546
#. type: Content of: <dl><dd><p>
1547
#: faq-en.html:407
1548
#, no-wrap
1549
msgid ""
1550
"If not, it should. See the chmod(1), chown(1), and mknod(1) man\n"
1551
"          pages and /usr/src/linux/Documentation/devices.txt if you need "
1552
"help\n"
1553
"          fixing it."
1554
msgstr ""
1555
 
1556
#. type: Content of: <dl><dd><p>
1557
#: faq-en.html:410
1558
#, no-wrap
1559
msgid ""
1560
"If it does look right, the problem is probably your mount options.\n"
1561
"          See the answer to \""
1562
msgstr ""
1563
 
1564
#. type: Content of: <dl><dd><p><a>
1565
#: faq-en.html:412
1566
#, no-wrap
1567
msgid ""
1568
"./configure: bad\n"
1569
"          interpreter: Permission denied"
1570
msgstr ""
1571
 
1572
#. type: Content of: <dl><dd><p>
1573
#: faq-en.html:413
1574
#, no-wrap
1575
msgid "\", above."
1576
msgstr ""
1577
 
1578
#. type: Content of: <dl><dd><p>
1579
#: faq-en.html:417
1580
#, no-wrap
1581
msgid "The long answer is at "
1582
msgstr ""
1583
 
1584
#. type: Content of: <dl><dd><p><a>
1585
#: faq-en.html:418
1586
#, no-wrap
1587
msgid "http://www.bitwizard.nl/sig11/"
1588
msgstr ""
1589
 
1590
#. type: Content of: <dl><dd><p>
1591
#: faq-en.html:419
1592
#, no-wrap
1593
msgid ""
1594
"The short answer is that if restarting make gets a little further\n"
1595
"          every time, you have a hardware problem. (If make, or whatever "
1596
"you're\n"
1597
"          running, fails at the same place every time, then it is not\n"
1598
"          hardware.)"
1599
msgstr ""
1600
 
1601
#. type: Content of: <dl><dd><p>
1602
#: faq-en.html:423
1603
#, no-wrap
1604
msgid ""
1605
"Assuming you're not overclocking, the most likely hardware problem\n"
1606
"          is bad memory which you can check with Memtest86 from "
1607
msgstr ""
1608
 
1609
#. type: Content of: <dl><dd><p><a>
1610
#: faq-en.html:425
1611
#, no-wrap
1612
msgid "http://www.memtest86.com/"
1613
msgstr ""
1614
 
1615
#. type: Content of: <dl><dd><p>
1616
#: faq-en.html:425
1617
#, no-wrap
1618
msgid ""
1619
". If\n"
1620
"          that isn't it, see the long answer."
1621
msgstr ""
1622
 
1623
#. type: Content of: <dl><dd><p>
1624
#: faq-en.html:430
1625
#, no-wrap
1626
msgid "Examples of this error are:"
1627
msgstr ""
1628
 
1629
#. type: Content of: <dl><dd><div><p>
1630
#: faq-en.html:432
1631
#, no-wrap
1632
msgid "/usr/bin/env: /tools/bin/bash: No such file or directory"
1633
msgstr ""
1634
 
1635
#. type: Content of: <dl><dd><div><p>
1636
#: faq-en.html:433
1637
#, no-wrap
1638
msgid "               gcc: No such file or directory"
1639
msgstr ""
1640
 
1641
#. type: Content of: <dl><dd><p>
1642
#: faq-en.html:435
1643
#, no-wrap
1644
msgid ""
1645
"This usually indicates a typo in the GCC Pass 2 installation. For\n"
1646
"          older LFS versions, the most common cause of this problem would "
1647
"be\n"
1648
"          forgetting to apply the specs patch."
1649
msgstr ""
1650
 
1651
#. type: Content of: <dl><dd><p>
1652
#: faq-en.html:438
1653
#, no-wrap
1654
msgid ""
1655
"What happens is that the path to the dynamic linker embedded\n"
1656
"          inside the executable is still pointing at /lib/ld-linux.so.2 "
1657
"and\n"
1658
"          when one goes to run the binary inside the chroot where\n"
1659
"          /lib/ld-linux.so.2 does not exist yet, the very unhelpful "
1660
msgstr ""
1661
 
1662
#. type: Content of: <dl><dd><p><code>
1663
#: faq-en.html:441
1664
#, no-wrap
1665
msgid ""
1666
"No\n"
1667
"          such file or directory"
1668
msgstr ""
1669
 
1670
#. type: Content of: <dl><dd><p>
1671
#: faq-en.html:442
1672
#, no-wrap
1673
msgid " error message is shown."
1674
msgstr ""
1675
 
1676
#. type: Content of: <dl><dd><p>
1677
#: faq-en.html:443
1678
#, no-wrap
1679
msgid "You can test this with "
1680
msgstr ""
1681
 
1682
#. type: Content of: <dl><dd><p><code>
1683
#: faq-en.html:443
1684
#, no-wrap
1685
msgid ""
1686
"readelf -l {binary} | grep\n"
1687
"          interpreter"
1688
msgstr ""
1689
 
1690
#. type: Content of: <dl><dd><p>
1691
#: faq-en.html:444
1692
#, no-wrap
1693
msgid ". Its output should be: "
1694
msgstr ""
1695
 
1696
#. type: Content of: <dl><dd><p><code>
1697
#: faq-en.html:444
1698
#, no-wrap
1699
msgid ""
1700
"Requesting program\n"
1701
"          interpreter: /tools/lib/ld-linux.so.2"
1702
msgstr ""
1703
 
1704
#. type: Content of: <dl><dd><p>
1705
#: faq-en.html:449
1706
#, no-wrap
1707
msgid "You forgot to "
1708
msgstr ""
1709
 
1710
#. type: Content of: <dl><dd><p><code>
1711
#: faq-en.html:449
1712
#, no-wrap
1713
msgid "cd"
1714
msgstr ""
1715
 
1716
#. type: Content of: <dl><dd><p>
1717
#: faq-en.html:449
1718
#, no-wrap
1719
msgid " into the extracted directory of the package after you've extracted it."
1720
msgstr ""
1721
 
1722
#. type: Content of: <dl><dd><p>
1723
#: faq-en.html:453
1724
#, no-wrap
1725
msgid ""
1726
"You're most likely getting this while building binutils in Chapter\n"
1727
"          5 of the LFS Book. The problem is most likely your mount "
1728
"options. You\n"
1729
"          probably have a line in /etc/fstab like:"
1730
msgstr ""
1731
 
1732
#. type: Content of: <dl><dd><code>
1733
#: faq-en.html:456
1734
#, no-wrap
1735
msgid "/dev/hda10  /mnt/lfs  ext2  user  1  2"
1736
msgstr ""
1737
 
1738
#. type: Content of: <dl><dd><p>
1739
#: faq-en.html:457
1740
#, no-wrap
1741
msgid ""
1742
"'user' is the mount flag, and it's the problem. To quote from the mount man "
1743
"page:"
1744
msgstr ""
1745
 
1746
#. type: Content of: <dl><dd><cite>
1747
#: faq-en.html:458
1748
#, no-wrap
1749
msgid ""
1750
"user:  Allow  an  ordinary  user to mount the file system. This\n"
1751
"          option  implies  the options noexec, nosuid, and nodev (unless\n"
1752
"          overridden by subsequent options, as in the option line\n"
1753
"          user,exec,dev,suid)."
1754
msgstr ""
1755
 
1756
#. type: Content of: <dl><dd><p>
1757
#: faq-en.html:462
1758
#, no-wrap
1759
msgid "So change the line in /etc/fstab like this:"
1760
msgstr ""
1761
 
1762
#. type: Content of: <dl><dd><code>
1763
#: faq-en.html:463
1764
#, no-wrap
1765
msgid "/dev/hda10  /mnt/lfs  ext2  defaults  1  2"
1766
msgstr ""
1767
 
1768
#. type: Content of: <dl><dd><p>
1769
#: faq-en.html:467
1770
#, no-wrap
1771
msgid "Typical symptoms look like this:"
1772
msgstr ""
1773
 
1774
#. type: Content of: <dl><dd><div><p>
1775
#: faq-en.html:469
1776
#, no-wrap
1777
msgid "sk ~/tmp-0.0 $ ./configure"
1778
msgstr ""
1779
 
1780
#. type: Content of: <dl><dd><div><p>
1781
#: faq-en.html:470
1782
#, no-wrap
1783
msgid "               creating cache ./config.cache"
1784
msgstr ""
1785
 
1786
#. type: Content of: <dl><dd><div><p>
1787
#: faq-en.html:471
1788
#, no-wrap
1789
msgid "               checking host system type..."
1790
msgstr ""
1791
 
1792
#. type: Content of: <dl><dd><div><p><strong>
1793
#: faq-en.html:472
1794
#, no-wrap
1795
msgid "configure: error: can not guess host type; you must specify one"
1796
msgstr ""
1797
 
1798
#. type: Content of: <dl><dd><div><p>
1799
#: faq-en.html:473
1800
#, no-wrap
1801
msgid "               sk ~/tmp-0.0 $"
1802
msgstr ""
1803
 
1804
#. type: Content of: <dl><dd><p>
1805
#: faq-en.html:475
1806
#, no-wrap
1807
msgid ""
1808
"The problem is usually that the script can't run the compiler.\n"
1809
"          Usually it's just a missing /usr/bin/cc symlink. You can fix it "
1810
"like\n"
1811
"          this:"
1812
msgstr ""
1813
 
1814
#. type: Content of: <dl><dd><code>
1815
#: faq-en.html:478
1816
#, no-wrap
1817
msgid "cd /usr/bin &amp;&amp; ln -s gcc cc"
1818
msgstr ""
1819
 
1820
#. type: Content of: <dl><dd><p>
1821
#: faq-en.html:479
1822
#, no-wrap
1823
msgid ""
1824
"If that doesn't do it, check the file config.log created by\n"
1825
"          configure. Errors are recorded there and may indicate the\n"
1826
"          problem."
1827
msgstr ""
1828
 
1829
#. type: Content of: <dl><dd><p>
1830
#: faq-en.html:485
1831
#, no-wrap
1832
msgid "If you're getting an error from configure like:"
1833
msgstr ""
1834
 
1835
#. type: Content of: <dl><dd><div><p>
1836
#: faq-en.html:488
1837
#, no-wrap
1838
msgid "               configure: error: GNU libc must be compiled using GNU CC"
1839
msgstr ""
1840
 
1841
#. type: Content of: <dl><dd><p>
1842
#: faq-en.html:490
1843
#, no-wrap
1844
msgid ""
1845
"It may be because egrep isn't working. Since egrep is a\n"
1846
"          shell-script which calls grep, this actually means there's a "
1847
"problem\n"
1848
"          with grep."
1849
msgstr ""
1850
 
1851
#. type: Content of: <dl><dd><p>
1852
#: faq-en.html:493
1853
#, no-wrap
1854
msgid "To test if grep is working "
1855
msgstr ""
1856
 
1857
#. type: Content of: <dl><dd><p><em>
1858
#: faq-en.html:493
1859
#, no-wrap
1860
msgid "before"
1861
msgstr ""
1862
 
1863
#. type: Content of: <dl><dd><p>
1864
#: faq-en.html:493 faq-en.html:500
1865
#, no-wrap
1866
msgid ""
1867
" reinstalling the grep\n"
1868
"          package in Chapter 6, run the following command from "
1869
msgstr ""
1870
 
1871
#. type: Content of: <dl><dd><p><em>
1872
#: faq-en.html:494
1873
#, no-wrap
1874
msgid "outside"
1875
msgstr ""
1876
 
1877
#. type: Content of: <dl><dd><p>
1878
#: faq-en.html:495 faq-en.html:502
1879
#, no-wrap
1880
msgid "          chroot:"
1881
msgstr ""
1882
 
1883
#. type: Content of: <dl><dd><code>
1884
#: faq-en.html:496
1885
#, no-wrap
1886
msgid "file $LFS/bin/grep"
1887
msgstr ""
1888
 
1889
#. type: Content of: <dl><dd><p>
1890
#: faq-en.html:497
1891
#, no-wrap
1892
msgid "If it doesn't say "
1893
msgstr ""
1894
 
1895
#. type: Content of: <dl><dd><p><code>
1896
#: faq-en.html:497
1897
#, no-wrap
1898
msgid "statically linked"
1899
msgstr ""
1900
 
1901
#. type: Content of: <dl><dd><p>
1902
#: faq-en.html:497
1903
#, no-wrap
1904
msgid ""
1905
" you have a\n"
1906
"          problem and need to reinstall the grep package according to the\n"
1907
"          instruction in chapter 5."
1908
msgstr ""
1909
 
1910
#. type: Content of: <dl><dd><p>
1911
#: faq-en.html:500
1912
#, no-wrap
1913
msgid "To test if egrep is working "
1914
msgstr ""
1915
 
1916
#. type: Content of: <dl><dd><p><em>
1917
#: faq-en.html:500
1918
#, no-wrap
1919
msgid "after"
1920
msgstr ""
1921
 
1922
#. type: Content of: <dl><dd><p><em>
1923
#: faq-en.html:501
1924
#, no-wrap
1925
msgid "inside"
1926
msgstr ""
1927
 
1928
#. type: Content of: <dl><dd><code>
1929
#: faq-en.html:503
1930
#, no-wrap
1931
msgid "egrep root /etc/passwd"
1932
msgstr ""
1933
 
1934
#. type: Content of: <dl><dd><p>
1935
#: faq-en.html:504
1936
#, no-wrap
1937
msgid ""
1938
"If it doesn't print root's line from /etc/passwd, again, you have\n"
1939
"          a problem. (This test also works if you encounter the problem "
1940
"after\n"
1941
"          rebooting into the new LFS system.)"
1942
msgstr ""
1943
 
1944
#. type: Content of: <dl><dt>
1945
#: faq-en.html:508
1946
#, no-wrap
1947
msgid ""
1948
"The system has no more ptys.  Ask your system\n"
1949
"        administrator to create more."
1950
msgstr ""
1951
 
1952
#. type: Content of: <dl><dd><p>
1953
#: faq-en.html:511
1954
#, no-wrap
1955
msgid "If you run"
1956
msgstr ""
1957
 
1958
#. type: Content of: <dl><dd><div><p>
1959
#: faq-en.html:513
1960
#, no-wrap
1961
msgid "expect -c &quot;spawn ls&quot;"
1962
msgstr ""
1963
 
1964
#. type: Content of: <dl><dd><p>
1965
#: faq-en.html:515
1966
#, no-wrap
1967
msgid "and get the following error:"
1968
msgstr ""
1969
 
1970
#. type: Content of: <dl><dd><div><p>
1971
#: faq-en.html:517
1972
#, no-wrap
1973
msgid "The system has no more ptys."
1974
msgstr ""
1975
 
1976
#. type: Content of: <dl><dd><div><p>
1977
#: faq-en.html:518
1978
#, no-wrap
1979
msgid "               Ask your system administrator to create more."
1980
msgstr ""
1981
 
1982
#. type: Content of: <dl><dd><p>
1983
#: faq-en.html:520
1984
#, no-wrap
1985
msgid ""
1986
"then your linux distribution is either not setup to use Unix98\n"
1987
"          PTYs or to use the /dev/pts file system."
1988
msgstr ""
1989
 
1990
#. type: Content of: <dl><dd><p>
1991
#: faq-en.html:522
1992
#, no-wrap
1993
msgid ""
1994
"The solution may require recompiling your kernel. First, go to\n"
1995
"          your kernel's source directory and look at the .config file. If "
1996
"you\n"
1997
"          do not have a .config file, and you are running the pre-compiled\n"
1998
"          kernel that was installed with rpm, aptget, or whatever your\n"
1999
"          distribution uses, then you need to seek support from your\n"
2000
"          distribution's support FAQ's, mailing lists or IRC channels."
2001
msgstr ""
2002
 
2003
#. type: Content of: <dl><dd><p>
2004
#: faq-en.html:528
2005
#, no-wrap
2006
msgid "If you do have a .config file, look inside it for the following 2 options:"
2007
msgstr ""
2008
 
2009
#. type: Content of: <dl><dd><div><p>
2010
#: faq-en.html:530
2011
#, no-wrap
2012
msgid "CONFIG_UNIX98_PTYS=y"
2013
msgstr ""
2014
 
2015
#. type: Content of: <dl><dd><div><p>
2016
#: faq-en.html:531
2017
#, no-wrap
2018
msgid "               CONFIG_DEVPTS_FS=y"
2019
msgstr ""
2020
 
2021
#. type: Content of: <dl><dd><p>
2022
#: faq-en.html:533
2023
#, no-wrap
2024
msgid ""
2025
"If either of these has 'n' instead of 'y', then change it and recompile the "
2026
"kernel."
2027
msgstr ""
2028
 
2029
#. type: Content of: <dl><dd><p>
2030
#: faq-en.html:534
2031
#, no-wrap
2032
msgid ""
2033
"If they both have 'y', then you probably will not have to recompile the "
2034
"kernel."
2035
msgstr ""
2036
 
2037
#. type: Content of: <dl><dd><p>
2038
#: faq-en.html:535
2039
#, no-wrap
2040
msgid ""
2041
"Next, we need to ensure that the system is actually using both\n"
2042
"          Unix98 PTYs and the /dev/pts file system."
2043
msgstr ""
2044
 
2045
#. type: Content of: <dl><dd><p>
2046
#: faq-en.html:537
2047
#, no-wrap
2048
msgid ""
2049
"First, look for a device called /dev/ptmx.  If it doesn't exist, create it "
2050
"with:"
2051
msgstr ""
2052
 
2053
#. type: Content of: <dl><dd><div><p>
2054
#: faq-en.html:539
2055
#, no-wrap
2056
msgid "mknod /dev/ptmx c 5 2"
2057
msgstr ""
2058
 
2059
#. type: Content of: <dl><dd><p>
2060
#: faq-en.html:541
2061
#, no-wrap
2062
msgid "Then, whether it existed or you just created it, run:"
2063
msgstr ""
2064
 
2065
#. type: Content of: <dl><dd><div><p>
2066
#: faq-en.html:543
2067
#, no-wrap
2068
msgid "chmod 666 /dev/ptmx"
2069
msgstr ""
2070
 
2071
#. type: Content of: <dl><dd><p>
2072
#: faq-en.html:545
2073
#, no-wrap
2074
msgid ""
2075
"Next, ensure that there is a directory called /dev/pts.  The\n"
2076
"          permissions should be 755.  Create it and/or chmod it if needed."
2077
msgstr ""
2078
 
2079
#. type: Content of: <dl><dd><p>
2080
#: faq-en.html:547
2081
#, no-wrap
2082
msgid "The final setup is to add the following line to /etc/fstab:"
2083
msgstr ""
2084
 
2085
#. type: Content of: <dl><dd><div><p>
2086
#: faq-en.html:549
2087
#, no-wrap
2088
msgid "devpts&nbsp;&nbsp;&nbsp;&nbsp;/dev/pts&nbsp;&nbsp;&nbsp;&nbsp;devpts&nbsp;&nbsp;&nbsp;&nbsp;gid=5,mode=620&nbsp;&nbsp;&nbsp;&nbsp;0&nbsp;&nbsp;0"
2089
msgstr ""
2090
 
2091
#. type: Content of: <dl><dd><p>
2092
#: faq-en.html:551
2093
#, no-wrap
2094
msgid ""
2095
"NOTE:  Look for the tty group in /etc/group and note the group id\n"
2096
"          number.  Change the gid=5 option to match the group id number of "
2097
"the\n"
2098
"          tty group.  The group id of 5 is just an example and may differ "
2099
"on\n"
2100
"          your system."
2101
msgstr ""
2102
 
2103
#. type: Content of: <dl><dd><p>
2104
#: faq-en.html:555
2105
#, no-wrap
2106
msgid "Now that everything is setup, you have two options."
2107
msgstr ""
2108
 
2109
#. type: Content of: <dl><dd><p>
2110
#: faq-en.html:556
2111
#, no-wrap
2112
msgid "1.  Mount /dev/pts and test it by rerunning the above expect command."
2113
msgstr ""
2114
 
2115
#. type: Content of: <dl><dd><p>
2116
#: faq-en.html:557
2117
#, no-wrap
2118
msgid "2.  Reboot the computer and test it by rerunning the above expect command."
2119
msgstr ""
2120
 
2121
#. type: Content of: <dl><dd><p>
2122
#: faq-en.html:566
2123
#, no-wrap
2124
msgid "If compiling GCC in Chapter 5 errors out with"
2125
msgstr ""
2126
 
2127
#. type: Content of: <dl><dd><code>
2128
#: faq-en.html:567
2129
#, no-wrap
2130
msgid "Error: Unknown pseudo-op: `.hidden'"
2131
msgstr ""
2132
 
2133
#. type: Content of: <dl><dd><p>
2134
#: faq-en.html:568
2135
#, no-wrap
2136
msgid "Try the solution given in "
2137
msgstr ""
2138
 
2139
#. type: Content of: <dl><dd><p><a>
2140
#: faq-en.html:569
2141
#, no-wrap
2142
msgid ""
2143
"the\n"
2144
"          lfs-support archives"
2145
msgstr ""
2146
 
2147
#. type: Content of: <dl><dd><p>
2148
#: faq-en.html:570
2149
#, no-wrap
2150
msgid "  and replies."
2151
msgstr ""
2152
 
2153
#. type: Content of: <dl><dd><p>
2154
#: faq-en.html:574
2155
#, no-wrap
2156
msgid "If glibc fails to build with an error like this:"
2157
msgstr ""
2158
 
2159
#. type: Content of: <dl><dd><div><p>
2160
#: faq-en.html:576
2161
#, no-wrap
2162
msgid "'BEGIN { subdirs = \"\"; inhibit = \"\" };  \\"
2163
msgstr ""
2164
 
2165
#. type: Content of: <dl><dd><div><p>
2166
#: faq-en.html:577
2167
#, no-wrap
2168
msgid "               ^# { next };  \\"
2169
msgstr ""
2170
 
2171
#. type: Content of: <dl><dd><div><p>
2172
#: faq-en.html:578
2173
#, no-wrap
2174
msgid "               ^[^-] { subdirs = subdirs \" \" $0 };  \\"
2175
msgstr ""
2176
 
2177
#. type: Content of: <dl><dd><div><p>
2178
#: faq-en.html:579
2179
#, no-wrap
2180
msgid "               ^- { inhibit = inhibit \" \" substr($0, 2) };  \\"
2181
msgstr ""
2182
 
2183
#. type: Content of: <dl><dd><div><p>
2184
#: faq-en.html:580
2185
#, no-wrap
2186
msgid "               END { printf \"sysdep-subdirs =%s\\n\", subdirs;  \\"
2187
msgstr ""
2188
 
2189
#. type: Content of: <dl><dd><div><p>
2190
#: faq-en.html:581
2191
#, no-wrap
2192
msgid "               printf \"sysdep-inhibit-subdirs =%s\\n\", inhibit;  \\"
2193
msgstr ""
2194
 
2195
#. type: Content of: <dl><dd><div><p>
2196
#: faq-en.html:582
2197
#, no-wrap
2198
msgid "               print \"sysd-dirs-done = t\" }'  \\"
2199
msgstr ""
2200
 
2201
#. type: Content of: <dl><dd><div><p>
2202
#: faq-en.html:583
2203
#, no-wrap
2204
msgid "               /dev/null linuxthreads/sysdeps/pthread/Subdirs"
2205
msgstr ""
2206
 
2207
#. type: Content of: <dl><dd><div><p>
2208
#: faq-en.html:584
2209
#, no-wrap
2210
msgid "               sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs &gt;"
2211
msgstr ""
2212
 
2213
#. type: Content of: <dl><dd><div><p>
2214
#: faq-en.html:585
2215
#, no-wrap
2216
msgid "               /usr/src/glibc-build/sysd-dirs-tmp"
2217
msgstr ""
2218
 
2219
#. type: Content of: <dl><dd><div><p>
2220
#: faq-en.html:586
2221
#, no-wrap
2222
msgid "               /bin/sh: line 1: BEGIN { subdirs = \"\"; inhibit = \"\" };"
2223
msgstr ""
2224
 
2225
#. type: Content of: <dl><dd><div><p>
2226
#: faq-en.html:587
2227
#, no-wrap
2228
msgid "               ^# { next };"
2229
msgstr ""
2230
 
2231
#. type: Content of: <dl><dd><div><p>
2232
#: faq-en.html:588
2233
#, no-wrap
2234
msgid "               ^[^-] { subdirs = subdirs \" \" $0 }; ^- { inhibit ="
2235
msgstr ""
2236
 
2237
#. type: Content of: <dl><dd><div><p>
2238
#: faq-en.html:589
2239
#, no-wrap
2240
msgid "               inhibit \" \" substr($0, 2) }; END"
2241
msgstr ""
2242
 
2243
#. type: Content of: <dl><dd><p>
2244
#: faq-en.html:591
2245
#, no-wrap
2246
msgid ""
2247
"then gawk is failing. The key is the BEGIN and END in the output.\n"
2248
"          The probable reason is that it is linked incorrectly. This can "
2249
"be\n"
2250
"          fixed by recompiling it as the lfs user, according to the "
2251
"directions\n"
2252
"          in Chapter 5."
2253
msgstr ""
2254
 
2255
#. type: Content of: <dl><dd><p>
2256
#: faq-en.html:598
2257
#, no-wrap
2258
msgid ""
2259
"This usually indicates that you are compiling LFS onto a Reiser4\n"
2260
"          partition. Unfortunately, there is currently no known solution, "
2261
"other\n"
2262
"          than to use a different type of filesystem. "
2263
msgstr ""
2264
 
2265
#. type: Content of: <dl><dt>
2266
#: faq-en.html:602
2267
#, no-wrap
2268
msgid "NCurses: C++ preprocessor &quot;/lib/cpp&quot; fails sanity check"
2269
msgstr ""
2270
 
2271
#. type: Content of: <dl><dd><p>
2272
#: faq-en.html:604
2273
#, no-wrap
2274
msgid "Ncurses in chapter six ends with:"
2275
msgstr ""
2276
 
2277
#. type: Content of: <dl><dd><div><p>
2278
#: faq-en.html:606
2279
#, no-wrap
2280
msgid "checking how to run the C++ preprocessor... /lib/cpp"
2281
msgstr ""
2282
 
2283
#. type: Content of: <dl><dd><div><p>
2284
#: faq-en.html:607
2285
#, no-wrap
2286
msgid ""
2287
"               configure: error: C++ preprocessor \"/lib/cpp\" fails sanity "
2288
"check"
2289
msgstr ""
2290
 
2291
#. type: Content of: <dl><dd><p>
2292
#: faq-en.html:609
2293
#, no-wrap
2294
msgid ""
2295
"The problem is that you have no c++ compiler. In chapter five, gcc\n"
2296
"          is first built without the C++ compiler. Before building ncurses, "
2297
"gcc\n"
2298
"          is rebuilt with the C++ compiler. Most probably, you forgot to\n"
2299
"          extract the g++ tarball, or did not specify \"c++\" in the\n"
2300
"          --enable-languages configure switch, on the 2nd gcc build. There "
2301
"are\n"
2302
"          more details in "
2303
msgstr ""
2304
 
2305
#. type: Content of: <dl><dd><p><a>
2306
#: faq-en.html:615
2307
#, no-wrap
2308
msgid ""
2309
"the\n"
2310
"          mail archive"
2311
msgstr ""
2312
 
2313
#. type: Content of: <dl><dd><p>
2314
#: faq-en.html:625
2315
#, no-wrap
2316
msgid ""
2317
"There are several reasons why the kernel might be unable to mount the root "
2318
"filesystem."
2319
msgstr ""
2320
 
2321
#. type: Content of: <dl><dd><ul><li>
2322
#: faq-en.html:627
2323
#, no-wrap
2324
msgid ""
2325
"Did you specify the correct partition in\n"
2326
"            "
2327
msgstr ""
2328
 
2329
#. type: Content of: <dl><dd><ul><li><code>
2330
#: faq-en.html:628
2331
#, no-wrap
2332
msgid "/boot/grub/menu.lst"
2333
msgstr ""
2334
 
2335
#. type: Content of: <dl><dd><ul><li>
2336
#: faq-en.html:628
2337
#, no-wrap
2338
msgid "?"
2339
msgstr ""
2340
 
2341
#. type: Content of: <dl><dd><ul><li>
2342
#: faq-en.html:629
2343
#, no-wrap
2344
msgid ""
2345
"Is support for the hard drive enabled in the kernel. For SCSI\n"
2346
"            this means support for the specific SCSI adapter."
2347
msgstr ""
2348
 
2349
#. type: Content of: <dl><dd><ul><li>
2350
#: faq-en.html:631
2351
#, no-wrap
2352
msgid ""
2353
"Is support for the hard drive compiled into the kernel, not\n"
2354
"            just as a module. (Modules are stored on the filesystem. If a\n"
2355
"            driver needed to access the filesystem is stored as a module "
2356
"on\n"
2357
"            that filesystem, well ... you know ... ;)"
2358
msgstr ""
2359
 
2360
#. type: Content of: <dl><dd><ul><li>
2361
#: faq-en.html:635
2362
#, no-wrap
2363
msgid ""
2364
"Is support for the filesystem compiled into the kernel. Again,\n"
2365
"            not a module. Support for ext2 is enabled by default, but "
2366
"others\n"
2367
"            like ext3, reiser, jfs, and xfs are not."
2368
msgstr ""
2369
 
2370
#. type: Content of: <dl><dd><code>
2371
#: faq-en.html:640 faq-en.html:643
2372
#, no-wrap
2373
msgid "init: Id \"1\" respawning too fast: disabled for 5 minutes"
2374
msgstr ""
2375
 
2376
#. type: Content of: <dl><dd><p>
2377
#: faq-en.html:642
2378
#, no-wrap
2379
msgid "When you see, in your syslogs, this line:"
2380
msgstr ""
2381
 
2382
#. type: Content of: <dl><dd><p>
2383
#: faq-en.html:644
2384
#, no-wrap
2385
msgid ""
2386
"It means you have an error in the /etc/inittab line beginning with the given "
2387
"id (\"1\" in this example)."
2388
msgstr ""
2389
 
2390
#. type: Content of: <dl><dd><p><code>
2391
#: faq-en.html:648
2392
#, no-wrap
2393
msgid "char-major-10-135"
2394
msgstr ""
2395
 
2396
#. type: Content of: <dl><dd><p>
2397
#: faq-en.html:648
2398
#, no-wrap
2399
msgid ""
2400
" refers to the character device,\n"
2401
"          major 10, minor 135, which is /dev/rtc. It provides access to "
2402
"the\n"
2403
"          BIOS clock, or RTC, the Real Time Clock. See\n"
2404
"          /usr/src/linux/Documentation/rtc.txt for more information."
2405
msgstr ""
2406
 
2407
#. type: Content of: <dl><dd><p>
2408
#: faq-en.html:652
2409
#, no-wrap
2410
msgid ""
2411
"The error is because something, most likely hwclock, is trying to\n"
2412
"          use /dev/rtc but you haven't configured kernel support for it in "
2413
"your\n"
2414
"          kernel. Either delete /dev/rtc so hwclock won't try to use it or\n"
2415
"          enable RTC support in your kernel. It's located in make "
2416
"menuconfig\n"
2417
"          under \"Character devices\" -&gt; \"Enhanced Real Time Clock\n"
2418
"          Support\"."
2419
msgstr ""
2420
 
2421
#. type: Content of: <dl><dd><p>
2422
#: faq-en.html:661
2423
#, no-wrap
2424
msgid "See the question "
2425
msgstr ""
2426
 
2427
#. type: Content of: <dl><dd><p><a>
2428
#: faq-en.html:661
2429
#, no-wrap
2430
msgid "\"modprobe: Can't locate module char-major-10-135\""
2431
msgstr ""
2432
 
2433
#. type: Content of: <dl><dt>
2434
#: faq-en.html:663
2435
#, no-wrap
2436
msgid "eth0:unknown interface:No such device [failed] "
2437
msgstr ""
2438
 
2439
#. type: Content of: <dl><dd><p>
2440
#: faq-en.html:665
2441
#, no-wrap
2442
msgid "The full error looks like this:"
2443
msgstr ""
2444
 
2445
#. type: Content of: <dl><dd><div><p>
2446
#: faq-en.html:667
2447
#, no-wrap
2448
msgid "eth0:unknown interface:No such device [failed]"
2449
msgstr ""
2450
 
2451
#. type: Content of: <dl><dd><div><p>
2452
#: faq-en.html:668
2453
#, no-wrap
2454
msgid "               Setting up default gateway..."
2455
msgstr ""
2456
 
2457
#. type: Content of: <dl><dd><div><p>
2458
#: faq-en.html:669
2459
#, no-wrap
2460
msgid "               SIOCADDRT:No such device [failed]"
2461
msgstr ""
2462
 
2463
#. type: Content of: <dl><dd><p>
2464
#: faq-en.html:671
2465
#, no-wrap
2466
msgid ""
2467
"eth0 is a virtual device with no /dev entry. It refers to the\n"
2468
"          first detected network card in your system. The reason the "
2469
"kernel\n"
2470
"          can't find this device is because you forgot to add support for "
2471
"your\n"
2472
"          network card in the kernel. The kernel detected the card but "
2473
"doesn't\n"
2474
"          have a driver for it. The LFS boot script tries to bring up the\n"
2475
"          network but fails because of this."
2476
msgstr ""
2477
 
2478
#. type: Content of: <dl><dd><p>
2479
#: faq-en.html:677
2480
#, no-wrap
2481
msgid ""
2482
"Recompile your kernel with the proper driver, either built in or\n"
2483
"          as a module. If you compiled the network driver as a module, "
2484
"then\n"
2485
"          also adjust /etc/modules.conf to alias the network card module "
2486
"as\n"
2487
"          eth0; for example: "
2488
msgstr ""
2489
 
2490
#. type: Content of: <dl><dd><p><code>
2491
#: faq-en.html:680
2492
#, no-wrap
2493
msgid "alias eth0 8139too"
2494
msgstr ""
2495
 
2496
#. type: Content of: <dl><dd><p>
2497
#: faq-en.html:680
2498
#, no-wrap
2499
msgid ""
2500
". If you don't know\n"
2501
"          which network card you have, you can use "
2502
msgstr ""
2503
 
2504
#. type: Content of: <dl><dd><p><code>
2505
#: faq-en.html:681
2506
#, no-wrap
2507
msgid "dmesg"
2508
msgstr ""
2509
 
2510
#. type: Content of: <dl><dd><p>
2511
#: faq-en.html:681
2512
#, no-wrap
2513
msgid ""
2514
",\n"
2515
"          /proc/pci or "
2516
msgstr ""
2517
 
2518
#. type: Content of: <dl><dd><p><code>
2519
#: faq-en.html:682
2520
#, no-wrap
2521
msgid "lspci"
2522
msgstr ""
2523
 
2524
#. type: Content of: <dl><dd><p>
2525
#: faq-en.html:682
2526
#, no-wrap
2527
msgid " to find out."
2528
msgstr ""
2529
 
2530
#. type: Content of: <dl><dt>
2531
#: faq-en.html:684
2532
#, no-wrap
2533
msgid "spurious 8259A interrupt: IRQ14 "
2534
msgstr ""
2535
 
2536
#. type: Content of: <dl><dd><p>
2537
#: faq-en.html:686
2538
#, no-wrap
2539
msgid ""
2540
"Short summary: It's a hardware problem (usually). Transient\n"
2541
"          Line-noise/crosstalk persuades the PIC that something happened; "
2542
"this\n"
2543
"          can result in a 'dummy' interrupt being raised, which happens to "
2544
"be\n"
2545
"          IRQ7 with intel's 8259 design.The problem could possibly also be\n"
2546
"          caused by (or instead be caused by) a device driver not properly\n"
2547
"          masking its interrupts before servicing, this would be the suspect "
2548
"if\n"
2549
"          the IRQ7's were happening in bursts, or more often than 'several' "
2550
"per\n"
2551
"          day. ("
2552
msgstr ""
2553
 
2554
#. type: Content of: <dl><dd><p><a>
2555
#: faq-en.html:694
2556
#, no-wrap
2557
msgid ""
2558
"Source\n"
2559
"          and additional information"
2560
msgstr ""
2561
 
2562
#. type: Content of: <dl><dd><p>
2563
#: faq-en.html:695
2564
#, no-wrap
2565
msgid ")"
2566
msgstr ""
2567
 
2568
#. type: Content of: <dl><dd><p>
2569
#: faq-en.html:696
2570
#, no-wrap
2571
msgid ""
2572
"Since the message itself is harmless, it's enough to adjust the\n"
2573
"          default loglevel outplut of klogd (the -c opion) in the syslogd\n"
2574
"          bootscript. See "
2575
msgstr ""
2576
 
2577
#. type: Content of: <dl><dd><p><code>
2578
#: faq-en.html:698
2579
#, no-wrap
2580
msgid "man klogd"
2581
msgstr ""
2582
 
2583
#. type: Content of: <dl><dd><p>
2584
#: faq-en.html:698
2585
#, no-wrap
2586
msgid ""
2587
" for details. You can also try\n"
2588
"          recompiling the kernel and unset CONFIG_LOCAL_APIC."
2589
msgstr ""
2590
 
2591
#. type: Content of: <dl><dd><p>
2592
#: faq-en.html:703
2593
#, no-wrap
2594
msgid ""
2595
"Because the LANG and LC_ALL environment variables aren't set. To\n"
2596
"          fix that, set them in both the ~/.bash_profile and ~/.bashrc "
2597
"files\n"
2598
"          for each user or in /etc/profile, which will take care of all "
2599
"users,\n"
2600
"          by adding lines like this:"
2601
msgstr ""
2602
 
2603
#. type: Content of: <dl><dd><div><p>
2604
#: faq-en.html:708
2605
#, no-wrap
2606
msgid "export LANG=en_US"
2607
msgstr ""
2608
 
2609
#. type: Content of: <dl><dd><div><p>
2610
#: faq-en.html:709
2611
#, no-wrap
2612
msgid "               export LC_ALL=POSIX"
2613
msgstr ""
2614
 
2615
#. type: Content of: <dl><dd><p>
2616
#: faq-en.html:711
2617
#, no-wrap
2618
msgid "Those lines can be added to /etc/profile with the following command:"
2619
msgstr ""
2620
 
2621
#. type: Content of: <dl><dd><code>
2622
#: faq-en.html:712
2623
#, no-wrap
2624
msgid "echo -e 'export LANG=en_US\\nexport LC_ALL=POSIX' &gt;&gt; /etc/profile"
2625
msgstr ""
2626
 
2627
#. type: Content of: <dl><dd><p>
2628
#: faq-en.html:713
2629
#, no-wrap
2630
msgid ""
2631
"If you don't use US English you'll have to change the \"en_US\" part and "
2632
"possibly the values of various LC_* variables as well. Running the locale "
2633
"command lists many (all?) of the LC_* variables."
2634
msgstr ""