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

📄 faq.docbook

📁 LINUX 下, 以 QT/KDE 写的档案管理员
💻 DOCBOOK
📖 第 1 页 / 共 5 页
字号:
            &rpm-guide-url; by Eric
            Foster-Johnson.</para>
          </tip>
          <para></para>
          <!-- Empty line to make it more readable -->
        </answer>
      </qandaentry>
      <qandaentry>
        <question id="faqi_rpm-fails">
          <para>I'm trying to install binary foo (RPM or DEB
          package), but it fails. What's wrong?</para>
        </question>
        <answer>
          <para>Since we only prepare (and use) the source, we have
          no way of knowing this. Did you test the binary RPM
          before installing? 
          <screen><prompt>$</prompt> <userinput><command>rpm</command> <option>-i --test</option> <replaceable>&lt;/path/to/rpmfile&gt; krusader-x.xx.dist.rpm</replaceable></userinput></screen> 
          If the prompt returns without any message, then
          everything is OK. RPM's downloaded from our website are
          usually provided by &krusader; users. Visit
          your distro website and search for an updated RPM.</para>
          <para>If the RPM is not OK, try to find another package
          at &Linux; software archives such as
          &freshmeat-url; or &kde-apps-url;.
          If you still can't find the appropriate package for your
          &Linux; distribution, we recommend searching
          for it with &rpmfind-url; or
          &rpmpbone-url;.</para>
          <para>In general, a package for an older version of your
          distrubution or even for another distribution might work
          on your computer (&eg; FC RPM's often work on
          Mdk and RH, and vice versa), but it is always the best
          that you install only RPM's that exactly match your
          distribution. If you can't find a package that matches
          your distribution version, architecture or distribution,
          then use a source RPM. When you use a source RPM, the
          Krusader sources will be built, on your computer,
          guaranteeing a suitable binary RPM for your specific
          distribution and architecture. In addition, this method
          results in maximum system speed, since the resulting
          binary is customized for your computer. Please read the
          previous question, it explains how to install a source
          RPM. The best solution is explained in the next
          question.</para>
          <para></para>
          <!-- Empty line to make it more readable -->
        </answer>
      </qandaentry>
      <qandaentry>
        <question id="faqi_rpm-notfound">
          <para>I can't find an RPM or DEB package for
          &krusader;, what to do?</para>
        </question>
        <answer>
          <para>Check if your distribution provides
          &krusader;, if it doesn't then contact your
          distribution creator and ask them to include
          &krusader;!</para>
          <para>Did you take a look at the &URL;'s on
          the &install-proc-lnk; page? If you have and
          found nothing, you can always compile
          &krusader; from source. Even if you feel you
          haven't got the necessary skills, you will probably
          succeed in compiling &krusader;: we provide a
          very detailed installation procedure. This HowTo enables
          newcomers to compile &krusader; from source,
          even if they have never done a compilation from source
          before, just follow the instructions carefully. Feel free
          to post a &help-request-lnk; if you encounter
          problems.</para>
          <para></para>
          <!-- Empty line to make it more readable -->
        </answer>
      </qandaentry>
      <qandaentry>
        <question id="faqi_krusaderui_rc">
          <para>I've installed &krusader;, but when I
          start, only the 
          <guimenu>"Help"</guimenu> menu appears. Why?</para>
        </question>
        <answer>
          <para>In this case only the 
          <guimenu>Help</guimenu> menu is visible and all other menu
          items like &eg; 
          <guimenu>File</guimenu> and 
          <guimenu>Select</guimenu> are missing. This is because
          some distributions put the 
          <filename>krusaderui.rc</filename> file in the wrong
          directory. To solve the problem, just copy the 
          <filename>krusaderui.rc</filename> file from the package 
          <filename>
          krusader_kde3/krusader/krusaderui.rc</filename> to 
          <filename>
          $KDEDIR/share/apps/krusader/krusaderui.rc</filename> and 
          <filename>
          ~/.kde/share/apps/krusader/krusaderui.rc</filename> and
          re-run &krusader;. If you have compiled
          &krusader; from sources this is often caused
          if the &kdeqtdir-lnk; environment variables
          are not correctly set. The result is that the 
          <filename>krusaderui.rc</filename> file is installed in
          the wrong directory. Please read the following question,
          as well.</para>
          <para></para>
          <!-- Empty line to make it more readable -->
        </answer>
      </qandaentry>
      <qandaentry>
        <question id="faqi_missing_menus">
          <para>Some new menu items are missing after updating
          &krusader;, what's wrong?</para>
        </question>
        <answer>
          <para>The 
          <filename>krusaderui.rc</filename> file is stored in 
          <filename>
          $KDEDIR/share/apps/krusader/krusaderui.rc</filename>.
          When you change the 
          <guilabel>"Toolbar"</guilabel>, &kde; makes a
          copy of that file in the home directory at 
          <filename>
          ~/.kde/share/apps/krusader/krusaderui.rc</filename>. If
          Krusader was previously installed on your computer, and
          you install a newer &krusader; version the 
          <filename>
          ~/.kde/share/apps/krusader/krusaderui.rc</filename> file
          must be replaced with the newer version. Note: this will
          also reset all your changes on toolbars and
          shortcuts!</para>
          <para>The first line of 
          <filename>krusaderui.rc</filename> contains the version
          number. After installing a newer &krusader;
          version, &kde; will automatically replace the
          old 
          <filename>
          ~/.kde/share/apps/krusader/krusaderui.rc</filename> with
          the newer version when starting the new
          &krusader; for the first time
          (&kde; will detect the newer version number in
          the first line).</para>
          <para>If you install a CVS or beta version and
          &krusader; was already installed on your
          computer then you should delete the 
          <filename>krusaderui.rc</filename> file from your home
          directory to activate the new menu entries 
          <prompt>$</prompt>
          <userinput>
            <command>rm</command>
            <option>
            ~/.kde/share/apps/krusader/krusaderui.rc</option>
          </userinput></para>
          <para>If the 
          <filename>
          ~/.kde/share/apps/krusader/krusaderui.rc</filename> file
          is older, then the new menu elements will not be shown.
          Read the previous question for information on how to
          update the 
          <filename>krusaderui.rc</filename> file. If 
          <filename>krusaderui.rc</filename> is missing or in a
          wrong directory, only the 
          <guimenu>"Help"</guimenu> menu appears, please read the
          previous question.</para>
          <para></para>
          <!-- Empty line to make it more readable -->
        </answer>
      </qandaentry>
      <qandaentry>
        <question id="faqi_libfam_la">
          <para>When I run 
          <command>make</command>, it complains about 
          <filename>libfam.la</filename>, what's wrong?</para>
        </question>
        <answer>
          <para>The 
          <command>./configure</command> script does not check for
          the presence of 
          <filename>libfam.la</filename>, and 
          <command>make</command> needs 
          <filename>libfam.la</filename> to compile
          &krusader;. If you know how this can be
          solved, please let us know. Install 
          <filename>libfam0-devel-foo.rpm</filename>. Note: when
          you install &Mandrake;-&Linux; 9.2
          with the default settings, this package is not installed.
          If you need more information take a look at
          &missing-libs-lnk;.</para>
          <para></para>
          <!-- Empty line to make it more readable -->
        </answer>
      </qandaentry>
      <qandaentry>
        <question id="faqi_deb-qt">
          <para>&debian; complains about &Qt;
          when running 
          <command>./configure</command>, what's wrong?</para>
        </question>
        <answer>
          <para>This problem occurs when you use &gcc;
          2.95, you need to install &gcc; 3.2 (or
          higher). You also need to set the enviroment variables
          "CC, CPP and CXX" before running the 
          <command>./configure</command> script. 
          <screen><prompt>$</prompt> <userinput><command>export</command> CC=<replaceable>/usr/bin/gcc-3.2</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>export</command> CXX=<replaceable>/usr/bin/g++-3.2</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>export</command> CPP=<replaceable>/usr/bin/cpp-3.2</replaceable></userinput>
          </screen> 
          For more information please take a look
          &debian-qt-a-url; and at the
          &debian-qt-b-url; on how to build a
          &Qt;/&kde;3 application on
          &debian;.</para>
          <para></para>
          <!-- Empty line to make it more readable -->
        </answer>
      </qandaentry>
      <qandaentry>
        <question id="faqi_nvidia">
          <para>I have a 
          <filename>libGLcore.so.1</filename> compile error after
          using the &nvidia; installer, what to
          do?</para>
        </question>
        <answer>
          <para>This problem occurs when you use the
          &nvidia; installer and not the official
          &nvidia; packages of your distribution.
          &krusader; is based on &Qt; which
          can be linked against the X OpenGL libraries. As a result
          &krusader; may look for OpenGL as well. The
          problem is that the &nvidia; installer (prior
          to version 7xxx) doesn't perform it's task properly: it
          replaces the OpenGL header files (which get included into
          &krusader;) but doesn't set the libGL links
          correctly. The best solution is to use the
          &nvidia; packages provided by your distributor
          or a new &nvidia; installer, the current
          version at the moment of writing is 7114. If, for some
          reason, you must use an old &nvidia; driver,
          one solution is the following hack, the exact commands
          depend on the distribution used and the version of the
          &nvidia; driver (6111 in this example), but it
          should read something like this: 
          <screen><prompt>$</prompt> <userinput><command>ln</command> -s <replaceable>libGLcore.so.1.0.6111 libGLcore.so.0</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>ln</command> -s <replaceable>libGLcore.so.1.0.6111 libGLcore.so</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>ln</command> -s <replaceable>libGLcore.so.1.0.6111 libGLcore.so.1.0.0</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>ln</command> -s <replaceable>libGLcore.so.1.0.6111 libGLcore.so.0.0.0</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>ln</command> -s <replaceable>libGLcore.so.1.0.6111 libGL.so</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>ln</command> -s <replaceable>libGLcore.so.1.0.6111 libGL.so.0</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>ln</command> -s <replaceable>libGLcore.so.1.0.6111 libGL.so.0.0.0</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>ln</command> -s <replaceable>libGLcore.so.1.0.6111 libGL.so.1</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>ln</command> -s <replaceable>libGLcore.so.1.0.6111 libGL.so.1.0.0</replaceable></userinput>
          <prompt>$</prompt> <userinput><command>ln</command> -s <replaceable>/usr/lib/libGLU.la /usr/X11R6/lib/libGLU.la</replaceable></userinput>
          </screen></para>
          <para></para>
          <!-- Empty line to make it more readable -->
        </answer>
      </qandaentry>
      <qandaentry>
        <question id="faqi_gcc4">
          <para>Why &krusader;-1.60.x does not compile
          with gcc4?</para>
        </question>
        <answer>
          <para>Because &krusader;-1.60.x was not gcc4
          compatible, it first needs some patches: 
          <itemizedlist>
            <listitem>
              <para>add 'class ListPanelFunc;' in
              krusader/Panel/listpanel.h</para>
            </listitem>
            <listitem>
              <para>add 'class KMountManGUI;' in
              krusader/MountMan/kmountman.h</para>
            </listitem>
            <listitem>
              <para>add 'class KrDetailedViewItem;' in
              krusader/Panel/krdetailedview.h</para>
            </listitem>
          </itemizedlist>More information can be found in our 
          <ulink url="http://www.krusader.org/phpBB/viewtopic.php?t=1328">
          forum</ulink>.</para>
          <para></para>
          <!-- Empty line to make it more readable -->
        </answer>
      </qandaentry>
      <qandaentry>
        <question id="faqi_help_request">
          <para>I am having trouble compiling and installing
          &krusader;, how do I send a help
          request?</para>
        </question>
        <answer>
          <para>Please read our detailed 
          <link linkend="compilation">installation

⌨️ 快捷键说明

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