KDirStat – a graphical disk usage utility
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

build-howto.html 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
  2. <html>
  3. <head>
  4. <title>Building KDirStat for KDE 3.x</title>
  5. </head>
  6. <body bgcolor=#F0F0F0>
  7. <table width=100%>
  8. <tr>
  9. <td width=50% align=left>
  10. Last modified: 23 Nov 2004
  11. </td>
  12. <td width=50% align=right>
  13. Contact: <a href="mailto:sh@suse.de?subject=KDirStat build-howto">Stefan Hundhammer</a>
  14. </td>
  15. </tr>
  16. </table>
  17. <h1 align=center>Building KDirStat for KDE 3.x</h1>
  18. <table width=100% bgcolor=#B0B0F0>
  19. <tr><td><h2>Note:</h2></td></tr>
  20. <tr><td>
  21. If you are using the
  22. latest
  23. <a href="http://www.suse.com/">SuSE Linux</a>
  24. , you may not have to build it at all.
  25. There usually is an RPM package you can use at the
  26. <a href="http://kdirstat.sourceforge.net/download/">download area</a>.
  27. See also the <a href="http://kdirstat.sourceforge.net/">KDirStat home page</a>.
  28. </td></tr>
  29. </table>
  30. <ul>
  31. <li>
  32. Get the latest sources - either the
  33. <a href="http://kdirstat.sourceforge.net/download/">tarball from the download area</a>
  34. or via
  35. <a href="http://sourceforge.net/cvs/?group_id=30290">anonymous CVS from SourceForge.</a>
  36. <p><br></p>
  37. </li>
  38. <li>
  39. Make sure you have a development system up and running.
  40. <p>
  41. You'll need at least:
  42. <ul>
  43. <li>A C++ compiler
  44. <li>Header files for the system libs
  45. <li>X11 development environment (libs and header files)
  46. <li>Qt 3.0 (or later) development environment
  47. <li>KDE 3.x development environment
  48. </ul>
  49. <p>
  50. - maybe more. If you are unsure and you are running SuSE Linux, it might be
  51. a good idea to install the <em>development system</em> selection.
  52. </p>
  53. <p>
  54. Please understand that I cannot and will not fix everybody's broken development
  55. systems any more - this had taken me quite some time with KDirStat 0.8x. Please
  56. make sure you can compile simple KDE programs like <em>kless</em> or
  57. <em>kexample</em> before contacting me about build problems.
  58. </p>
  59. </li>
  60. <br>
  61. <li>Unpack the sources:
  62. <br>
  63. <pre>
  64. tar xjvf kdirstat-2.4.2.tar.bz2
  65. </pre>
  66. <p>
  67. (or whatever version you downloaded)
  68. </p>
  69. <p><br></p>
  70. </li>
  71. <li>
  72. Go to this directory:
  73. <br>
  74. <pre>
  75. cd kdirstat-2.4.2
  76. </pre>
  77. </li>
  78. <li>
  79. Make sure I didn't accidentially include a <em>config.cache</em> file in the
  80. tarball - remove it to make sure. This is a neverending cause of trouble.
  81. <br>
  82. <pre>
  83. rm -f config.cache
  84. </pre>
  85. </li>
  86. <li>
  87. Let the <em>configure</em> script figure out where everything required is on
  88. your system.
  89. <p>
  90. Watch out for error messages and <b>fix them</b> before reporting
  91. errors!
  92. </p>
  93. <p>On SuSE Linux systems, KDE 3.x is installed to <em>/opt/trinity</em> which is a
  94. good idea if you want to keep some KDE 1.x/2.x programs around. So use that
  95. <em>/opt/trinity</em> prefix for KDirStat, too - otherwise it will be installed to
  96. <em>/opt/kde</em> and clutter up a working KDE 1.x/2.x environment.
  97. <br>
  98. <pre>
  99. ./configure --prefix=/opt/trinity
  100. </pre>
  101. <p>
  102. If you don't care about that or if you set up KDE 3.x in <em>/opt/kde</em>
  103. anyway, simply type
  104. </p>
  105. <pre>
  106. ./configure
  107. </pre>
  108. </li>
  109. <li>
  110. Compile everything:
  111. <br>
  112. <pre>
  113. make
  114. </pre>
  115. <p>
  116. Again, watch out for error messages.
  117. </p>
  118. <p>
  119. <br>
  120. </p>
  121. </li>
  122. <li>
  123. If everything worked out allright, become <em>root</em> and install the program
  124. and everything it needs:
  125. <br>
  126. <pre>
  127. su
  128. make install
  129. </pre>
  130. <p>
  131. <b>Don't do this if the previous step reported errors!</b>
  132. </p>
  133. </li>
  134. </ul>
  135. <p>
  136. That's it.
  137. </p>
  138. </body>
  139. </html>
  140. <!-- --- Emacs Customization --- -->
  141. <!-- -->
  142. <!-- Local Variables: -->
  143. <!-- time-stamp-format: "%02d %3b %04y" -->
  144. <!-- time-stamp-start: "Last modified:[ \t]+" -->
  145. <!-- time-stamp-end: "$" -->
  146. <!-- End: -->