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

📄 installation.docbook.pot

📁 LINUX 下, 以 QT/KDE 写的档案管理员
💻 POT
📖 第 1 页 / 共 4 页
字号:
msgid "We recommend you create a separate directory to keep all the sources you compile in. This way you will have a better overview of the installed programs and it will be easier to uninstall them later. <screen><prompt>$</prompt> <userinput><command>mkdir</command> ~/source</userinput></screen> The chosen directory is just an example, any other will work."msgstr ""#. Tag: para#: installation.docbook:572#, no-c-formatmsgid "Copy the sources to the <filename>~/source</filename> directory and unpack them."msgstr ""#. Tag: screen#: installation.docbook:574#, no-c-formatmsgid "<prompt>$</prompt> <userinput><command>cp</command> /<replaceable>\"your_dir\"</replaceable> /krusader-x.xx.tar.gz ~/source</userinput>"msgstr ""#. Tag: screen#: installation.docbook:575#, no-c-formatmsgid "<prompt>$</prompt> <userinput><command>cd</command> ~/source</userinput>"msgstr ""#. Tag: screen#: installation.docbook:576#, no-c-formatmsgid "<prompt>$</prompt> <userinput><command>tar</command> <option>-xzvf</option> krusader-x.xx.tar.gz</userinput>"msgstr ""#. Tag: para#: installation.docbook:582#, no-c-formatmsgid "Optional step: if you wish you can delete the tarball at this point as it is no longer needed."msgstr ""#. Tag: screen#: installation.docbook:584#, no-c-formatmsgid "<prompt>$</prompt> <userinput><command>rm</command> krusader-x.xx.tar.gz</userinput>"msgstr ""#. Tag: para#: installation.docbook:590#, no-c-formatmsgid "Change to the directory containing the sources."msgstr ""#. Tag: screen#: installation.docbook:591#, no-c-formatmsgid "<prompt>$</prompt> <userinput><command>cd</command> krusader-x.xx</userinput>"msgstr ""#. Tag: para#: installation.docbook:597#, no-c-formatmsgid "Check the environment variables <envar>QTDIR</envar>and <envar>KDEDIR</envar>. &krusader;'s <command>./configure</command> script needs to know where the &Qt; and &kde; directories are."msgstr ""#. Tag: para#: installation.docbook:603#, no-c-formatmsgid "<envar>QTDIR</envar>: <replaceable>&lt;path to your Qt installation&gt;</replaceable> &eg; <filename>/usr/lib/qt3</filename> or <filename>/usr/qt3</filename>"msgstr ""#. Tag: para#: installation.docbook:609#, no-c-formatmsgid "<envar>KDEDIR</envar>: <replaceable>&lt;path to your KDE installation&gt;</replaceable> &eg; <filename>/usr</filename> or <filename>/opt/kde3</filename>"msgstr ""#. Tag: para#: installation.docbook:615#, no-c-formatmsgid ""      "Normally your distribution will set them for you, but experience has shown that some do not. You can easily check the values with the <command>echo</command> command. <screen><prompt>$</prompt> <userinput><command>echo</command> $QTDIR</userinput>/usr/lib/qt3
\n"      "                  <prompt>$</prompt> <userinput><command>echo</command> $KDEDIR</userinput>/usr</screen> If both commands give an output, the enviroment variables are set (the above example are the settings of &mandriva;-&Linux;). In case you receive empty lines, the variables are not set and you have to set them manually. If you do not know what to set the variables to, or if you want to check if the variables are correctly set, ask your distributor or use the <command>find</command> command. <screen><prompt>$</prompt> <userinput><command>find</command> <option>/usr /opt -name</option> qtconfig <option>-type f 2>/dev/null</option></userinput>
\n"      "/usr/lib/qt3/bin/qtconfig
\n"      "<prompt>$</prompt> <userinput><command>find</command> <option>/usr /opt -name</option> kdeinit <option>-type f 2>/dev/null</option></userinput>
\n"      "/usr/bin/kdeinit</screen> In this case <filename>/usr/lib/qt3</filename> is your <envar>QTDIR</envar> and <filename>/usr</filename> is your <envar>KDEDIR</envar>. The installed binaries will go to <filename>/usr/bin</filename>. Now we will set the enviroment variables with the <command>export</command> command."msgstr ""#. Tag: screen#: installation.docbook:643#, no-c-formatmsgid "<prompt>$</prompt> <userinput><command>export</command> QTDIR=<replaceable>&lt;replace with your QTDIR&gt;</replaceable></userinput>"msgstr ""#. Tag: screen#: installation.docbook:644#, no-c-formatmsgid "<prompt>$</prompt> <userinput><command>export</command> KDEDIR=<replaceable>&lt;replace with your KDEDIR&gt;</replaceable></userinput>"msgstr ""#. Tag: para#: installation.docbook:647#, no-c-formatmsgid "These enviroment variables are only set for the lifetime of your current shell. When you close your terminal and open a new one they will be gone. Assuming &krusader; is not the only &Qt;/&kde; program you want to compile, we recommend to make these settings permanent (&eg; append both export commands to your <filename class=\"directory\">/etc/profile</filename>) file."msgstr ""#. Tag: para#: installation.docbook:657#, no-c-formatmsgid "If you can notdetermine your KDEDIR, <command>kde-config --prefix</command> might help you."msgstr ""#. Tag: para#: installation.docbook:666#, no-c-formatmsgid "If you have downloaded a stable version <filename>\"krusader-x.xx.tar.gz\"</filename> or a beta version <filename>\"krusader-x.xx-betax.tar.gz\"</filename>, you can skip this step. In this case the <filename>./configure</filename> script is provided."msgstr ""#. Tag: para#: installation.docbook:673#, no-c-formatmsgid "If you have downloaded a CVS build or nightly tarball <filename>\"krusader-cvs-yyyy-mm-dd.tar.gz\"</filename>\", you will have to run the following command to create the <filename>./configure</filename> script:"msgstr ""#. Tag: screen#: installation.docbook:678#, no-c-formatmsgid "<prompt>$</prompt> <userinput><command>make</command> <option>-f</option>Makefile.cvs</userinput>"msgstr ""#. Tag: para#: installation.docbook:680#, no-c-formatmsgid "If everything is OK you will see the following output on your screen:"msgstr ""#. Tag: screen#: installation.docbook:682#, no-c-formatmsgid ""      "<prompt>$</prompt> <userinput><command>make</command> <option>-f</option> Makefile.cvs</userinput>
\n"      "This Makefile is only for the CVS repository
\n"      "This will be deleted before making the distribution
\n"      "*** Creating acinclude.m4
\n"      "*** Creating list of subdirectories
\n"      "*** Creating configure.in
\n"      "*** Creating aclocal.m4
\n"      "*** Creating configure
\n"      "*** Creating config.h template
\n"      "*** Creating Makefile templates
\n"      "*** Postprocessing Makefile templates
\n"      "*** Creating date/time stamp
\n"      "*** Finished
\n"      "Don't forget to run ./configure
\n"      "If you haven't done so in a while, run ./configure --help
\n"      "<prompt>$</prompt>"msgstr ""#. Tag: para#: installation.docbook:700#, no-c-formatmsgid "You will need to have <application>autoconf 2.52, 2.53 or 2.54</application> and <application>automake 1.6</application> (or higher) to run the <command>make -f Makefile.cvs</command> command"msgstr ""#. Tag: para#: installation.docbook:708#, no-c-formatmsgid "If you encounter problems with this command click <link linkend=\"krusader_cvs\">here</link>. &krusader; provides two nightly builds (snapshots) one with a <filename>./configure</filename> script and one without."msgstr ""#. Tag: para#: installation.docbook:721#, no-c-formatmsgid "Your &Linux; distro &krusader; RPM or DEB package will normally install &krusader; in the <filename>KDEDIR/bin</filename> directory. According to the &fhs-url;, any user installed files go to the <filename>/usr/local</filename> directory. If you wish &krusader; to be installed in another directory, it can be determed with the prefix option. If you do not have root access, <filename>/home/YOUR_USERNAME/.kde</filename> is probably a good choice."msgstr ""#. Tag: screen#: installation.docbook:733#, no-c-formatmsgid ""      "foo
\n"      "
\n"      "Krusader Project:
\n"      "-----------------
\n"      "Source code location: .
\n"      "C Compiler:           gcc
\n"      "C Compiler flags:     -ansi -W -Wall -pedantic -Wchar-subscripts -Wshadow -Wpointer-arith
\n"      "-Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -O2
\n"      "-Wformat-security -Wmissing-format-attribute
\n"      "C++ Compiler:         g++
\n"      "prefix:               /usr/local
\n"      "kde_libraries:        /usr/include
\n"      "kde_includes:         /usr/lib
\n"      "kde_locale:           /usr/share/locale
\n"      "qt_libraries:         /usr/lib/qt3/lib
\n"      "qt_includes:          /usr/lib/qt3/include
\n"      "KDEDIR:               /usr
\n"      "QTDIR:                /usr/lib/qt3
\n"      "Install path:         /usr/local/bin
\n"      "krusader version:     1.80.0
\n"      "krusader binary:      /usr/local/bin/krusader     (after 'make install')
\n"      "Thank you for using Krusader
\n"      "
\n"      "Good - your configure finished. Start make now
\n"      "<prompt>bash$</prompt>"msgstr ""#. Tag: para#: installation.docbook:761#, no-c-formatmsgid "This is the output for &Mandrake;-&Linux; 10, other distributions may give a different output."msgstr ""#. Tag: para#: installation.docbook:765#, no-c-formatmsgid "At the end of the <command>./configure</command> script you will find a summary of the most important settings, &eg; where the &krusader; binary will be installed (after the 'make install' command). This part will also display a warning if the environment variables &kdeqtdir-lnk; are empty."msgstr ""#. Tag: para#: installation.docbook:775#, no-c-formatmsgid "Since &krusader;-1.70.0 <command>./configure</command> has two specific &krusader; options: <itemizedlist> <listitem> <para> <userinput> <command>./configure</command> <option>--without-konqueror</option> </userinput>: build &krusader; without support &konqueror;'s servicemenus, default=with. This means that &konqueror;'s right-click menu entries will not be available.</para> </listitem> <listitem> <para> <userinput> <command>./configure</command> <option>--without-javascript</option> </userinput>: build &krusader; without JavaScript support, default=with. This means that the &javascript-console-lnk; will not be available.</para> </listitem> <listitem> <para> <userinput> <command>./configure</command> <option>--without-acl</option> </userinput>: build &krusader; without ACL support default=with. Sometimes this option is needed if you get a ACL compile error when running <command>make</command>.</para> </listitem> </itemizedlist>In the past the support was always compiled in when the headers where found, now you have the choice."msgstr ""#. Tag: para#: installation.docbook:810#, no-c-formatmsgid "Use <userinput> <command>./configure</command> <option>--help</option> </userinput>to see more options or read the <filename>INSTALL</filename> file in the &krusader; sources."msgstr ""#. Tag: para#: installation.docbook:817#, no-c-formatmsgid ""      "If you used another --prefix= than <filename>$KDEDIR or /usr/local</filename>, it is recommended to do an extra check: <screen><prompt>$</prompt> <userinput><command>kde-config</command> <option>--path exe</option></userinput>
\n"      "/home/frank/.kde/bin/:/usr/bin/:/usr/local/bin/   
\n"      "<prompt>$</prompt></screen> If the &lt;prefix_dir/bin&gt; directory is not shown, you need to use e.g. <command>export KDEDIRS=/usr/local:/usr</command>. To make these settings permanent you can &eg; append this export command to your <filename>/etc/profile</filename> file. After that you need to restart &kde;."msgstr ""#. Tag: para#: installation.docbook:832#, no-c-formatmsgid "If <command>./configure</command> fails, take a look at &missing-libs-lnk;."msgstr ""#. Tag: para#: installation.docbook:840#, no-c-formatmsgid "Start the compilation process with the <command>make</command> command. <screen><prompt>$</prompt> <userinput><command>make</command></userinput></screen> This will take about 3 - 40 minutes depending on how fast your computer runs. If everything goes well, it will &eg; end with the following messages:"msgstr ""#. Tag: screen#: installation.docbook:846#, no-c-formatmsgid ""      "foo
\n"      "make[2]: Leaving directory `/home/source/krusader_kde3/tar'
\n"      "make[2]: Entering directory `/home/source/krusader_kde3'
\n"      "make[2]: Leaving directory `/home/source/krusader_kde3'
\n"      "make[1]: Leaving directory `/home/source/krusader_kde3'
\n"      "<prompt>bash$</prompt>"msgstr ""#. Tag: para#: installation.docbook:857#, no-c-formatmsgid "If <command>./configure</command> was successful and <command>make</command> failed for some reason, continue to read this page. If you can not find a solution to your problem, feel free to post a help request at our &forum-lnk;."msgstr ""#. Tag: para#: installation.docbook:867#, no-c-formatmsgid "If everything is correct, you can now install &krusader;. <screen><prompt>$</prompt> <userinput><command>su -c 'make</command> <option>install'</option></userinput></screen> You will be asked to enter your root password."msgstr ""#. Tag: listitem#: installation.docbook:877#, no-c-formatmsgid "<listitem>&krusaderui-rc-text;</listitem>"msgstr ""#. Tag: para#: installation.docbook:881#, no-c-formatmsgid "Now you can <link linkend=\"starting-krusader\"> start</link> &krusader;."msgstr ""#. Tag: para#: installation.docbook:888#, no-c-formatmsgid "Optional step: Cleaning up to save disk space. Note: All compiled files created with the <command>make</command>command will be deleted."msgstr ""#. Tag: screen#: installation.docbook:891#, no-c-formatmsgid "<prompt>$</prompt> <userinput><command>make</command> <option>clean</option></userinput>"msgstr ""#. Tag: para#: installation.docbook:899#, no-c-formatmsgid "If you ever want to uninstall &krusader;, use <screen><prompt>$</prompt> <userinput><command>su -c 'make</command> <option>uninstall'</option></userinput></screen> You will be asked to enter your root password."msgstr ""#. Tag: para#: installation.docbook:908#, no-c-formatmsgid "If you followed the installation procedure and still encountered problems installing &krusader;, refer to &faq-lnk;. If the problem persists, use the &help-request-lnk; to ask for help."msgstr ""#. Tag: title#: installation.docbook:915#, no-c-formatmsgid "Installing on &MacOS;-X"msgstr ""#. Tag: primary#: installation.docbook:917#, no-c-formatmsgid "&MacOS;-X port"msgstr ""#. Tag: para#: installation.docbook:920#, no-c-formatmsgid "Since June 2006 &krusader; is added into the <ulink url=\"http://pdb.finkproject.org/pdb/package.php/krusader\">&krusader; finkproject.org repository</ulink> Please check this url for the latest information about the &MacOS;-X port, please read the &fink-url; documentation for more information, all information below could be outdated, though they should still work :) From now on the port is maintained by <ulink url=\"http://hritcu.wordpress.com/about/\">Catalin Hritcu</ulink>."msgstr ""

⌨️ 快捷键说明

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