source: chapter01/askforhelp.xml@ dc6acb5

Last change on this file since dc6acb5 was dc6acb5, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

In DocBook-NG the replacement for <ulink> is a new definition of <link>.

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

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