Subversion Repositories svn LFS-FR

Rev

Rev 7247 | Rev 7249 | Go to most recent revision | Details | Compare with Previous | 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
msgid ""
7
msgstr ""
7248 jlepiller 8
"Project-Id-Version: 8.0\n"
9
"POT-Creation-Date: 2017-03-12 09:56+0100\n"
10
"PO-Revision-Date: 2017-03-01 20:00+0100\n"
11
"Last-Translator: roptat <roptat@lepiller.eu>\n"
12
"Language-Team: lfs-fr <lfs-traducfr@linuxfromscratch.org>\n"
13
"Language: fr\n"
7247 jlepiller 14
"MIME-Version: 1.0\n"
7248 jlepiller 15
"Content-Type: text/plain; charset=UTF-8\n"
7247 jlepiller 16
"Content-Transfer-Encoding: 8bit\n"
17
 
18
#. type: Content of: <h1>
19
#: faq-en.html:2
20
msgid "LFS Frequently Asked Questions"
21
msgstr ""
22
 
23
#. type: Content of: <p>
24
#: faq-en.html:3
25
msgid ""
7248 jlepiller 26
"The FAQ is divided in three documents. The <a "
27
"href=\"/faq/index.html\">General FAQ</a> has links to all questions and "
28
"answers. The <a href=\"/lfs/faq.html\">LFS FAQ</a> is a selection of "
29
"LFS-specific FAQ's and the <a href=\"/blfs/faq.html\">BLFS FAQ</a> is a "
30
"selection of BLFS-specific FAQ's."
7247 jlepiller 31
msgstr ""
32
 
33
#. type: Content of: <h3>
7248 jlepiller 34
#: faq-en.html:9
35
msgid "<a href=\"#fre\">Frequently Requested Enhancements</a>"
7247 jlepiller 36
msgstr ""
37
 
7248 jlepiller 38
#. type: Content of: <ul><li>
39
#: faq-en.html:11
40
msgid "<a href=\"#add-grub\">Why not use LILO instead of GRUB?</a>"
7247 jlepiller 41
msgstr ""
42
 
7248 jlepiller 43
#. type: Content of: <ul><li>
7247 jlepiller 44
#: faq-en.html:12
7248 jlepiller 45
msgid ""
46
"<a href=\"#why-not-new-lilo\">Why not upgrade LILO to the latest "
47
"version?</a>"
7247 jlepiller 48
msgstr ""
49
 
7248 jlepiller 50
#. type: Content of: <ul><li>
51
#: faq-en.html:13
52
msgid "<a href=\"#why-not-faq\">Why not include the FAQ in the book?</a>"
7247 jlepiller 53
msgstr ""
54
 
7248 jlepiller 55
#. type: Content of: <ul><li>
56
#: faq-en.html:14
57
msgid "<a href=\"#why-vim\">Why is vim in the book?</a>"
7247 jlepiller 58
msgstr ""
59
 
7248 jlepiller 60
#. type: Content of: <ul><li>
61
#: faq-en.html:15
62
msgid "<a href=\"#hjl-binutils\">Why is HJL's Binutils not in the book?</a>"
7247 jlepiller 63
msgstr ""
64
 
7248 jlepiller 65
#. type: Content of: <ul><li>
66
#: faq-en.html:16
67
msgid ""
68
"<a href=\"#why-not-package-management\">Why isn't some package manager in "
69
"the book?</a>"
7247 jlepiller 70
msgstr ""
71
 
7248 jlepiller 72
#. type: Content of: <ul><li>
73
#: faq-en.html:17
74
msgid ""
75
"<a href=\"#no-poweroff\">How do I make my machine poweroff when shut "
76
"down?</a>"
7247 jlepiller 77
msgstr ""
78
 
79
#. type: Content of: <h3>
7248 jlepiller 80
#: faq-en.html:19
81
msgid "<a href=\"#resources\">When reading and building LFS</a>"
7247 jlepiller 82
msgstr ""
83
 
7248 jlepiller 84
#. type: Content of: <ul><li>
85
#: faq-en.html:21
86
msgid "<a href=\"#what-dist\">What distribution should I use to start from?</a>"
7247 jlepiller 87
msgstr ""
88
 
7248 jlepiller 89
#. type: Content of: <ul><li>
90
#: faq-en.html:22
91
msgid "<a href=\"#kernel-modules\">How do I compile a kernel or set up modules?</a>"
7247 jlepiller 92
msgstr ""
93
 
7248 jlepiller 94
#. type: Content of: <ul><li>
95
#: faq-en.html:23
96
msgid "<a href=\"#gcc-warnings\">Are compiler warnings from GCC bad?</a>"
7247 jlepiller 97
msgstr ""
98
 
7248 jlepiller 99
#. type: Content of: <ul><li>
7247 jlepiller 100
#: faq-en.html:24
7248 jlepiller 101
msgid ""
102
"<a href=\"#dirty-sources\">Do I need to keep the source after "
103
"installing?</a>"
7247 jlepiller 104
msgstr ""
105
 
7248 jlepiller 106
#. type: Content of: <ul><li>
107
#: faq-en.html:25
108
msgid ""
109
"<a href=\"#really-small\">How do I make that really small install the book "
110
"mentions?</a>"
7247 jlepiller 111
msgstr ""
112
 
7248 jlepiller 113
#. type: Content of: <ul><li>
114
#: faq-en.html:26
115
msgid ""
116
"<a href=\"#procs-lfs\">Is there information about building LFS on other "
117
"processors?</a>"
7247 jlepiller 118
msgstr ""
119
 
7248 jlepiller 120
#. type: Content of: <ul><li>
121
#: faq-en.html:27
122
msgid "<a href=\"#cross-compile\">How do I cross compile LFS?</a>"
7247 jlepiller 123
msgstr ""
124
 
7248 jlepiller 125
#. type: Content of: <ul><li>
126
#: faq-en.html:28
127
msgid "<a href=\"#dos-text\">What's a DOS format text file?</a>"
7247 jlepiller 128
msgstr ""
129
 
7248 jlepiller 130
#. type: Content of: <ul><li>
131
#: faq-en.html:29
132
msgid ""
133
"<a href=\"#wget\">Is there a way to download all current files at one "
134
"time?</a>"
7247 jlepiller 135
msgstr ""
136
 
137
#. type: Content of: <h3>
7248 jlepiller 138
#: faq-en.html:31
139
msgid "<a href=\"#generrors\">General compilation errors</a>"
7247 jlepiller 140
msgstr ""
141
 
7248 jlepiller 142
#. type: Content of: <ul><li>
143
#: faq-en.html:33
144
msgid "<a href=\"#gnu-patches\">I used a patch from GNU to upgrade. Is that OK?</a>"
7247 jlepiller 145
msgstr ""
146
 
7248 jlepiller 147
#. type: Content of: <ul><li>
148
#: faq-en.html:34
149
msgid ""
150
"<a href=\"#optimizations\">When using optimization flags (setting "
151
"CFLAGS)</a>"
7247 jlepiller 152
msgstr ""
153
 
7248 jlepiller 154
#. type: Content of: <ul><li>
7247 jlepiller 155
#: faq-en.html:35
7248 jlepiller 156
msgid ""
157
"<a href=\"#config-hang-size_t\">Why does configure hang at &quot;checking "
158
"for signed size_t type...&quot;?</a>"
7247 jlepiller 159
msgstr ""
160
 
7248 jlepiller 161
#. type: Content of: <ul><li>
162
#: faq-en.html:36
163
msgid ""
164
"<a href=\"#dirty-sources\">I didn't delete the source tree after my last "
165
"attempt. Do I need to?</a>"
7247 jlepiller 166
msgstr ""
167
 
7248 jlepiller 168
#. type: Content of: <ul><li>
169
#: faq-en.html:37
170
msgid "<a href=\"#perm-denied\">I'm getting `/dev/null: Permission denied'</a>"
7247 jlepiller 171
msgstr ""
172
 
7248 jlepiller 173
#. type: Content of: <ul><li>
174
#: faq-en.html:38
175
msgid "<a href=\"#sig11\">signal 11 (internal error: Segmentation fault)</a>"
7247 jlepiller 176
msgstr ""
177
 
7248 jlepiller 178
#. type: Content of: <ul><li>
179
#: faq-en.html:39
180
msgid "<a href=\"#any-no-such-file\">No such file or directory</a>"
7247 jlepiller 181
msgstr ""
182
 
7248 jlepiller 183
#. type: Content of: <ul><li>
184
#: faq-en.html:40
185
msgid ""
186
"<a href=\"#configure-no-such-file\">bash: ./configure: No such file or "
187
"directory</a>"
7247 jlepiller 188
msgstr ""
189
 
7248 jlepiller 190
#. type: Content of: <ul><li>
191
#: faq-en.html:41
192
msgid ""
193
"<a href=\"#bad-interpreter-permission-denied\">./configure: bad interpreter: "
194
"Permission denied</a>"
7247 jlepiller 195
msgstr ""
196
 
7248 jlepiller 197
#. type: Content of: <ul><li>
198
#: faq-en.html:42
199
msgid "<a href=\"#conf-guess-fail\">configure can't guess my host type.</a>"
7247 jlepiller 200
msgstr ""
201
 
7248 jlepiller 202
#. type: Content of: <ul><li>
203
#: faq-en.html:43
204
msgid "<a href=\"#config-not-gnu-c\">checking whether we are using GNU C... no</a>"
7247 jlepiller 205
msgstr ""
206
 
7248 jlepiller 207
#. type: Content of: <ul><li>
7247 jlepiller 208
#: faq-en.html:44
7248 jlepiller 209
msgid ""
210
"<a href=\"#no-ptys\">The system has no more ptys.  Ask your system "
211
"administrator to create more.</a>"
7247 jlepiller 212
msgstr ""
213
 
214
#. type: Content of: <h3>
7248 jlepiller 215
#: faq-en.html:46
216
msgid "<a href=\"#packerrors\">Package-specific errors</a>"
7247 jlepiller 217
msgstr ""
218
 
7248 jlepiller 219
#. type: Content of: <ul><li>
220
#: faq-en.html:48
221
msgid ""
222
"<a href=\"#unknown-pseudo-op-hidden\">GCC: Error: Unknown pseudo-op: "
223
"`.hidden'</a>"
7247 jlepiller 224
msgstr ""
225
 
7248 jlepiller 226
#. type: Content of: <ul><li>
227
#: faq-en.html:49
228
msgid "<a href=\"#glibc-awk-fail\">Glibc fails and mentions BEGIN and END.</a>"
7247 jlepiller 229
msgstr ""
230
 
7248 jlepiller 231
#. type: Content of: <ul><li>
232
#: faq-en.html:50
233
msgid ""
234
"<a href=\"#glibc-nss\">Glibc compilation errors out due to a missing nss.h "
235
"header file</a>"
7247 jlepiller 236
msgstr ""
237
 
