source: chapter01/askforhelp.xml@ 287ea55

10.0 10.0-rc1 10.1 10.1-rc1 11.0 11.0-rc1 11.0-rc2 11.0-rc3 11.1 11.1-rc1 11.2 11.2-rc1 11.3 11.3-rc1 12.0 12.0-rc1 12.1 12.1-rc1 12.2 12.2-rc1 6.0 6.1 6.1.1 6.3 6.4 6.5 6.6 6.7 6.8 7.0 7.1 7.2 7.3 7.4 7.5 7.5-systemd 7.6 7.6-systemd 7.7 7.7-systemd 7.8 7.8-systemd 7.9 7.9-systemd 8.0 8.1 8.2 8.3 8.4 9.0 9.1 arm bdubbs/gcc13 ml-11.0 multilib renodr/libudev-from-systemd s6-init trunk v5_1 v5_1_1 xry111/arm64 xry111/arm64-12.0 xry111/clfs-ng xry111/lfs-next xry111/loongarch xry111/loongarch-12.0 xry111/loongarch-12.1 xry111/loongarch-12.2 xry111/mips64el xry111/multilib xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 287ea55 was 02974d8, checked in by Alex Gronenwoud <alex@…>, 21 years ago

Re-adding HOME to the chroot command, and a few textual shuffles.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3291 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 4.4 KB
Line 
1<sect1 id="prepare-askforhelp">
2<title>How to ask for help</title>
3<?dbhtml filename="askforhelp.html" dir="chapter01"?>
4
5<para>If you run into a problem while working through this book, you should
6first check the FAQ at <ulink url="&faq-root;"/> -- most likely your question
7is already answered there. If it is not, you should try to find the source of
8the problem. The following hint might give you some ideas for your
9troubleshooting: <ulink url="&hints-root;errors.txt"/>.</para>
10
11<para>If all that fails, you will find that most people on IRC and the mailing
12lists (see <xref linkend="ch-scatter-administrativa"/>) are willing to help
13you. But to assist them in diagnosing and solving your problem, please include
14all relevant information in your request for help.</para>
15
16<sect2>
17<title>Things to mention</title>
18
19<para>Apart from a brief explanation of the problem you're having, the
20essential things to include in your request are:</para>
21
22<itemizedlist>
23<listitem><para>the version of the book you are using (being &version;),</para></listitem>
24<listitem><para>the host distribution and version you are using to create
25LFS from,</para></listitem>
26<listitem><para>the package or section giving you problems,</para></listitem>
27<listitem><para>the exact error message or symptom you are receiving,</para></listitem>
28<listitem><para>whether you have deviated from the book at all.</para></listitem>
29</itemizedlist>
30
31<para>(Note that saying that you've deviated from the book doesn't mean
32that we won't help you. After all, LFS is about choice. It'll just
33help us to see other possible causes of your problem.)</para>
34
35</sect2>
36
37<sect2>
38<title>Configure problems</title>
39
40<para>When something goes wrong during the stage where the configure script
41is run, look through the <filename>config.log</filename> file. This file
42may contain errors encountered during configure which weren't printed to
43the screen. Include those relevant lines if you decide to ask for
44help.</para>
45
46</sect2>
47
48<sect2>
49<title>Compile problems</title>
50
51<para>To help us find the cause of the problem, both screen output and
52the contents of various files are useful. The screen output from both
53the ./configure script and the make run can be useful. Don't blindly
54include the whole thing but on the other hand, don't include too little.
55As an example, here is some screen output from make:</para>
56
57<screen>gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\"
58-DLOCALEDIR=\"/mnt/lfs/usr/share/locale\" -DLIBDIR=\"/mnt/lfs/usr/lib\"
59-DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I.
60-g -O2 -c getopt1.c
61gcc -g -O2 -static -o make ar.o arscan.o commands.o dir.o expand.o file.o
62function.o getopt.o implicit.o job.o main.o misc.o read.o remake.o rule.o
63signame.o variable.o vpath.o default.o remote-stub.o version.o opt1.o
64-lutil job.o: In function `load_too_high':
65/lfs/tmp/make-3.79.1/job.c:1565: undefined reference to `getloadavg'
66collect2: ld returned 1 exit status
67make[2]: *** [make] Error 1
68make[2]: Leaving directory `/lfs/tmp/make-3.79.1'
69make[1]: *** [all-recursive] Error 1
70make[1]: Leaving directory `/lfs/tmp/make-3.79.1'
71make: *** [all-recursive-am] Error 2</screen>
72
73<para>In this case, many people just include the bottom section where it
74says:</para>
75
76<screen>make [2]: *** [make] Error 1</screen>
77
78<para>and onwards. This isn't enough for us to diagnose the problem because it
79only tells us that <emphasis>something</emphasis> went wrong, not
80<emphasis>what</emphasis> went wrong. The whole section, as in the example
81above, is what should be included to be helpful, because it includes the
82command that was executed and the command's error message(s).</para>
83
84<para>An excellent article on asking for help on the Internet in general
85has been written by Eric S. Raymond. It is available online at <ulink
86url="http://catb.org/~esr/faqs/smart-questions.html"/>.
87Read and follow the hints in that document and you are much more likely
88to get a response to start with and also to get the help you actually
89need.</para>
90
91</sect2>
92
93<sect2>
94<title>Test suite problems</title>
95
96<para>Many packages provide a test suite which, depending on the importance
97of the package, we may encourage you to run. Sometimes packages will
98generate false or expected failures. If you encounter these, you can check
99the LFS Wiki page at <ulink url="&wiki-root;"/> to see whether we have
100already noted and investigated them. If we already know
101about them, then usually there is no need to be concerned.</para>
102
103</sect2>
104
105
106</sect1>
107
Note: See TracBrowser for help on using the repository browser.