| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 | <sect1 id="ch02-askforhelp"><title>How to ask for help</title><?dbhtml filename="askforhelp.html" dir="chapter02"?><para>If you have a problem while using this book, you'll find that mostof the people on Internet Relay Chat (IRC) and the mailing lists will bewilling to help you.  You can find a list of the LFS mailing lists in<xref linkend="ch01-maillists"/>.  To assist us in helping though, you shouldmake sure that you have as much relevant information as you canavailable.  This will assist in diagnosing and solving your problem.This part of the book will guide you as to which sort of informationwill be useful.</para><sect2><title>Basic Information</title> <para>First of all we need a brief explanation of the problem.Essential things to include are:</para><itemizedlist><listitem><para>The version of the book you are using, which is &version;</para></listitem><listitem><para>Which package or section you are having problems with</para></listitem><listitem><para>What the exact error message or symptom you are receiving is</para></listitem><listitem><para>If you have deviated from the book at all</para></listitem></itemizedlist><para>Note that saying that you've deviated from the book doesn't meanthat we won't help you, after all, LFS is all about choice.  It'll justhelp us to see the possible other causes of your problem.</para></sect2><sect2><title>Configure problems</title><para>When something goes wrong during the stage where the configurescript is run, look at the last lines of the<filename>config.log</filename>. This file contains possible errorsencountered during configure which aren't always printed to the screen.Include those relevant lines if you decide to ask for help.</para></sect2><sect2><title>Compile problems</title><para>To help us find the cause of the problem, both screen output andthe contents of various files are useful. The screen output from boththe ./configure script and when make is run can be useful.  Don'tblindly include the whole thing but on the other hand, don't include toolittle.  As an example, here is some screen output from make:</para><para><screen>gcc -DALIASPATH=\"/mnt/lfs/usr/share/locale:.\" -DLOCALEDIR=\"/mnt/lfs/usr/share/locale\" -DLIBDIR=\"/mnt/lfs/usr/lib\" -DINCLUDEDIR=\"/mnt/lfs/usr/include\" -DHAVE_CONFIG_H -I. -I.   -g -O2 -c getopt1.cgcc  -g -O2 -static -o make  ar.o arscan.o commands.o dir.o expand.o file.o function.o getopt.o implicit.o job.o main.o misc.o read.o remake.o rule.o signame.o variable.o vpath.o default.o remote-stub.o version.o opt1.o    -lutil job.o: In function `load_too_high':/lfs/tmp/make-3.79.1/job.c:1565: undefined reference to `getloadavg'collect2: ld returned 1 exit statusmake[2]: *** [make] Error 1make[2]: Leaving directory `/lfs/tmp/make-3.79.1'make[1]: *** [all-recursive] Error 1make[1]: Leaving directory `/lfs/tmp/make-3.79.1'make: *** [all-recursive-am] Error 2</screen></para><para>In this case, many people just include the bottom section where itsays <screen>make [2]: *** [make] Error 1</screen> and onwards.  Thisisn't enough for us to diagnose the problem because it only tells usthat <emphasis>something</emphasis> went wrong, not<emphasis>what</emphasis> went wrong.  The whole section asquoted above is what should be included to be helpful, because itincludes the command that was executed and the command's errormessage(s).</para></sect2></sect1>
 |