source: chapter01/askforhelp.xml@ ec0a37e6

6.0
Last change on this file since ec0a37e6 was 6e35438, checked in by Gerard Beekmans <gerard@…>, 20 years ago

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@3995 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 you encounter an issue or have a question while working
11through this book, check our FAQs page at <ulink url="&faq-root;"/>.
12Often times questions are 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 them 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 experience,
27the essential things to include in your request for help are:</para>
28
29<itemizedlist>
30<listitem><para>The version of the book you are using (in this case
31&version;)</para></listitem>
32<listitem><para>The host distribution and version you are using to
33create LFS</para></listitem>
34<listitem><para>The package or section giving you problems</para></listitem>
35<listitem><para>The exact error message or symptom you are receiving</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 won't help you. After all, LFS is about your personal
41preference. Being upfront any changes to the established procedure
42help 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>The both screen output and the contents of various files are
60useful in determining the cause of compile issues. The screen output
61from both 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\" -DLIBDIR=\"/mnt/lfs/usr/lib\"
68-DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I.
69-g -O2 -c getopt1.c
70gcc -g -O2 -static -o make ar.o arscan.o commands.o dir.o expand.o file.o
71function.o getopt.o implicit.o job.o main.o misc.o read.o remake.o rule.o
72signame.o variable.o vpath.o default.o remote-stub.o version.o opt1.o
73-lutil job.o: In function `load_too_high':
74/lfs/tmp/make-3.79.1/job.c:1565: undefined reference to `getloadavg'
75collect2: ld returned 1 exit status
76make[2]: *** [make] Error 1
77make[2]: Leaving directory `/lfs/tmp/make-3.79.1'
78make[1]: *** [all-recursive] Error 1
79make[1]: Leaving directory `/lfs/tmp/make-3.79.1'
80make: *** [all-recursive-am] Error 2</computeroutput></screen>
81
82<para>In this case, many people would just include the bottom
83section:</para>
84
85<screen><computeroutput>make [2]: *** [make] Error 1</computeroutput></screen>
86
87<para>This is not enough information to properly diagnose the problem
88because it only notes that something went wrong, not
89<emphasis>what</emphasis> went wrong. The entire section, as in the
90example above, is what should be saved because it includes the command
91that was executed and the associated error message(s).</para>
92
93<para>An excellent article about asking for help on the Internet is
94available online at <ulink
95url="http://catb.org/~esr/faqs/smart-questions.html"/>. Read and
96follow the hints in this document to increase your changes of getting
97the help you need.</para>
98</sect2>
99
100<sect2>
101<title>Test suite problems</title>
102
103<para>Many packages provide a test suite which, depending on the
104importance of the package, should be run. Sometimes packages will
105generate false or expected failures. If these errors are encountered,
106check the LFS Wiki page at <ulink url="&wiki-root;"/> to see if we have
107noted and investigated these issues. If these issues are noted and
108addressed, there is no need to be concerned.</para>
109</sect2>
110
111</sect1>
112
Note: See TracBrowser for help on using the repository browser.