source: chapter02/askforhelp.xml@ 0d11c30

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 v3_1 v3_2 v3_3 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 0d11c30 was 5e0e068, checked in by Gerard Beekmans <gerard@…>, 23 years ago

re-formatted (inserted line breaks to wrap at 80 or so chars)

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

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