7248 jlepiller 238
#. type: Content of: <ul><li>
7247 jlepiller 239
#: faq-en.html:51
7248 jlepiller 240
msgid ""
241
"<a href=\"#cpp-fails-sanity-check\">Ncurses: C++ preprocessor "
242
"&quot;/lib/cpp&quot; fails sanity check</a>"
7247 jlepiller 243
msgstr ""
244
 
245
#. type: Content of: <h3>
7248 jlepiller 246
#: faq-en.html:53
247
msgid "<a href=\"#confboot\">Configuration and booting issues</a>"
7247 jlepiller 248
msgstr ""
249
 
7248 jlepiller 250
#. type: Content of: <ul><li>
251
#: faq-en.html:55
252
msgid ""
253
"<a href=\"#unable-to-mount-root\">Kernel panic: VFS: unable to mount root "
254
"fs</a>"
7247 jlepiller 255
msgstr ""
256
 
7248 jlepiller 257
#. type: Content of: <ul><li>
7247 jlepiller 258
#: faq-en.html:56
7248 jlepiller 259
msgid ""
260
"<a href=\"#respawning-too-fast\">init: Id &quot;1&quot; respawning too fast: "
261
"disabled for 5 minutes</a>"
7247 jlepiller 262
msgstr ""
263
 
7248 jlepiller 264
#. type: Content of: <ul><li>
265
#: faq-en.html:57
266
msgid ""
267
"<a href=\"#char-major-10-135\">modprobe: Can't locate module "
268
"char-major-10-135</a>"
7247 jlepiller 269
msgstr ""
270
 
7248 jlepiller 271
#. type: Content of: <ul><li>
272
#: faq-en.html:58
273
msgid "<a href=\"#no-dev-rtc\">modprobe: Can't locate module /dev/rtc</a>"
7247 jlepiller 274
msgstr ""
275
 
7248 jlepiller 276
#. type: Content of: <ul><li>
7247 jlepiller 277
#: faq-en.html:59
7248 jlepiller 278
msgid "<a href=\"#eth0-unknown-interface\">eth0:unknown interface</a>"
7247 jlepiller 279
msgstr ""
280
 
7248 jlepiller 281
#. type: Content of: <ul><li>
7247 jlepiller 282
#: faq-en.html:60
7248 jlepiller 283
msgid "<a href=\"#spurious-8259A-interrupt\">spurious 8259A interrupt: IRQ14</a>"
7247 jlepiller 284
msgstr ""
285
 
7248 jlepiller 286
#. type: Content of: <ul><li>
287
#: faq-en.html:61
288
msgid ""
289
"<a href=\"#less-prints-ad\">Why does less (and therefore man) print "
290
"&lt;AD&gt; instead of hyphens?</a>"
291
msgstr ""
292
 
293
#. type: Content of: <h3>
294
#: faq-en.html:65
295
msgid "Frequently Requested Enhancements"
296
msgstr ""
297
 
7247 jlepiller 298
#. type: Content of: <dl><dt>
7248 jlepiller 299
#: faq-en.html:67
300
msgid "Why not use LILO instead of GRUB?"
7247 jlepiller 301
msgstr ""
302
 
303
#. type: Content of: <dl><dd><p>
304
#: faq-en.html:69
305
msgid ""
7248 jlepiller 306
"Since LFS-5.0, released 5 November 2003, LFS uses Grub instead of Lilo. Grub "
307
"was chosen because it doesn't require reinstallation after a kernel upgrade "
308
"and has a very nice rescue console."
7247 jlepiller 309
msgstr ""
310
 
311
#. type: Content of: <dl><dd><p>
312
#: faq-en.html:72
313
msgid ""
7248 jlepiller 314
"If your current setup uses LILO or you'd like to use it anyway, you can, but "
315
"beware you will also need to install BIN86 and, for the latest LILO "
316
"versions, NASM. However, don't preach about it on the LFS mailinglists, "
317
"since we've had many flamewars about it in the past."
7247 jlepiller 318
msgstr ""
319
 
7248 jlepiller 320
#. type: Content of: <dl><dt>
321
#: faq-en.html:78
322
msgid "Why not include the FAQ in the book?"
323
msgstr ""
324
 
7247 jlepiller 325
#. type: Content of: <dl><dd><p>
326
#: faq-en.html:80
327
msgid "Marc Heerdink may have said it best in a post to lfs-dev:"
328
msgstr ""
329
 
330
#. type: Content of: <dl><dd><blockquote><p>
331
#: faq-en.html:81
332
msgid ""
7248 jlepiller 333
"The problem is that the FAQ is a dynamic document. The FAQ for a book "
334
"release is released only after the book version itself, because the FAQ is "
335
"updated to reflect the Qs asked about the current version of the book. A "
336
"link is better, since you'll always have the most up-to-date answers handy."
7247 jlepiller 337
msgstr ""
338
 
7248 jlepiller 339
#. type: Content of: <dl><dt>
340
#: faq-en.html:87
341
msgid "Why is vim in the book?"
342
msgstr ""
343
 
7247 jlepiller 344
#. type: Content of: <dl><dd><p>
345
#: faq-en.html:89
7248 jlepiller 346
msgid ""
347
"This is fairly well discussed in the thread starting at <a "
348
"href=\"http://linuxfromscratch.org/pipermail/lfs-dev/2002-February/023030.html\">http://linuxfromscratch.org/pipermail/lfs-dev/2002-February/023030.html</a>."
7247 jlepiller 349
msgstr ""
350
 
7248 jlepiller 351
#. type: Content of: <dl><dt>
352
#: faq-en.html:92
353
msgid "Why is HJL's Binutils not in the book?"
7247 jlepiller 354
msgstr ""
355
 
356
#. type: Content of: <dl><dd><p>
357
#: faq-en.html:94
358
msgid ""
7248 jlepiller 359
"The binutils release that you typically find on ftp.gnu.org is commonly "
360
"known as the &quot;FSF&quot; binutils. Noted hacker H.J. Lu also makes "
361
"releases out of the main CVS repository and these are commonly known as the "
362
"&quot;HJL&quot; binutils and can usually be found on ftp.kernel.org. Debate "
363
"often arises over which version to use due to the fact that most mainstream "
364
"distros tend to use the HJL releases even though they are typically marked "
365
"as &quot;beta&quot;."
7247 jlepiller 366
msgstr ""
367
 
368
#. type: Content of: <dl><dd><p>
369
#: faq-en.html:102
370
msgid "Here is our interpretation of the differences between the two:"
371
msgstr ""
372
 
373
#. type: Content of: <dl><dd><h4>
374
#: faq-en.html:103
375
msgid "HJL:"
376
msgstr ""
377
 
378
#. type: Content of: <dl><dd><ul><li>
379
#: faq-en.html:105
380
msgid "For Linux OS only"
381
msgstr ""
382
 
383
#. type: Content of: <dl><dd><ul><li>
384
#: faq-en.html:106
385
msgid "Marked as &quot;beta&quot;"
386
msgstr ""
387
 
388
#. type: Content of: <dl><dd><ul><li>
389
#: faq-en.html:107
390
msgid "Closely follows the CVS HEAD"
391
msgstr ""
392
 
393
#. type: Content of: <dl><dd><ul><li>
394
#: faq-en.html:108
395
msgid "Usually contains the latest subtle bug fixes"
396
msgstr ""
397
 
398
#. type: Content of: <dl><dd><ul><li>
399
#: faq-en.html:109
400
msgid "Usually has latest bug fixes for non-x86 arch's"
401
msgstr ""
402
 
403
#. type: Content of: <dl><dd><ul><li>
404
#: faq-en.html:110
405
msgid ""
406
"Usually a new release every time a significant bug that affects Linux gets "
407
"fixed"
408
msgstr ""
409
 
410
#. type: Content of: <dl><dd><ul><li>
411
#: faq-en.html:111
412
msgid "Theoretically less stable due to newness of code"
413
msgstr ""
414
 
415
#. type: Content of: <dl><dd><h4>
416
#: faq-en.html:113
417
msgid "FSF:"
418
msgstr ""
419
 
420
#. type: Content of: <dl><dd><ul><li>
421
#: faq-en.html:115
422
msgid "Supports more OS's (not only Linux)"
423
msgstr ""
424
 
425
#. type: Content of: <dl><dd><ul><li>
426
#: faq-en.html:116
427
msgid "Latest code from the stable branch of CVS"
428
msgstr ""
429
 
430
#. type: Content of: <dl><dd><ul><li>
431
#: faq-en.html:117
432
msgid ""
433
"Sometimes not up-to-date WRT to the latest bleeding edge kernel, gcc and "
434
"glibc subtleties"
435
msgstr ""
436
 
437
#. type: Content of: <dl><dd><ul><li>
438
#: faq-en.html:118
439
msgid ""
440
"Often includes features backported from the CVS HEAD after a period of "
441
"testing"
442
msgstr ""
443
 
444
#. type: Content of: <dl><dd><ul><li>
445
#: faq-en.html:119
446
msgid "Theoretically more stable"
447
msgstr ""
448
 
449
#. type: Content of: <dl><dd><p>
450
#: faq-en.html:121
451
msgid ""
7248 jlepiller 452
"You'll notice in the above points words like &quot;usually&quot; and "
453
"&quot;sometimes&quot;. This demonstrates how the situation can be different "
454
"depending on which particular point in time you happen to be referring "
455
"to. For example, from time to time there will be a new bleeding edge feature "
456
"in gcc or glibc that requires support from binutils. During these times you "
457
"will often hear the developers say &quot;you must be using the latest HJL "
458
"binutils version x.y.z.a.b&quot;."
7247 jlepiller 459
msgstr ""
460
 
461
#. type: Content of: <dl><dd><p>
462
#: faq-en.html:129
463
msgid "The only way to correctly choose the most appropriate release to use is to:-"
464
msgstr ""
465
 
466
#. type: Content of: <dl><dd><ul><li>
467
#: faq-en.html:131
468
msgid ""
469
"Stay abreast of the issues on the project mailing lists of the core "
470
"toolchain packages"
471
msgstr ""
472
 
473
#. type: Content of: <dl><dd><ul><li>
474
#: faq-en.html:132
475
msgid ""
476
"Have a large dose of technical prowess and/or programming talent to "
477
"understand all the issues"
478
msgstr ""
479
 
480
#. type: Content of: <dl><dd><ul><li>
481
#: faq-en.html:133
482
msgid "Test like crazy by running the test suites"
483
msgstr ""
484
 
485
#. type: Content of: <dl><dd><ul><li>
486
#: faq-en.html:134
487
msgid "Test like crazy by building full systems"
488
msgstr ""
489
 
