⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 askforhelp.html

📁 Linux From Scratch的中文指导,学习LINUX很有用
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=gb2312" />
    <title>
      1.4.&nbsp;Help
    </title>
    <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.68.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type="text/css" media="print" />
  </head>
  <body id="lfs" class="6.1">
    <div class="navheader">
      <div class="headertitles">
        <h4>
          Linux From Scratch - Version 6.1
        </h4>
        <h3>
          Chapter&nbsp;1.&nbsp;介绍
        </h3>
      </div>
      <ul class="headerlinks">
        <li class="prev">
          <a accesskey="p" href="resources.html" title="Resources">后退</a>
          <p>
            Resources
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="../chapter02/chapter02.html" title="Preparing a New Partition">前进</a>
          <p>
            Preparing a New Partition
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="chapter01.html" title="Chapter&nbsp;1.&nbsp;介绍">上一级</a>.
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title="Linux From Scratch - Version 6.1">回首页</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="zh_cn" xml:lang="zh_cn">
      <div class="titlepage">
        <h1 class="sect1">
          1.4. 帮助        </h1>
      </div>
      <p>
        如果您在本书中遇到困难或者问题,请查看 FAQ 页 <a href="http://www.linuxfromscratch.org/faq/#generalfaq"><i>http://www.linuxfromscratch.org/faq/#generalfaq</i></a>,您所遇到的问题往往这里已经有解答了。如果 FAQ 没有解决您的问题,请尝试找到问题的根源,<a href="http://www.linuxfromscratch.org/hints/downloads/files/errors.txt"><i>
        http://www.linuxfromscratch.org/hints/downloads/files/errors.txt</i></a>上的提示将给您提供一些故障诊断的指导。
      </p>
      <p>
       我们也有一个出色的 LFS 社区通过 IRC 和邮件列表为您提供帮助(请参看本书的<a href="resources.html" title="1.3.&nbsp;Resources">Section&nbsp;1.3, &ldquo;资源&rdquo;</a> 小节)。为了帮助诊断和解决问题,您需要在您的帮助请求中包含所有相关的信息。
      </p>
      <div class="sect2" lang="zh_cn" xml:lang="zh_cn">
        <div class="titlepage">
          <h2 class="sect2">
            1.4.1. 需要提及的内容
          </h2>
        </div>
        <p>
          除了一份您所遇到的问题的简短描述外,在任何帮助请求中您还需要附加一些必需的信息:
        </p>
        <div class="itemizedlist">
          <ul>
            <li>
              <p>
                您所使用的 LFS Book 的版本(本书的版本是 6.1)
              </p>
            </li>
            <li>
              <p>
                创建 LFS 所用的宿主 Linux 发行版的名称及其版本
              </p>
            </li>
            <li>
              <p>
                遇到问题的软件包或所在的章节
              </p>
            </li>
            <li>
              <p>
                确切的错误信息或故障现象描述
              </p>
            </li>
            <li>
              <p>
                注意您是否完全是按本书所说的在做
              </p>
            </li>
          </ul>
        </div>
        <div class="note">
          <div class="admonhead">
            <img alt="[Note]" src="../images/note.png" />
            <h3 class="admontitle">
              注意
            </h3>
          </div>
          <div class="admonbody">
            <p>
              不按本书说的做<span class="emphasis"><em>并不</em></span>意味着我们就不会给您提供帮助,毕竟 LFS 是个性化的选择。提供您在建立过程中所做的任何更改,将有助于我们估计和确定导致您所遇到的问题的可能原因。
            </p>
          </div>
        </div>
      </div>
      <div class="sect2" lang="zh_cn" xml:lang="zh_cn">
        <div class="titlepage">
          <h2 class="sect2">
            1.4.2. Configure 脚本的问题
          </h2>
        </div>
        <p>
          如果您执行 <span><strong class="command">configure</strong></span> 脚本的时候,某个地方出错了,请检查 <tt class="filename">config.log</tt> 文件,这个文件可能包含 <span><strong class="command">configure</strong></span> 过程中没有输出到屏幕的错误,如果您需要请求帮助,请把这里面<span class="emphasis"><em>相关</em></span>信息也包含进去。
        </p>
      </div>
      <div class="sect2" lang="zh_cn" xml:lang="zh_cn">
        <div class="titlepage">
          <h2 class="sect2">
            1.4.3. 编译问题
          </h2>
        </div>
        <p>
          屏幕输出和各种产生文件的内容,对确定产生编译问题的原因都是有用的。 <span><strong class="command">configure</strong></span> 脚本和运行 <span><strong class="command">make</strong></span> 所产生的屏幕输出也是有帮助的。不需要把所有的输出都包含进来,只需要包含足够的相关信息就行了。下面是一个从 <span><strong class="command">make</strong></span>的屏幕输出中包含所需信息的例子:
        </p>
        <pre class="screen"><tt class="computeroutput">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.c
gcc -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 status
make[2]: *** [make] Error 1
make[2]: Leaving directory `/lfs/tmp/make-3.79.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/lfs/tmp/make-3.79.1'
make: *** [all-recursive-am] Error 2</tt></pre>
        <p>
          这种情形下,许多人会仅仅只包含最后一段:
        </p>
        <pre class="screen"><tt class="computeroutput">make [2]: *** [make] Error 1</tt></pre>
        <p>
          这对于正确的分析问题是不够的,因为它只是提示有东西出错了,而没有说是<span class="emphasis"><em>什么</em></span>出错了。上面例子中全部都应该保存下来,因为它包括了所运行的命令和相关的错误信息。
        </p>
        <p>
          <a href="http://catb.org/~esr/faqs/smart-questions.html"><i>http://catb.org/~esr/faqs/smart-questions.html</i></a>上有一篇很好的文章,讲述如何在 Internet 上寻求帮助,请阅读并遵照文章中的提示,将有助于您得到您所需要的答案。
        </p>
      </div>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="resources.html" title="Resources">后退</a>
          <p>
            Resources
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="../chapter02/chapter02.html" title="Preparing a New Partition">前进</a>
          <p>
            Preparing a New Partition
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="chapter01.html" title="Chapter&nbsp;1.&nbsp;介绍">上一级</a>.
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title="Linux From Scratch - Version 6.1">回首页</a>.
        </li>
      </ul>
    </div>
  </body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -