source: chapter01/askforhelp.xml@ c863747

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

Wrapped the commands until Chapter 5 to 60 chars.
Testing new look for 'cat > .... << EOF' blocks.

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

  • Property mode set to 100644
File size: 4.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<sect1 id="prepare-askforhelp">
7<title>Help</title>
8<?dbhtml filename="askforhelp.html"?>
9
10<para>If an issue or a question is encountered while working
11through this book, check the FAQ page at <ulink url="&faq-root;"/>.
12Questions are often already answered there. If your question is
13not answered on this page, try to find the source of the problem. The
14following hint will give you some guidance for troubleshooting: <ulink
15url="&hints-root;errors.txt"/>.</para>
16
17<para>We also have a wonderful LFS community that is willing to offer
18assistance through IRC and the mailing lists (see the <xref
19linkend="ch-scatter-administrativa"/> section of this book). In order
20to assist with diagnosing and solving the problem, please include
21all relevant information in your request for help.</para>
22
23<sect2>
24<title>Things to Mention</title>
25
26<para>Apart from a brief explanation of the problem being experienced,
27the essential things to include in any request for help are:</para>
28
29<itemizedlist>
30<listitem><para>The version of the book being used (in this case
31&version;)</para></listitem>
32<listitem><para>The host distribution and version being used to
33create LFS</para></listitem>
34<listitem><para>The package or section the problem was encountered in</para></listitem>
35<listitem><para>The exact error message or symptom being received</para></listitem>
36<listitem><para>Note whether you have deviated from the book at all </para></listitem>
37</itemizedlist>
38
39<note><para>Deviating from this book does <emphasis>not</emphasis>
40mean that we will not help you. After all, LFS is about personal
41preference. Being upfront about any changes to the established
42procedure helps us evaluate and determine possible causes of your
43problem.</para></note>
44</sect2>
45
46<sect2>
47<title>Configure Problems</title>
48
49<para>If something goes wrong during the stage where the configure
50script is run, review the <filename>config.log</filename> file. This
51file may contain errors encountered during configure which were not
52printed to the screen. Include those relevant lines if you need to ask
53for help.</para>
54</sect2>
55
56<sect2>
57<title>Compile problems</title>
58
59<para>Both the screen output and the contents of various files are
60useful in determining the cause of compile issues. The screen output
61from the ./configure script and the make run can be helpful. It
62is not necessary to include the entire output, but do include enough
63of the relevant information. Below is an example of the type of
64information to include from the screen output from make:</para>
65
66<screen><computeroutput>gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\"
67-DLOCALEDIR=\"/mnt/lfs/usr/share/locale\"
68-DLIBDIR=\"/mnt/lfs/usr/lib\"
69-DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I.
70-g -O2 -c getopt1.c
71gcc -g -O2 -static -o make ar.o arscan.o commands.o dir.o
72expand.o file.o function.o getopt.o implicit.o job.o main.o
73misc.o read.o remake.o rule.o signame.o variable.o vpath.o
74default.o remote-stub.o version.o opt1.o
75-lutil job.o: In function `load_too_high':
76/lfs/tmp/make-3.79.1/job.c:1565: undefined reference
77to `getloadavg'
78collect2: ld returned 1 exit status
79make[2]: *** [make] Error 1
80make[2]: Leaving directory `/lfs/tmp/make-3.79.1'
81make[1]: *** [all-recursive] Error 1
82make[1]: Leaving directory `/lfs/tmp/make-3.79.1'
83make: *** [all-recursive-am] Error 2</computeroutput></screen>
84
85<para>In this case, many people would just include the bottom
86section:</para>
87
88<screen><computeroutput>make [2]: *** [make] Error 1</computeroutput></screen>
89
90<para>This is not enough information to properly diagnose the problem
91because it only notes that something went wrong, not
92<emphasis>what</emphasis> went wrong. The entire section, as in the
93example above, is what should be saved because it includes the command
94that was executed and the associated error message(s).</para>
95
96<para>An excellent article about asking for help on the Internet is
97available online at <ulink
98url="http://catb.org/~esr/faqs/smart-questions.html"/>. Read and
99follow the hints in this document to increase the likelihood of getting
100the help you need.</para>
101</sect2>
102
103<sect2>
104<title>Test Suite Problems</title>
105
106<para>Many packages provide a test suite which, depending on the
107importance of the package, should be run. Sometimes packages will
108generate false or expected failures. If these errors are encountered,
109check the LFS Wiki page at <ulink url="&wiki-root;"/> to see if we have
110noted and investigated these issues. If these issues are noted and
111addressed, there is no need to be concerned.</para>
112</sect2>
113
114</sect1>
115
Note: See TracBrowser for help on using the repository browser.