490
#. type: Content of: <dl><dd><p>
491
#: faq-en.html:136
492
msgid ""
7248 jlepiller 493
"The facts of the matter are that the core toolchain packages are all very "
494
"tightly bound and must be tested to ensure they work together. You basically "
495
"have to build a full working distro and test every aspect of it to be fully "
496
"satisfied."
7247 jlepiller 497
msgstr ""
498
 
499
#. type: Content of: <dl><dd><p>
500
#: faq-en.html:140
501
msgid ""
7248 jlepiller 502
"If you follow the project mailing lists of the core toolchain packages for "
503
"long enough, you'll soon realise that the developers do not care much "
504
"whether a particular release of &quot;Package A&quot; works with a "
505
"particular release of &quot;Package B&quot;. In other words, release "
506
"coordination between the projects is not a priority.  In reality, this means "
507
"that Alan Cox is right when he says that you cannot just go to ftp.gnu.org "
508
"and grab the latest of everything and always expect it to just work."
7247 jlepiller 509
msgstr ""
510
 
7248 jlepiller 511
#. type: Content of: <dl><dt>
512
#: faq-en.html:149
513
msgid "Why isn't some package manager in the book?"
514
msgstr ""
515
 
7247 jlepiller 516
#. type: Content of: <dl><dd><p>
517
#: faq-en.html:151
518
msgid ""
7248 jlepiller 519
"Package management - beyond that provided by tarballs and makefiles - is "
520
"beyond the scope of the book. If nothing else does, the number of different "
521
"\"solutions\" should hint at some of the reasons."
7247 jlepiller 522
msgstr ""
523
 
524
#. type: Content of: <dl><dd><p>
525
#: faq-en.html:155
526
msgid "Here are a few of the options:"
527
msgstr ""
528
 
529
#. type: Content of: <dl><dd><ul><li>
530
#: faq-en.html:157
531
msgid ""
7248 jlepiller 532
"No package management is really necessary. Unless it is desirable to monitor "
533
"package file placement minutely, any package large enough to warrent removal "
534
"for disk space reasons can be installed in /opt as detailed by the FHS "
535
"(perhaps in /opt/foo-x.x with a link from /opt/foo), and new releases can "
536
"usually be installed over the old, although major upgrades and libraries are "
537
"generally best done by rebuilding the system from the bottom up."
7247 jlepiller 538
msgstr ""
539
 
540
#. type: Content of: <dl><dd><ul><li>
541
#: faq-en.html:165
542
msgid ""
7248 jlepiller 543
"RPM, the Redhat Package Manager, is used by a number of distributions. It is "
544
"available from <a href=\"http://www.rpm.org/\">http://www.rpm.org/</a>, and "
545
"there is an <a href=\"../hints/downloads/files/\">RPM Hint</a> to help with "
546
"installation."
7247 jlepiller 547
msgstr ""
548
 
549
#. type: Content of: <dl><dd><ul><li>
550
#: faq-en.html:170
7248 jlepiller 551
msgid "There are several implementations of symlink style package management:"
7247 jlepiller 552
msgstr ""
553
 
554
#. type: Content of: <dl><dd><ul><li><ul><li>
555
#: faq-en.html:172
7248 jlepiller 556
msgid ""
557
"Epkg is available from <a "
558
"href=\"http://www.encap.org/epkg/\">http://www.encap.org/epkg/</a>."
7247 jlepiller 559
msgstr ""
560
 
561
#. type: Content of: <dl><dd><ul><li><ul><li>
562
#: faq-en.html:173
7248 jlepiller 563
msgid ""
564
"Graft is available from <a href=\"http://peters.gormand.com.au/Home/tools\" "
565
">http://peters.gormand.com.au/Home/tools</a>."
7247 jlepiller 566
msgstr ""
567
 
568
#. type: Content of: <dl><dd><ul><li><ul><li>
569
#: faq-en.html:174
7248 jlepiller 570
msgid ""
571
"GNU Stow is available from <a "
572
"href=\"http://www.gnu.org/software/stow/\">http://www.gnu.org/software/stow/</a>."
7247 jlepiller 573
msgstr ""
574
 
575
#. type: Content of: <dl><dd><ul><li><ul><li>
576
#: faq-en.html:175
7248 jlepiller 577
msgid ""
578
"And several more are listed in the Graft documentation at <a "
579
"href=\"http://peters.gormand.com.au/Home/tools/graft/graft-html#research\">http://peters.gormand.com.au/Home/tools/graft/graft-html#research</a>."
7247 jlepiller 580
msgstr ""
581
 
582
#. type: Content of: <dl><dd><ul><li>
583
#: faq-en.html:179
584
msgid ""
7248 jlepiller 585
"The NetBSD package manager, pkgsrc, is available on other systems including "
586
"Linux. It is at <a "
587
"href=\"ftp://ftp.netbsd.org/pub/pkgsrc/stable/\">ftp://ftp.netbsd.org/pub/pkgsrc/stable/</a>."
7247 jlepiller 588
msgstr ""
589
 
590
#. type: Content of: <dl><dd><ul><li>
591
#: faq-en.html:182
592
msgid ""
7248 jlepiller 593
"Originally based on a script written by LFS' own Gerard Beekmans, "
594
"install-log records a list of files installed by a package as the package is "
595
"installed. It is available from <a "
596
"href=\"http://install-log.sourceforge.net/\">http://install-log.sourceforge.net/</a>."
7247 jlepiller 597
msgstr ""
598
 
599
#. type: Content of: <dl><dd><ul><li>
600
#: faq-en.html:186
601
msgid ""
7248 jlepiller 602
"Gerard has since made additions to his script. It is available from <a "
603
"href=\"http://linuxfromscratch.org/~gerard/log-install\">http://linuxfromscratch.org/~gerard/log-install</a>."
7247 jlepiller 604
msgstr ""
605
 
606
#. type: Content of: <dl><dd><ul><li>
607
#: faq-en.html:189
608
msgid ""
7248 jlepiller 609
"CheckInstall attempts log system calls made by \"make install\".  It is "
610
"available from <a "
611
"href=\"http://asic-linux.com.mx/%7Eizto/checkinstall/\">http://asic-linux.com.mx/~izto/checkinstall/</a>."
7247 jlepiller 612
msgstr ""
613
 
614
#. type: Content of: <dl><dd><ul><li>
615
#: faq-en.html:192
7248 jlepiller 616
msgid ""
617
"pkgutils, used by the CRUX distribution, is available from <a "
618
"href=\"http://www.fukt.bsnet.se/%7Eper/pkgutils/\">http://www.fukt.bsnet.se/~per/pkgutils/</a>."
7247 jlepiller 619
msgstr ""
620
 
621
#. type: Content of: <dl><dd><ul><li>
622
#: faq-en.html:194
7248 jlepiller 623
msgid ""
624
"There are some <a href=\"../hints/downloads/files/\">hints</a> available for "
625
"package managers."
7247 jlepiller 626
msgstr ""
627
 
628
#. type: Content of: <dl><dd><p>
629
#: faq-en.html:196
630
msgid ""
7248 jlepiller 631
"If you have an addition to the list, please do email its id, URL, and other "
632
"information, to the FAQ maintainer or an appropriate LFS mailing list so it "
633
"can be added here."
7247 jlepiller 634
msgstr ""
635
 
7248 jlepiller 636
#. type: Content of: <dl><dt>
637
#: faq-en.html:200
638
msgid "How do I make my machine poweroff when shut down?"
7247 jlepiller 639
msgstr ""
640
 
641
#. type: Content of: <dl><dd><p>
7248 jlepiller 642
#: faq-en.html:202
7247 jlepiller 643
msgid ""
7248 jlepiller 644
"Power Management is a kernel function, you need to enable it in the "
645
"kernel. In the 2.4 kernel, you have to enable the options for <code>Power "
646
"Management Support</code> under <code>General Setup</code>. For older "
647
"machines, you'll probably want the APM options, newer machines often require "
648
"ACPI. Make sure that either APM or ACPI be enabled in the kernel, but "
649
"definitely <strong>not</strong> both at the same time - this has been known "
650
"to cause problems such as neither actually taking effect. Also try disabling "
651
"SMP if you only have one processor; it's also known to prevent a proper "
652
"poweroff.  Make sure you read the help with each option."
7247 jlepiller 653
msgstr ""
654
 
655
#. type: Content of: <dl><dd><p>
656
#: faq-en.html:212
657
msgid ""
7248 jlepiller 658
"After rebooting into the new kernel you should be able to poweroff your "
659
"machine with the command <code>shutdown -h now</code> or "
660
"<code>poweroff</code> (also read <code>man shutdown</code> and <code>man "
661
"halt</code>). If you compiled APM or ACPI as modules, make sure they are "
662
"loaded before you try to power off.  Some machines require that APM or ACPI "
663
"is compiled into the kernel because it needs to be initialised at boottime."
7247 jlepiller 664
msgstr ""
665
 
7248 jlepiller 666
#. type: Content of: <p>
667
#: faq-en.html:221 faq-en.html:352 faq-en.html:560 faq-en.html:619
668
msgid "<a href=\"#lfsfaq\">Back to the top.</a>"
7247 jlepiller 669
msgstr ""
670
 
7248 jlepiller 671
#. type: Content of: <h3>
672
#: faq-en.html:223
673
msgid "When reading and building LFS"
7247 jlepiller 674
msgstr ""
675
 
7248 jlepiller 676
#. type: Content of: <dl><dt>
677
#: faq-en.html:225
678
msgid "What distribution should I use to start from?"
7247 jlepiller 679
msgstr ""
680
 
681
#. type: Content of: <dl><dd><p>
682
#: faq-en.html:227
683
msgid ""
7248 jlepiller 684
"Most relatively recent distributions should be fine. Do not use Fedora Core "
685
"4 as its version of GCC does not work with the current stable version of "
686
"LFS. Make sure you have installed and/or updated the development "
687
"packages. (Look for ones starting in \"gcc\", \"glibc\", or \"libstdc++\" or "
688
"ending in \"-dev\".). If you want to use LFS as your main system and you "
689
"wish to install it without first installing a distribution, try <a "
690
"href=\"http://www.knopper.net/knoppix/index-en.html\">Knoppix</a>."
7247 jlepiller 691
msgstr ""
692
 
7248 jlepiller 693
#. type: Content of: <dl><dt>
694
#: faq-en.html:236
695
msgid "How do I compile a kernel or set up modules?"
7247 jlepiller 696
msgstr ""
697
 
698
#. type: Content of: <dl><dd><p>
699
#: faq-en.html:238
700
msgid ""
7248 jlepiller 701
"In addition to the kernel documentation at <a "
702
"href=\"file:///usr/src/linux/Documentation\">/usr/src/linux/Documentation</a> "
703
"or wherever you unpacked your kernel source and the help in kernel config "
704
"tool (make menuconfig), see the Module-HOWTO at <a "
705
"href=\"http://www.tldp.org/HOWTO/Module-HOWTO/\">http://www.tldp.org/HOWTO/Module-HOWTO/</a>."
7247 jlepiller 706
msgstr ""
707
 
