source: chapter02/askforhelp.xml@ 4ceb3a1

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 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 v4_0 v4_1 v5_0 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 4ceb3a1 was 4ceb3a1, checked in by Gerard Beekmans <gerard@…>, 22 years ago

applied Alex's listed-items.patch

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

  • Property mode set to 100644
File size: 3.6 KB
Line 
1<sect1 id="ch02-askforhelp">
2<title>How to ask for help</title>
3<?dbhtml filename="askforhelp.html" dir="chapter02"?>
4
5<para>If you encounter a problem while using this book, you'll find that most
6of the people on Internet Relay Chat (IRC) and on the mailing lists are
7willing to help you. (An overview of the LFS mailing lists you can find in
8<xref linkend="ch01-maillists"/>.) To assist us in diagnosing and solving
9your problem, make sure to include as much relevant information
10as possible in your request for help.</para>
11
12<sect2>
13<title>Things to mention</title>
14
15<para>Apart from a brief explanation of the problem you're having, the
16essential things to include in your request are:</para>
17
18<itemizedlist>
19<listitem><para>the version of the book you are using (being &version;),</para></listitem>
20<listitem><para>the package or section you are having problems with,</para></listitem>
21<listitem><para>the exact error message or symptom you are receiving,</para></listitem>
22<listitem><para>whether you have deviated from the book at all.</para></listitem>
23</itemizedlist>
24
25<para>(Note that saying that you've deviated from the book doesn't mean
26that we won't help you. After all, LFS is about choice. It'll just
27help us to see other possible causes of your problem.)</para>
28
29</sect2>
30
31<sect2>
32<title>Configure problems</title>
33
34<para>When something goes wrong during the stage where the configure
35script is run, look at the last lines of the
36<filename>config.log</filename>. This file contains possible errors
37encountered during configure which aren't always printed to the screen.
38Include those relevant lines if you decide to ask for help.</para>
39
40</sect2>
41
42<sect2>
43<title>Compile problems</title>
44
45<para>To help us find the cause of the problem, both screen output and
46the contents of various files are useful. The screen output from both
47the ./configure script and when make is run can be useful. Don't
48blindly include the whole thing but on the other hand, don't include too
49little. As an example, here is some screen output from make:</para>
50
51<para><screen>gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\"
52-DLOCALEDIR=\"/mnt/lfs/usr/share/locale\" -DLIBDIR=\"/mnt/lfs/usr/lib\"
53-DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I.
54-g -O2 -c getopt1.c
55gcc -g -O2 -static -o make ar.o arscan.o commands.o dir.o expand.o file.o
56function.o getopt.o implicit.o job.o main.o misc.o read.o remake.o rule.o
57signame.o variable.o vpath.o default.o remote-stub.o version.o opt1.o
58-lutil job.o: In function `load_too_high':
59/lfs/tmp/make-3.79.1/job.c:1565: undefined reference to `getloadavg'
60collect2: ld returned 1 exit status
61make[2]: *** [make] Error 1
62make[2]: Leaving directory `/lfs/tmp/make-3.79.1'
63make[1]: *** [all-recursive] Error 1
64make[1]: Leaving directory `/lfs/tmp/make-3.79.1'
65make: *** [all-recursive-am] Error 2</screen></para>
66
67<para>In this case, many people just include the bottom section where it
68says <screen>make [2]: *** [make] Error 1</screen> and onwards. This
69isn't enough for us to diagnose the problem because it only tells us
70that <emphasis>something</emphasis> went wrong, not
71<emphasis>what</emphasis> went wrong. The whole section as
72quoted above is what should be included to be helpful, because it
73includes the command that was executed and the command's error
74message(s).</para>
75
76<para>An excellent article on asking for help on the Internet in general
77has been written by Eric S. Raymond. It is available online at <ulink
78url="http://www.tuxedo.org/~esr/faqs/smart-questions.html"/>.
79Read and follow the hints in this document and you are much more likely
80to get a response to start with and also to get the help you actually
81need.</para>
82
83</sect2>
84
85</sect1>
86
Note: See TracBrowser for help on using the repository browser.