7248 jlepiller 708
#. type: Content of: <dl><dt>
709
#: faq-en.html:244
710
msgid "Are compiler warnings from GCC bad?"
7247 jlepiller 711
msgstr ""
712
 
713
#. type: Content of: <dl><dd><p>
714
#: faq-en.html:246
715
msgid "Short answer: no."
716
msgstr ""
717
 
718
#. type: Content of: <dl><dd><p>
719
#: faq-en.html:247
720
msgid ""
7248 jlepiller 721
"Long answer: probably, but only to someone working on the package you're "
722
"trying to compile. Mostly, everything will be fine unless make quits with an "
723
"error."
7247 jlepiller 724
msgstr ""
725
 
726
#. type: Content of: <dl><dd><p>
727
#: faq-en.html:250
728
msgid "Here's an example:"
729
msgstr ""
730
 
731
#. type: Content of: <dl><dd><div><p>
732
#: faq-en.html:252
733
msgid "sk ~/tmp $ cat &gt; Makefile"
734
msgstr ""
735
 
736
#. type: Content of: <dl><dd><div><p>
737
#: faq-en.html:253
7248 jlepiller 738
msgid "main:"
7247 jlepiller 739
msgstr ""
740
 
741
#. type: Content of: <dl><dd><div><p>
742
#: faq-en.html:254 faq-en.html:258 faq-en.html:266
7248 jlepiller 743
msgid "gcc main.c"
7247 jlepiller 744
msgstr ""
745
 
746
#. type: Content of: <dl><dd><div><p>
747
#: faq-en.html:255 faq-en.html:263
7248 jlepiller 748
msgid "sk ~/tmp $ cat &gt; main.c"
7247 jlepiller 749
msgstr ""
750
 
751
#. type: Content of: <dl><dd><div><p>
752
#: faq-en.html:256
7248 jlepiller 753
msgid "void main() { exit(0); }"
7247 jlepiller 754
msgstr ""
755
 
756
#. type: Content of: <dl><dd><div><p>
757
#: faq-en.html:257 faq-en.html:265
7248 jlepiller 758
msgid "sk ~/tmp $ make"
7247 jlepiller 759
msgstr ""
760
 
7248 jlepiller 761
#. type: Content of: <dl><dd><div><p>
7247 jlepiller 762
#: faq-en.html:259 faq-en.html:267
7248 jlepiller 763
msgid "<strong>main.c: In function `main':</strong>"
7247 jlepiller 764
msgstr ""
765
 
7248 jlepiller 766
#. type: Content of: <dl><dd><div><p>
7247 jlepiller 767
#: faq-en.html:260
7248 jlepiller 768
msgid "<strong>main.c:1: warning: return type of `main' is not `int'</strong>"
7247 jlepiller 769
msgstr ""
770
 
771
#. type: Content of: <dl><dd><div><p>
772
#: faq-en.html:261
7248 jlepiller 773
msgid "sk ~/tmp $ ######## that worked ########"
7247 jlepiller 774
msgstr ""
775
 
776
#. type: Content of: <dl><dd><div><p>
777
#: faq-en.html:262 faq-en.html:271
7248 jlepiller 778
msgid "sk ~/tmp $"
7247 jlepiller 779
msgstr ""
780
 
781
#. type: Content of: <dl><dd><div><p>
782
#: faq-en.html:264
7248 jlepiller 783
msgid "int main() { e<span class=\"strong\">xx</span>it(0) }"
7247 jlepiller 784
msgstr ""
785
 
786
#. type: Content of: <dl><dd><div><p>
787
#: faq-en.html:268
7248 jlepiller 788
msgid "<strong>main.c:1: parse error before `}'</strong>"
7247 jlepiller 789
msgstr ""
790
 
7248 jlepiller 791
#. type: Content of: <dl><dd><div><p>
7247 jlepiller 792
#: faq-en.html:269
7248 jlepiller 793
msgid "<strong>make: *** [main] Error 1</strong>"
7247 jlepiller 794
msgstr ""
795
 
796
#. type: Content of: <dl><dd><div><p>
797
#: faq-en.html:270
7248 jlepiller 798
msgid "sk ~/tmp $ ######## that failed ########"
7247 jlepiller 799
msgstr ""
800
 
7248 jlepiller 801
#. type: Content of: <dl><dt>
802
#: faq-en.html:274
803
msgid "How do I make that really small install the book mentions?"
7247 jlepiller 804
msgstr ""
805
 
806
#. type: Content of: <dl><dd><p>
7248 jlepiller 807
#: faq-en.html:276
7247 jlepiller 808
msgid ""
7248 jlepiller 809
"Gerard describes the process of making a 5MB LFS install in <a "
810
"href=\"http://linuxfromscratch.org/pipermail/lfs-support/2001-October/000202.html\">an "
811
"email to lfs-support</a>, and there are links to many resources in <a "
812
"href=\"http://linuxfromscratch.org/pipermail/lfs-support/2002-June/007255.html\">a "
813
"post by Cor Lem</a> and a reply to it."
7247 jlepiller 814
msgstr ""
815
 
7248 jlepiller 816
#. type: Content of: <dl><dt>
817
#: faq-en.html:283
818
msgid "Is there information about building LFS on other processors?"
7247 jlepiller 819
msgstr ""
820
 
821
#. type: Content of: <dl><dd><p>
822
#: faq-en.html:285
823
msgid ""
7248 jlepiller 824
"For information about building LFS for a wide array of systems, take a look "
825
"at the <a href=\"http://trac.clfs.org/wiki/read\">Cross-LFS branch</a> of "
826
"LFS."
7247 jlepiller 827
msgstr ""
828
 
829
#. type: Content of: <dl><dd><p>
830
#: faq-en.html:289
831
msgid ""
7248 jlepiller 832
"For Alpha systems, Kelledin maintains a list of fixes for building on the "
833
"Alpha platform at <a "
834
"href=\"http://skarpsey.dyndns.org/alpha-lfs/alpha.html\">http://skarpsey.dyndns.org/alpha-lfs/alpha.html</a>."
7247 jlepiller 835
msgstr ""
836
 
7248 jlepiller 837
#. type: Content of: <dl><dt>
838
#: faq-en.html:293
839
msgid "How do I cross compile LFS?"
7247 jlepiller 840
msgstr ""
841
 
842
#. type: Content of: <dl><dd><p>
843
#: faq-en.html:295
844
msgid ""
7248 jlepiller 845
"It's often useful to compile LFS for one machine on another machine. Say "
846
"using that fast 1Ghz Athlon to build an install for an old 486. While this "
847
"is technically not cross compiling, binaries compiled for the Athlon cannot "
848
"be run on the 486 because binaries compiled for the newer processor use "
849
"features the older processor doesn't have."
7247 jlepiller 850
msgstr ""
851
 
852
#. type: Content of: <dl><dd><p>
853
#: faq-en.html:301
854
msgid ""
7248 jlepiller 855
"The LFS book specifically for cross compiling is the <a "
856
"href=\"http://trac.clfs.org/wiki/read\">Cross-LFS</a> book.  Another source "
857
"of information would be the <a "
858
"href=\"/hints/downloads/files/\">cross-compiling hint</a>."
7247 jlepiller 859
msgstr ""
860
 
7248 jlepiller 861
#. type: Content of: <dl><dt>
862
#: faq-en.html:306
863
msgid "What's a DOS format text file?"
7247 jlepiller 864
msgstr ""
865
 
866
#. type: Content of: <dl><dd><p>
867
#: faq-en.html:308
868
msgid "It has to do with the characters used to end lines."
869
msgstr ""
870
 
871
#. type: Content of: <dl><dd><p>
872
#: faq-en.html:309
873
msgid "There are two that may be used:"
874
msgstr ""
875
 
876
#. type: Content of: <dl><dd><ul><li>
877
#: faq-en.html:311
878
msgid ""
879
"Line Feed: (LF) Octal:012 Decimal:10 Hex:0A C Style Escape:'\\n' Moves down "
880
"one line."
881
msgstr ""
882
 
883
#. type: Content of: <dl><dd><ul><li>
884
#: faq-en.html:312
885
msgid ""
886
"Carriage Return: (CR) Octal:015 Decimal:13 Hex:0D C Style Excape:'\\r' Move "
887
"to the left margin."
888
msgstr ""
889
 
890
#. type: Content of: <dl><dd><p>
891
#: faq-en.html:314
892
msgid ""
893
"Unix, DOS, and MacOS each use a different combination to end lines in text "
894
"files:"
895
msgstr ""
896
 
897
#. type: Content of: <dl><dd><ul><li>
898
#: faq-en.html:316
899
msgid ""
900
"Unix: LF only. This is why when a Unix format text file is sent to a printer "
901
"raw, it prints out"
902
msgstr ""
903
 
904
#. type: Content of: <dl><dd><ul><li>
905
#: faq-en.html:317
7248 jlepiller 906
msgid "&nbsp;&nbsp;like"
7247 jlepiller 907
msgstr ""
908
 
909
#. type: Content of: <dl><dd><ul><li>
910
#: faq-en.html:318
7248 jlepiller 911
msgid "&nbsp;&nbsp;&nbsp;&nbsp;stairs"
7247 jlepiller 912
msgstr ""
913
 
914
#. type: Content of: <dl><dd><ul><li>
915
#: faq-en.html:319
7248 jlepiller 916
msgid "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steps."
7247 jlepiller 917
msgstr ""
918
 
919
#. type: Content of: <dl><dd><ul><li>
920
#: faq-en.html:320
921
msgid ""
7248 jlepiller 922
"DOS: CRLF both. Which is why if you do \"cat -v\" on a DOS file you'll see a "
923
"\"^M\" (control m is carriage return) at the end of each line. And that is "
924
"why scripts don't work when written with Microsoft Notepad. The kernel looks "
925
"for \"/bin/sh^M\" which doesn't exist. There's a \"/bin/sh\", but nothing "
926
"with a \"^M\" appended."
7247 jlepiller 927
msgstr ""
928
 
929
#. type: Content of: <dl><dd><ul><li>
930
#: faq-en.html:325
931
msgid ""
7248 jlepiller 932
"MacOs: CR only. Printers probably print every line atop the first, and Unix "
933
"tools think the whole file is one line with \"^M\" all through it."
7247 jlepiller 934
msgstr ""
935
 
936
#. type: Content of: <dl><dd><p>
937
#: faq-en.html:329
938
msgid "To change DOS to Unix, use"
939
msgstr ""
940
 
941
#. type: Content of: <dl><dd><div><p>
942
#: faq-en.html:331
943
msgid "cp &lt;fileid&gt; &lt;fileid&gt;.dos &amp;&amp;"
944
msgstr ""
945
 
946
#. type: Content of: <dl><dd><div><p>
947
#: faq-en.html:332
7248 jlepiller 948
msgid "cat &lt;fileid&gt;.dos | tr -d '\\r' &gt; &lt;fileid&gt;"
7247 jlepiller 949
msgstr ""
950
 
951
#. type: Content of: <dl><dd><p>
952
#: faq-en.html:334
953
msgid ""
7248 jlepiller 954
"Or in <code>vim</code>, you can convert a file with <code>:set ff={unix, "
955
"dos, mac}</code>. Other conversions will probably require sed or a different "
956
"use of tr and are left as an exercise for the reader."
7247 jlepiller 957
msgstr ""
958
 
7248 jlepiller 959
#. type: Content of: <dl><dt>
960
#: faq-en.html:341
961
msgid "Is there a way to download all current files at one time?"
7247 jlepiller 962
msgstr ""
963
 
964
#. type: Content of: <dl><dd><p>
965
#: faq-en.html:343
966
msgid ""
7248 jlepiller 967
"Yes. You can download the file LFS-BOOK-x.y-wget-list <a href= "
968
"\"http://www.linuxfromscratch.org/lfs/downloads/stable\"> "
969
"http://www.linuxfromscratch.org/lfs/downloads/stable</a>. To download all "
970
"the files, use the version of <code>wget</code> on your host distribution to "
971
"run:"
7247 jlepiller 972
msgstr ""
973
 
7248 jlepiller 974
#. type: Content of: <dl><dd>
975
#: faq-en.html:348
976
msgid "<code>wget --input-file=LFS-BOOK-x.y-wget-list</code>"
7247 jlepiller 977
msgstr ""
978
 
7248 jlepiller 979
#. type: Content of: <h3>
980
#: faq-en.html:354
981
msgid "General compilation errors"
7247 jlepiller 982
msgstr ""
983
 
7248 jlepiller 984
#. type: Content of: <dl><dt>
985
#: faq-en.html:356
986
msgid "I used a patch from GNU to upgrade. Is that OK?"
7247 jlepiller 987
msgstr ""
988
 
989
#. type: Content of: <dl><dd><p>
990
#: faq-en.html:358
991
msgid ""
7248 jlepiller 992
"Patches from GNU don't usually work. You can either download the full "
993
"archive and try again or try the solution given by Gerard Beekmans:"
7247 jlepiller 994
msgstr ""
995
 
996
#. type: Content of: <dl><dd><p>
997
#: faq-en.html:361
998
msgid ""
7248 jlepiller 999
"The problem is that executable marked scripts are patched too and they then "
1000
"lose the executable bit, so you can't execute those scripts anymore until "
1001
"you run a \"chmod +x\" on them (or something similar, like chmod 755) before "
1002
"installing Glibc. Try chmod +x glibc-2.2.5/scripts/* (not 100% sure about "
1003
"the directory paths but it should be obvious where to do it when running an "
1004
"'ls' on the glibc-2.2.5 directory)."
7247 jlepiller 1005
msgstr ""
1006
 
7248 jlepiller 1007
#. type: Content of: <dl><dt>
1008
#: faq-en.html:369
1009
msgid "When using optimization flags (setting CFLAGS)"
1010
msgstr ""
1011
 
7247 jlepiller 1012
#. type: Content of: <dl><dd><p>
1013
#: faq-en.html:371
1014
msgid ""
7248 jlepiller 1015
"If you're getting errors and you're setting CFLAGS or otherwise passing "
1016
"optimization flags to the compiler that may be the problem."
7247 jlepiller 1017
msgstr ""
1018
 
1019
#. type: Content of: <dl><dd><p>
1020
#: faq-en.html:374
1021
msgid ""
7248 jlepiller 1022
"If you ask on the list and they can't figure it out immediately, they'll "
1023
"likely suggest trying it without optimization. So if you just retry it "
1024
"without before asking, you'll be one step ahead of them :)"
7247 jlepiller 1025
msgstr ""
1026
 
1027
#. type: Content of: <dl><dd><p>
1028
#: faq-en.html:378
1029
msgid ""
7248 jlepiller 1030
"Of particular note is that optimizing binutils, gcc, or glibc may cause any "
1031
"other package to fail to compile or run or to otherwise misbehave in strange "
1032
"and mysterious ways. Also, optimization that works for someone else may not "
1033
"work for you. Flags that used to work may mysteriously stop working. Even "
1034
"some small innocent hardware change can make the difference."
7247 jlepiller 1035
msgstr ""
1036
 
1037
#. type: Content of: <dl><dd><p>
1038
#: faq-en.html:384
1039
msgid ""
1040
"(If you don't know what optimization flags are, don't worry, you really "
1041
"don't need to.)"
1042
msgstr ""
1043
 
1044
#. type: Content of: <dl><dt>
1045
#: faq-en.html:386
1046
msgid "Why does configure hang at \"checking for signed size_t type...\"?"
1047
msgstr ""
1048
 
1049
#. type: Content of: <dl><dd><p>
1050
#: faq-en.html:388
1051
msgid "You over optimized gcc."
1052
msgstr ""
1053
 
7248 jlepiller 1054
#. type: Content of: <dl><dt>
1055
#: faq-en.html:390
1056
msgid "I didn't delete the source tree after my last attempt. Do I need to?"
7247 jlepiller 1057
msgstr ""
1058
 
1059
#. type: Content of: <dl><dd><p>
1060
#: faq-en.html:392
1061
msgid ""
7248 jlepiller 1062
"Yes. In general <code>make clean</code> or <code>make dist-clean</code> "
1063
"can't be relied upon for clean sources. Especially when you have manually "
1064
"hacked the sources or applied patches to it you should first try again with "
1065
"a fresh unpacked package. The only exception to this rule is the linux "
1066
"kernel, which requires its sources to be present when third-party modules, "
1067
"such as the NVidia drivers, are needed."
7247 jlepiller 1068
msgstr ""
1069
 
7248 jlepiller 1070
#. type: Content of: <dl><dt>
1071
#: faq-en.html:400
1072
msgid "I'm getting `/dev/null: Permission denied'"
7247 jlepiller 1073
msgstr ""
1074
 
1075
#. type: Content of: <dl><dd><p>
1076
#: faq-en.html:402
1077
msgid "Does /dev/null look like this:"
1078
msgstr ""
1079
 
1080
#. type: Content of: <dl><dd><div><p>
1081
#: faq-en.html:404
1082
msgid "$ ls -l /dev/null"
1083
msgstr ""
1084
 
1085
#. type: Content of: <dl><dd><div><p>
1086
#: faq-en.html:405
7248 jlepiller 1087
msgid "crw-rw-rw- 1 root root 1, 3 Aug 3 2000 /dev/null"
7247 jlepiller 1088
msgstr ""
1089
 
1090
#. type: Content of: <dl><dd><p>
1091
#: faq-en.html:407
1092
msgid ""
7248 jlepiller 1093
"If not, it should. See the chmod(1), chown(1), and mknod(1) man pages and "
1094
"/usr/src/linux/Documentation/devices.txt if you need help fixing it."
7247 jlepiller 1095
msgstr ""
1096
 
1097
#. type: Content of: <dl><dd><p>
1098
#: faq-en.html:410
1099
msgid ""
7248 jlepiller 1100
"If it does look right, the problem is probably your mount options.  See the "
1101
"answer to \"<a href=\"#bad-interpreter-permission-denied\">./configure: bad "
1102
"interpreter: Permission denied</a>\", above."
7247 jlepiller 1103
msgstr ""
1104
 
7248 jlepiller 1105
#. type: Content of: <dl><dt>
1106
#: faq-en.html:415
1107
msgid "signal 11 (internal error: Segmentation fault)"
7247 jlepiller 1108
msgstr ""
1109
 
1110
#. type: Content of: <dl><dd><p>
1111
#: faq-en.html:417
7248 jlepiller 1112
msgid ""
1113
"The long answer is at <a "
1114
"href=\"http://www.bitwizard.nl/sig11/\">http://www.bitwizard.nl/sig11/</a>."
7247 jlepiller 1115
msgstr ""
1116
 
1117
#. type: Content of: <dl><dd><p>
1118
#: faq-en.html:419
1119
msgid ""
7248 jlepiller 1120
"The short answer is that if restarting make gets a little further every "
1121
"time, you have a hardware problem. (If make, or whatever you're running, "
1122
"fails at the same place every time, then it is not hardware.)"
7247 jlepiller 1123
msgstr ""
1124
 
1125
#. type: Content of: <dl><dd><p>
1126
#: faq-en.html:423
1127
msgid ""
7248 jlepiller 1128
"Assuming you're not overclocking, the most likely hardware problem is bad "
1129
"memory which you can check with Memtest86 from <a "
1130
"href=\"http://www.memtest86.com/\">http://www.memtest86.com/</a>. If that "
1131
"isn't it, see the long answer."
7247 jlepiller 1132
msgstr ""
1133
 
7248 jlepiller 1134
#. type: Content of: <dl><dt>
1135
#: faq-en.html:428
1136
msgid "No such file or directory"
7247 jlepiller 1137
msgstr ""
1138
 
1139
#. type: Content of: <dl><dd><p>
1140
#: faq-en.html:430
1141
msgid "Examples of this error are:"
1142
msgstr ""
1143
 
1144
#. type: Content of: <dl><dd><div><p>
1145
#: faq-en.html:432
1146
msgid "/usr/bin/env: /tools/bin/bash: No such file or directory"
1147
msgstr ""
1148
 
1149
#. type: Content of: <dl><dd><div><p>
1150
#: faq-en.html:433
7248 jlepiller 1151
msgid "gcc: No such file or directory"
7247 jlepiller 1152
msgstr ""
1153
 
1154
#. type: Content of: <dl><dd><p>
1155
#: faq-en.html:435
1156
msgid ""
7248 jlepiller 1157
"This usually indicates a typo in the GCC Pass 2 installation. For older LFS "
1158
"versions, the most common cause of this problem would be forgetting to apply "
1159
"the specs patch."
7247 jlepiller 1160
msgstr ""
1161
 
1162
#. type: Content of: <dl><dd><p>
1163
#: faq-en.html:438
1164
msgid ""
7248 jlepiller 1165
"What happens is that the path to the dynamic linker embedded inside the "
1166
"executable is still pointing at /lib/ld-linux.so.2 and when one goes to run "
1167
"the binary inside the chroot where /lib/ld-linux.so.2 does not exist yet, "
1168
"the very unhelpful <code>No such file or directory</code> error message is "
1169
"shown."
7247 jlepiller 1170
msgstr ""
1171
 
1172
#. type: Content of: <dl><dd><p>
1173
#: faq-en.html:443
1174
msgid ""
7248 jlepiller 1175
"You can test this with <code>readelf -l {binary} | grep "
1176
"interpreter</code>. Its output should be: <code>Requesting program "
1177
"interpreter: /tools/lib/ld-linux.so.2</code>."
7247 jlepiller 1178
msgstr ""
1179
 
7248 jlepiller 1180
#. type: Content of: <dl><dt>
1181
#: faq-en.html:447
1182
msgid "bash: ./configure: No such file or directory"
7247 jlepiller 1183
msgstr ""
1184
 
1185
#. type: Content of: <dl><dd><p>
1186
#: faq-en.html:449
7248 jlepiller 1187
msgid ""
1188
"You forgot to <code>cd</code> into the extracted directory of the package "
1189
"after you've extracted it."
7247 jlepiller 1190
msgstr ""
1191
 
7248 jlepiller 1192
#. type: Content of: <dl><dt>
1193
#: faq-en.html:451
1194
msgid "./configure: bad interpreter: Permission denied"
7247 jlepiller 1195
msgstr ""
1196
 
1197
#. type: Content of: <dl><dd><p>
1198
#: faq-en.html:453
1199
msgid ""
7248 jlepiller 1200
"You're most likely getting this while building binutils in Chapter 5 of the "
1201
"LFS Book. The problem is most likely your mount options. You probably have a "
1202
"line in /etc/fstab like:"
7247 jlepiller 1203
msgstr ""
1204
 
7248 jlepiller 1205
#. type: Content of: <dl><dd>
7247 jlepiller 1206
#: faq-en.html:456
7248 jlepiller 1207
msgid "<code>/dev/hda10 /mnt/lfs ext2 user 1 2</code>"
7247 jlepiller 1208
msgstr ""
1209
 
1210
#. type: Content of: <dl><dd><p>
1211
#: faq-en.html:457
1212
msgid ""
1213
"'user' is the mount flag, and it's the problem. To quote from the mount man "
1214
"page:"
1215
msgstr ""
1216
 
7248 jlepiller 1217
#. type: Content of: <dl><dd>
7247 jlepiller 1218
#: faq-en.html:458
1219
msgid ""
7248 jlepiller 1220
"<cite>user: Allow an ordinary user to mount the file system. This option "
1221
"implies the options noexec, nosuid, and nodev (unless overridden by "
1222
"subsequent options, as in the option line user,exec,dev,suid).</cite>"
7247 jlepiller 1223
msgstr ""
1224
 
1225
#. type: Content of: <dl><dd><p>
1226
#: faq-en.html:462
1227
msgid "So change the line in /etc/fstab like this:"
1228
msgstr ""
1229
 
7248 jlepiller 1230
#. type: Content of: <dl><dd>
7247 jlepiller 1231
#: faq-en.html:463
7248 jlepiller 1232
msgid "<code>/dev/hda10 /mnt/lfs ext2 defaults 1 2</code>"
7247 jlepiller 1233
msgstr ""
1234
 
7248 jlepiller 1235
#. type: Content of: <dl><dt>
1236
#: faq-en.html:465
1237
msgid "configure can't guess my host type."
1238
msgstr ""
1239
 
7247 jlepiller 1240
#. type: Content of: <dl><dd><p>
1241
#: faq-en.html:467
1242
msgid "Typical symptoms look like this:"
1243
msgstr ""
1244
 
1245
#. type: Content of: <dl><dd><div><p>
1246
#: faq-en.html:469
1247
msgid "sk ~/tmp-0.0 $ ./configure"
1248
msgstr ""
1249
 
1250
#. type: Content of: <dl><dd><div><p>
1251
#: faq-en.html:470
7248 jlepiller 1252
msgid "creating cache ./config.cache"
7247 jlepiller 1253
msgstr ""
1254
 
1255
#. type: Content of: <dl><dd><div><p>
1256
#: faq-en.html:471
7248 jlepiller 1257
msgid "checking host system type..."
7247 jlepiller 1258
msgstr ""
1259
 
7248 jlepiller 1260
#. type: Content of: <dl><dd><div><p>
7247 jlepiller 1261
#: faq-en.html:472
7248 jlepiller 1262
msgid ""
1263
"<strong>configure: error: can not guess host type; you must specify "
1264
"one</strong>"
7247 jlepiller 1265
msgstr ""
1266
 
1267
#. type: Content of: <dl><dd><div><p>
1268
#: faq-en.html:473
7248 jlepiller 1269
msgid "sk ~/tmp-0.0 $"
7247 jlepiller 1270
msgstr ""
1271
 
1272
#. type: Content of: <dl><dd><p>
1273
#: faq-en.html:475
1274
msgid ""
7248 jlepiller 1275
"The problem is usually that the script can't run the compiler.  Usually it's "
1276
"just a missing /usr/bin/cc symlink. You can fix it like this:"
7247 jlepiller 1277
msgstr ""
1278
 
7248 jlepiller 1279
#. type: Content of: <dl><dd>
7247 jlepiller 1280
#: faq-en.html:478
7248 jlepiller 1281
msgid "<code>cd /usr/bin &amp;&amp; ln -s gcc cc</code>"
7247 jlepiller 1282
msgstr ""
1283
 
1284
#. type: Content of: <dl><dd><p>
1285
#: faq-en.html:479
1286
msgid ""
7248 jlepiller 1287
"If that doesn't do it, check the file config.log created by "
1288
"configure. Errors are recorded there and may indicate the problem."
7247 jlepiller 1289
msgstr ""
1290
 
7248 jlepiller 1291
#. type: Content of: <dl><dd><div><p>
1292
#: faq-en.html:483 faq-en.html:487
1293
msgid "checking whether we are using GNU C... no"
1294
msgstr ""
1295
 
7247 jlepiller 1296
#. type: Content of: <dl><dd><p>
1297
#: faq-en.html:485
1298
msgid "If you're getting an error from configure like:"
1299
msgstr ""
1300
 
1301
#. type: Content of: <dl><dd><div><p>
1302
#: faq-en.html:488
7248 jlepiller 1303
msgid "configure: error: GNU libc must be compiled using GNU CC"
7247 jlepiller 1304
msgstr ""
1305
 
1306
#. type: Content of: <dl><dd><p>
1307
#: faq-en.html:490
1308
msgid ""
7248 jlepiller 1309
"It may be because egrep isn't working. Since egrep is a shell-script which "
1310
"calls grep, this actually means there's a problem with grep."
7247 jlepiller 1311
msgstr ""
1312
 
1313
#. type: Content of: <dl><dd><p>
1314
#: faq-en.html:493
1315
msgid ""
7248 jlepiller 1316
"To test if grep is working <em>before</em> reinstalling the grep package in "
1317
"Chapter 6, run the following command from <em>outside</em> chroot:"
7247 jlepiller 1318
msgstr ""
1319
 
7248 jlepiller 1320
#. type: Content of: <dl><dd>
7247 jlepiller 1321
#: faq-en.html:496
7248 jlepiller 1322
msgid "<code>file $LFS/bin/grep</code>"
7247 jlepiller 1323
msgstr ""
1324
 
1325
#. type: Content of: <dl><dd><p>
1326
#: faq-en.html:497
1327
msgid ""
7248 jlepiller 1328
"If it doesn't say <code>statically linked</code> you have a problem and need "
1329
"to reinstall the grep package according to the instruction in chapter 5."
7247 jlepiller 1330
msgstr ""
1331
 
1332
#. type: Content of: <dl><dd><p>
1333
#: faq-en.html:500
7248 jlepiller 1334
msgid ""
1335
"To test if egrep is working <em>after</em> reinstalling the grep package in "
1336
"Chapter 6, run the following command from <em>inside</em> chroot:"
7247 jlepiller 1337
msgstr ""
1338
 
7248 jlepiller 1339
#. type: Content of: <dl><dd>
7247 jlepiller 1340
#: faq-en.html:503
7248 jlepiller 1341
msgid "<code>egrep root /etc/passwd</code>"
7247 jlepiller 1342
msgstr ""
1343
 
1344
#. type: Content of: <dl><dd><p>
1345
#: faq-en.html:504
1346
msgid ""
7248 jlepiller 1347
"If it doesn't print root's line from /etc/passwd, again, you have a "
1348
"problem. (This test also works if you encounter the problem after rebooting "
1349
"into the new LFS system.)"
7247 jlepiller 1350
msgstr ""
1351
 
1352
#. type: Content of: <dl><dt>
1353
#: faq-en.html:508
7248 jlepiller 1354
msgid "The system has no more ptys.  Ask your system administrator to create more."
7247 jlepiller 1355
msgstr ""
1356
 
1357
#. type: Content of: <dl><dd><p>
1358
#: faq-en.html:511
1359
msgid "If you run"
1360
msgstr ""
1361
 
1362
#. type: Content of: <dl><dd><div><p>
1363
#: faq-en.html:513
1364
msgid "expect -c &quot;spawn ls&quot;"
1365
msgstr ""
1366
 
1367
#. type: Content of: <dl><dd><p>
1368
#: faq-en.html:515
1369
msgid "and get the following error:"
1370
msgstr ""
1371
 
1372
#. type: Content of: <dl><dd><div><p>
1373
#: faq-en.html:517
1374
msgid "The system has no more ptys."
1375
msgstr ""
1376
 
1377
#. type: Content of: <dl><dd><div><p>
1378
#: faq-en.html:518
7248 jlepiller 1379
msgid "Ask your system administrator to create more."
7247 jlepiller 1380
msgstr ""
1381
 
1382
#. type: Content of: <dl><dd><p>
1383
#: faq-en.html:520
1384
msgid ""
7248 jlepiller 1385
"then your linux distribution is either not setup to use Unix98 PTYs or to "
1386
"use the /dev/pts file system."
7247 jlepiller 1387
msgstr ""
1388
 
1389
#. type: Content of: <dl><dd><p>
1390
#: faq-en.html:522
1391
msgid ""
7248 jlepiller 1392
"The solution may require recompiling your kernel. First, go to your kernel's "
1393
"source directory and look at the .config file. If you do not have a .config "
1394
"file, and you are running the pre-compiled kernel that was installed with "
1395
"rpm, aptget, or whatever your distribution uses, then you need to seek "
1396
"support from your distribution's support FAQ's, mailing lists or IRC "
1397
"channels."
7247 jlepiller 1398
msgstr ""
1399
 
1400
#. type: Content of: <dl><dd><p>
1401
#: faq-en.html:528
1402
msgid "If you do have a .config file, look inside it for the following 2 options:"
1403
msgstr ""
1404
 
1405
#. type: Content of: <dl><dd><div><p>
1406
#: faq-en.html:530
1407
msgid "CONFIG_UNIX98_PTYS=y"
1408
msgstr ""
1409
 
1410
#. type: Content of: <dl><dd><div><p>
1411
#: faq-en.html:531
7248 jlepiller 1412
msgid "CONFIG_DEVPTS_FS=y"
7247 jlepiller 1413
msgstr ""
1414
 
1415
#. type: Content of: <dl><dd><p>
1416
#: faq-en.html:533
1417
msgid ""
1418
"If either of these has 'n' instead of 'y', then change it and recompile the "
1419
"kernel."
1420
msgstr ""
1421
 
1422
#. type: Content of: <dl><dd><p>
1423
#: faq-en.html:534
1424
msgid ""
1425
"If they both have 'y', then you probably will not have to recompile the "
1426
"kernel."
1427
msgstr ""
1428
 
1429
#. type: Content of: <dl><dd><p>
1430
#: faq-en.html:535
1431
msgid ""
7248 jlepiller 1432
"Next, we need to ensure that the system is actually using both Unix98 PTYs "
1433
"and the /dev/pts file system."
7247 jlepiller 1434
msgstr ""
1435
 
1436
#. type: Content of: <dl><dd><p>
1437
#: faq-en.html:537
1438
msgid ""
1439
"First, look for a device called /dev/ptmx.  If it doesn't exist, create it "
1440
"with:"
1441
msgstr ""
1442
 
1443
#. type: Content of: <dl><dd><div><p>
1444
#: faq-en.html:539
1445
msgid "mknod /dev/ptmx c 5 2"
1446
msgstr ""
1447
 
1448
#. type: Content of: <dl><dd><p>
1449
#: faq-en.html:541
1450
msgid "Then, whether it existed or you just created it, run:"
1451
msgstr ""
1452
 
1453
#. type: Content of: <dl><dd><div><p>
1454
#: faq-en.html:543
1455
msgid "chmod 666 /dev/ptmx"
1456
msgstr ""
1457
 
1458
#. type: Content of: <dl><dd><p>
1459
#: faq-en.html:545
1460
msgid ""
7248 jlepiller 1461
"Next, ensure that there is a directory called /dev/pts.  The permissions "
1462
"should be 755.  Create it and/or chmod it if needed."
7247 jlepiller 1463
msgstr ""
1464
 
1465
#. type: Content of: <dl><dd><p>
1466
#: faq-en.html:547
1467
msgid "The final setup is to add the following line to /etc/fstab:"
1468
msgstr ""
1469
 
1470
#. type: Content of: <dl><dd><div><p>
1471
#: faq-en.html:549
1472
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"
1473
msgstr ""
1474
 
1475
#. type: Content of: <dl><dd><p>
1476
#: faq-en.html:551
1477
msgid ""
7248 jlepiller 1478
"NOTE: Look for the tty group in /etc/group and note the group id number.  "
1479
"Change the gid=5 option to match the group id number of the tty group.  The "
1480
"group id of 5 is just an example and may differ on your system."
7247 jlepiller 1481
msgstr ""
1482
 
1483
#. type: Content of: <dl><dd><p>
1484
#: faq-en.html:555
1485
msgid "Now that everything is setup, you have two options."
1486
msgstr ""
1487
 
1488
#. type: Content of: <dl><dd><p>
1489
#: faq-en.html:556
1490
msgid "1.  Mount /dev/pts and test it by rerunning the above expect command."
1491
msgstr ""
1492
 
1493
#. type: Content of: <dl><dd><p>
1494
#: faq-en.html:557
1495
msgid "2.  Reboot the computer and test it by rerunning the above expect command."
1496
msgstr ""
1497
 
7248 jlepiller 1498
#. type: Content of: <h3>
1499
#: faq-en.html:562
1500
msgid "Package-specific errors"
1501
msgstr ""
1502
 
1503
#. type: Content of: <dl><dt>
1504
#: faq-en.html:564
1505
msgid "GCC: Error: Unknown pseudo-op: `.hidden'"
1506
msgstr ""
1507
 
7247 jlepiller 1508
#. type: Content of: <dl><dd><p>
1509
#: faq-en.html:566
1510
msgid "If compiling GCC in Chapter 5 errors out with"
1511
msgstr ""
1512
 
7248 jlepiller 1513
#. type: Content of: <dl><dd>
7247 jlepiller 1514
#: faq-en.html:567
7248 jlepiller 1515
msgid "<code>Error: Unknown pseudo-op: `.hidden'</code>"
7247 jlepiller 1516
msgstr ""
1517
 
1518
#. type: Content of: <dl><dd><p>
1519
#: faq-en.html:568
1520
msgid ""
7248 jlepiller 1521
"Try the solution given in <a "
1522
"href=\"http://linuxfromscratch.org/pipermail/lfs-support/2002-September/009562.html\">the "
1523
"lfs-support archives</a> and replies."
7247 jlepiller 1524
msgstr ""
1525
 
7248 jlepiller 1526
#. type: Content of: <dl><dt>
1527
#: faq-en.html:572
1528
msgid "Glibc fails and mentions BEGIN and END."
7247 jlepiller 1529
msgstr ""
1530
 
1531
#. type: Content of: <dl><dd><p>
1532
#: faq-en.html:574
1533
msgid "If glibc fails to build with an error like this:"
1534
msgstr ""
1535
 
1536
#. type: Content of: <dl><dd><div><p>
1537
#: faq-en.html:576
7248 jlepiller 1538
msgid "'BEGIN { subdirs = \"\"; inhibit = \"\" }; \\"
7247 jlepiller 1539
msgstr ""
1540
 
1541
#. type: Content of: <dl><dd><div><p>
1542
#: faq-en.html:577
7248 jlepiller 1543
msgid "^# { next }; \\"
7247 jlepiller 1544
msgstr ""
1545
 
1546
#. type: Content of: <dl><dd><div><p>
1547
#: faq-en.html:578
7248 jlepiller 1548
msgid "^[^-] { subdirs = subdirs \" \" $0 }; \\"
7247 jlepiller 1549
msgstr ""
1550
 
1551
#. type: Content of: <dl><dd><div><p>
1552
#: faq-en.html:579
7248 jlepiller 1553
msgid "^- { inhibit = inhibit \" \" substr($0, 2) }; \\"
7247 jlepiller 1554
msgstr ""
1555
 
1556
#. type: Content of: <dl><dd><div><p>
1557
#: faq-en.html:580
7248 jlepiller 1558
msgid "END { printf \"sysdep-subdirs =%s\\n\", subdirs; \\"
7247 jlepiller 1559
msgstr ""
1560
 
1561
#. type: Content of: <dl><dd><div><p>
1562
#: faq-en.html:581
7248 jlepiller 1563
msgid "printf \"sysdep-inhibit-subdirs =%s\\n\", inhibit; \\"
7247 jlepiller 1564
msgstr ""
1565
 
1566
#. type: Content of: <dl><dd><div><p>
1567
#: faq-en.html:582
7248 jlepiller 1568
msgid "print \"sysd-dirs-done = t\" }' \\"
7247 jlepiller 1569
msgstr ""
1570
 
1571
#. type: Content of: <dl><dd><div><p>
1572
#: faq-en.html:583
7248 jlepiller 1573
msgid "/dev/null linuxthreads/sysdeps/pthread/Subdirs"
7247 jlepiller 1574
msgstr ""
1575
 
1576
#. type: Content of: <dl><dd><div><p>
1577
#: faq-en.html:584
7248 jlepiller 1578
msgid "sysdeps/unix/inet/Subdirs sysdeps/unix/Subdirs &gt;"
7247 jlepiller 1579
msgstr ""
1580
 
1581
#. type: Content of: <dl><dd><div><p>
1582
#: faq-en.html:585
7248 jlepiller 1583
msgid "/usr/src/glibc-build/sysd-dirs-tmp"
7247 jlepiller 1584
msgstr ""
1585
 
1586
#. type: Content of: <dl><dd><div><p>
1587
#: faq-en.html:586
7248 jlepiller 1588
msgid "/bin/sh: line 1: BEGIN { subdirs = \"\"; inhibit = \"\" };"
7247 jlepiller 1589
msgstr ""
1590
 
1591
#. type: Content of: <dl><dd><div><p>
1592
#: faq-en.html:587
7248 jlepiller 1593
msgid "^# { next };"
7247 jlepiller 1594
msgstr ""
1595
 
1596
#. type: Content of: <dl><dd><div><p>
1597
#: faq-en.html:588
7248 jlepiller 1598
msgid "^[^-] { subdirs = subdirs \" \" $0 }; ^- { inhibit ="
7247 jlepiller 1599
msgstr ""
1600
 
1601
#. type: Content of: <dl><dd><div><p>
1602
#: faq-en.html:589
7248 jlepiller 1603
msgid "inhibit \" \" substr($0, 2) }; END"
7247 jlepiller 1604
msgstr ""
1605
 
1606
#. type: Content of: <dl><dd><p>
1607
#: faq-en.html:591
1608
msgid ""
7248 jlepiller 1609
"then gawk is failing. The key is the BEGIN and END in the output.  The "
1610
"probable reason is that it is linked incorrectly. This can be fixed by "
1611
"recompiling it as the lfs user, according to the directions in Chapter 5."
7247 jlepiller 1612
msgstr ""
1613
 
7248 jlepiller 1614
#. type: Content of: <dl><dt>
1615
#: faq-en.html:596
1616
msgid "Glibc compilation errors out due to a missing nss.h header file"
1617
msgstr ""
1618
 
7247 jlepiller 1619
#. type: Content of: <dl><dd><p>
1620
#: faq-en.html:598
1621
msgid ""
7248 jlepiller 1622
"This usually indicates that you are compiling LFS onto a Reiser4 "
1623
"partition. Unfortunately, there is currently no known solution, other than "
1624
"to use a different type of filesystem."
7247 jlepiller 1625
msgstr ""
1626
 
1627
#. type: Content of: <dl><dt>
1628
#: faq-en.html:602
1629
msgid "NCurses: C++ preprocessor &quot;/lib/cpp&quot; fails sanity check"
1630
msgstr ""
1631
 
1632
#. type: Content of: <dl><dd><p>
1633
#: faq-en.html:604
1634
msgid "Ncurses in chapter six ends with:"
1635
msgstr ""
1636
 
1637
#. type: Content of: <dl><dd><div><p>
1638
#: faq-en.html:606
1639
msgid "checking how to run the C++ preprocessor... /lib/cpp"
1640
msgstr ""
1641
 
1642
#. type: Content of: <dl><dd><div><p>
1643
#: faq-en.html:607
7248 jlepiller 1644
msgid "configure: error: C++ preprocessor \"/lib/cpp\" fails sanity check"
7247 jlepiller 1645
msgstr ""
1646
 
1647
#. type: Content of: <dl><dd><p>
1648
#: faq-en.html:609
1649
msgid ""
7248 jlepiller 1650
"The problem is that you have no c++ compiler. In chapter five, gcc is first "
1651
"built without the C++ compiler. Before building ncurses, gcc is rebuilt with "
1652
"the C++ compiler. Most probably, you forgot to extract the g++ tarball, or "
1653
"did not specify \"c++\" in the --enable-languages configure switch, on the "
1654
"2nd gcc build. There are more details in <a "
1655
"href=\"http://archives.linuxfromscratch.org/mail-archives/lfs-support/2003-July/018757.html\">the "
1656
"mail archive</a>."
7247 jlepiller 1657
msgstr ""
1658
 
7248 jlepiller 1659
#. type: Content of: <h3>
1660
#: faq-en.html:621
1661
msgid "Configuration and booting issues"
7247 jlepiller 1662
msgstr ""
1663
 
7248 jlepiller 1664
#. type: Content of: <dl><dt>
1665
#: faq-en.html:623
1666
msgid "Kernel panic: VFS: unable to mount root fs"
1667
msgstr ""
1668
 
7247 jlepiller 1669
#. type: Content of: <dl><dd><p>
1670
#: faq-en.html:625
1671
msgid ""
1672
"There are several reasons why the kernel might be unable to mount the root "
1673
"filesystem."
1674
msgstr ""
1675
 
1676
#. type: Content of: <dl><dd><ul><li>
1677
#: faq-en.html:627
7248 jlepiller 1678
msgid "Did you specify the correct partition in <code>/boot/grub/menu.lst</code>?"
7247 jlepiller 1679
msgstr ""
1680
 
1681
#. type: Content of: <dl><dd><ul><li>
1682
#: faq-en.html:629
1683
msgid ""
7248 jlepiller 1684
"Is support for the hard drive enabled in the kernel. For SCSI this means "
1685
"support for the specific SCSI adapter."
7247 jlepiller 1686
msgstr ""
1687
 
1688
#. type: Content of: <dl><dd><ul><li>
1689
#: faq-en.html:631
1690
msgid ""
7248 jlepiller 1691
"Is support for the hard drive compiled into the kernel, not just as a "
1692
"module. (Modules are stored on the filesystem. If a driver needed to access "
1693
"the filesystem is stored as a module on that filesystem, well ... you know "
1694
"... ;)"
7247 jlepiller 1695
msgstr ""
1696
 
1697
#. type: Content of: <dl><dd><ul><li>
1698
#: faq-en.html:635
1699
msgid ""
7248 jlepiller 1700
"Is support for the filesystem compiled into the kernel. Again, not a "
1701
"module. Support for ext2 is enabled by default, but others like ext3, "
1702
"reiser, jfs, and xfs are not."
7247 jlepiller 1703
msgstr ""
1704
 
7248 jlepiller 1705
#. type: Content of: <dl><dt>
1706
#: faq-en.html:640
7247 jlepiller 1707
msgid "init: Id \"1\" respawning too fast: disabled for 5 minutes"
1708
msgstr ""
1709
 
1710
#. type: Content of: <dl><dd><p>
1711
#: faq-en.html:642
1712
msgid "When you see, in your syslogs, this line:"
1713
msgstr ""
1714
 
7248 jlepiller 1715
#. type: Content of: <dl><dd>
1716
#: faq-en.html:643
1717
msgid "<code>init: Id \"1\" respawning too fast: disabled for 5 minutes</code>"
1718
msgstr ""
1719
 
7247 jlepiller 1720
#. type: Content of: <dl><dd><p>
1721
#: faq-en.html:644
1722
msgid ""
1723
"It means you have an error in the /etc/inittab line beginning with the given "
1724
"id (\"1\" in this example)."
1725
msgstr ""
1726
 
7248 jlepiller 1727
#. type: Content of: <dl><dt>
1728
#: faq-en.html:646
1729
msgid "modprobe: Can't locate module char-major-10-135"
7247 jlepiller 1730
msgstr ""
1731
 
1732
#. type: Content of: <dl><dd><p>
1733
#: faq-en.html:648
1734
msgid ""
7248 jlepiller 1735
"<code>char-major-10-135</code> refers to the character device, major 10, "
1736
"minor 135, which is /dev/rtc. It provides access to the BIOS clock, or RTC, "
1737
"the Real Time Clock. See /usr/src/linux/Documentation/rtc.txt for more "
1738
"information."
7247 jlepiller 1739
msgstr ""
1740
 
1741
#. type: Content of: <dl><dd><p>
1742
#: faq-en.html:652
1743
msgid ""
7248 jlepiller 1744
"The error is because something, most likely hwclock, is trying to use "
1745
"/dev/rtc but you haven't configured kernel support for it in your "
1746
"kernel. Either delete /dev/rtc so hwclock won't try to use it or enable RTC "
1747
"support in your kernel. It's located in make menuconfig under \"Character "
1748
"devices\" -&gt; \"Enhanced Real Time Clock Support\"."
7247 jlepiller 1749
msgstr ""
1750
 
7248 jlepiller 1751
#. type: Content of: <dl><dt>
1752
#: faq-en.html:659
1753
msgid "modprobe: Can't locate module /dev/rtc"
7247 jlepiller 1754
msgstr ""
1755
 
7248 jlepiller 1756
#. type: Content of: <dl><dd><p>
7247 jlepiller 1757
#: faq-en.html:661
7248 jlepiller 1758
msgid ""
1759
"See the question <a href=\"#char-major-10-135\">\"modprobe: Can't locate "
1760
"module char-major-10-135\"</a>."
7247 jlepiller 1761
msgstr ""
1762
 
7248 jlepiller 1763
#. type: Content of: <dl><dd><div><p>
1764
#: faq-en.html:663 faq-en.html:667
1765
msgid "eth0:unknown interface:No such device [failed]"
7247 jlepiller 1766
msgstr ""
1767
 
1768
#. type: Content of: <dl><dd><p>
1769
#: faq-en.html:665
1770
msgid "The full error looks like this:"
1771
msgstr ""
1772
 
1773
#. type: Content of: <dl><dd><div><p>
1774
#: faq-en.html:668
7248 jlepiller 1775
msgid "Setting up default gateway..."
7247 jlepiller 1776
msgstr ""
1777
 
1778
#. type: Content of: <dl><dd><div><p>
1779
#: faq-en.html:669
7248 jlepiller 1780
msgid "SIOCADDRT:No such device [failed]"
7247 jlepiller 1781
msgstr ""
1782
 
1783
#. type: Content of: <dl><dd><p>
1784
#: faq-en.html:671
1785
msgid ""
7248 jlepiller 1786
"eth0 is a virtual device with no /dev entry. It refers to the first detected "
1787
"network card in your system. The reason the kernel can't find this device is "
1788
"because you forgot to add support for your network card in the kernel. The "
1789
"kernel detected the card but doesn't have a driver for it. The LFS boot "
1790
"script tries to bring up the network but fails because of this."
7247 jlepiller 1791
msgstr ""
1792
 
1793
#. type: Content of: <dl><dd><p>
1794
#: faq-en.html:677
1795
msgid ""
7248 jlepiller 1796
"Recompile your kernel with the proper driver, either built in or as a "
1797
"module. If you compiled the network driver as a module, then also adjust "
1798
"/etc/modules.conf to alias the network card module as eth0; for example: "
1799
"<code>alias eth0 8139too</code>. If you don't know which network card you "
1800
"have, you can use <code>dmesg</code>, /proc/pci or <code>lspci</code> to "
1801
"find out."
7247 jlepiller 1802
msgstr ""
1803
 
1804
#. type: Content of: <dl><dt>
1805
#: faq-en.html:684
7248 jlepiller 1806
msgid "spurious 8259A interrupt: IRQ14"
7247 jlepiller 1807
msgstr ""
1808
 
1809
#. type: Content of: <dl><dd><p>
1810
#: faq-en.html:686
1811
msgid ""
7248 jlepiller 1812
"Short summary: It's a hardware problem (usually). Transient "
1813
"Line-noise/crosstalk persuades the PIC that something happened; this can "
1814
"result in a 'dummy' interrupt being raised, which happens to be IRQ7 with "
1815
"intel's 8259 design.The problem could possibly also be caused by (or instead "
1816
"be caused by) a device driver not properly masking its interrupts before "
1817
"servicing, this would be the suspect if the IRQ7's were happening in bursts, "
1818
"or more often than 'several' per day. (<a "
1819
"href=\"http://groups.google.com/groups?q=spurious+interrupt+8259&amp;hl=de&amp;scoring=d&amp;selm=3C174EDD.9090306%40hotmail.com&amp;rnum=10\">Source "
1820
"and additional information</a>)"
7247 jlepiller 1821
msgstr ""
1822
 
1823
#. type: Content of: <dl><dd><p>
1824
#: faq-en.html:696
1825
msgid ""
7248 jlepiller 1826
"Since the message itself is harmless, it's enough to adjust the default "
1827
"loglevel outplut of klogd (the -c opion) in the syslogd bootscript. See "
1828
"<code>man klogd</code> for details. You can also try recompiling the kernel "
1829
"and unset CONFIG_LOCAL_APIC."
7247 jlepiller 1830
msgstr ""
1831
 
7248 jlepiller 1832
#. type: Content of: <dl><dt>
1833
#: faq-en.html:701
1834
msgid "Why does less (and therefore man) print &lt;AD&gt; instead of hyphens?"
7247 jlepiller 1835
msgstr ""
1836
 
1837
#. type: Content of: <dl><dd><p>
1838
#: faq-en.html:703
1839
msgid ""
7248 jlepiller 1840
"Because the LANG and LC_ALL environment variables aren't set. To fix that, "
1841
"set them in both the ~/.bash_profile and ~/.bashrc files for each user or in "
1842
"/etc/profile, which will take care of all users, by adding lines like this:"
7247 jlepiller 1843
msgstr ""
1844
 
1845
#. type: Content of: <dl><dd><div><p>
1846
#: faq-en.html:708
1847
msgid "export LANG=en_US"
1848
msgstr ""
1849
 
1850
#. type: Content of: <dl><dd><div><p>
1851
#: faq-en.html:709
7248 jlepiller 1852
msgid "export LC_ALL=POSIX"
7247 jlepiller 1853
msgstr ""
1854
 
1855
#. type: Content of: <dl><dd><p>
1856
#: faq-en.html:711
1857
msgid "Those lines can be added to /etc/profile with the following command:"
1858
msgstr ""
1859
 
7248 jlepiller 1860
#. type: Content of: <dl><dd>
7247 jlepiller 1861
#: faq-en.html:712
7248 jlepiller 1862
msgid ""
1863
"<code>echo -e 'export LANG=en_US\\nexport LC_ALL=POSIX' &gt;&gt; "
1864
"/etc/profile</code>"
7247 jlepiller 1865
msgstr ""
1866
 
1867
#. type: Content of: <dl><dd><p>
1868
#: faq-en.html:713
1869
msgid ""
1870
"If you don't use US English you'll have to change the \"en_US\" part and "
1871
"possibly the values of various LC_* variables as well. Running the locale "
1872
"command lists many (all?) of the LC_* variables."
1873
msgstr ""