You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
kdirstat/build-howto.html

192 lines
3.5 KiB

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>Building KDirStat for KDE 3.x</title>
</head>
<body bgcolor=#F0F0F0>
<table width=100%>
<tr>
<td width=50% align=left>
Last modified: 23 Nov 2004
</td>
<td width=50% align=right>
Contact: <a href="mailto:sh@suse.de?subject=KDirStat build-howto">Stefan Hundhammer</a>
</td>
</tr>
</table>
<h1 align=center>Building KDirStat for KDE 3.x</h1>
<table width=100% bgcolor=#B0B0F0>
<tr><td><h2>Note:</h2></td></tr>
<tr><td>
If you are using the
latest
<a href="http://www.suse.com/">SuSE Linux</a>
, you may not have to build it at all.
There usually is an RPM package you can use at the
<a href="http://kdirstat.sourceforge.net/download/">download area</a>.
See also the <a href="http://kdirstat.sourceforge.net/">KDirStat home page</a>.
</td></tr>
</table>
<ul>
<li>
Get the latest sources - either the
<a href="http://kdirstat.sourceforge.net/download/">tarball from the download area</a>
or via
<a href="http://sourceforge.net/cvs/?group_id=30290">anonymous CVS from SourceForge.</a>
<p><br></p>
</li>
<li>
Make sure you have a development system up and running.
<p>
You'll need at least:
<ul>
<li>A C++ compiler
<li>Header files for the system libs
<li>X11 development environment (libs and header files)
<li>Qt 3.0 (or later) development environment
<li>KDE 3.x development environment
</ul>
<p>
- maybe more. If you are unsure and you are running SuSE Linux, it might be
a good idea to install the <em>development system</em> selection.
</p>
<p>
Please understand that I cannot and will not fix everybody's broken development
systems any more - this had taken me quite some time with KDirStat 0.8x. Please
make sure you can compile simple KDE programs like <em>kless</em> or
<em>kexample</em> before contacting me about build problems.
</p>
</li>
<br>
<li>Unpack the sources:
<br>
<pre>
tar xjvf kdirstat-2.4.2.tar.bz2
</pre>
<p>
(or whatever version you downloaded)
</p>
<p><br></p>
</li>
<li>
Go to this directory:
<br>
<pre>
cd kdirstat-2.4.2
</pre>
</li>
<li>
Make sure I didn't accidentially include a <em>config.cache</em> file in the
tarball - remove it to make sure. This is a neverending cause of trouble.
<br>
<pre>
rm -f config.cache
</pre>
</li>
<li>
Let the <em>configure</em> script figure out where everything required is on
your system.
<p>
Watch out for error messages and <b>fix them</b> before reporting
errors!
</p>
<p>On SuSE Linux systems, KDE 3.x is installed to <em>/opt/trinity</em> which is a
good idea if you want to keep some KDE 1.x/2.x programs around. So use that
<em>/opt/trinity</em> prefix for KDirStat, too - otherwise it will be installed to
<em>/opt/kde</em> and clutter up a working KDE 1.x/2.x environment.
<br>
<pre>
./configure --prefix=/opt/trinity
</pre>
<p>
If you don't care about that or if you set up KDE 3.x in <em>/opt/kde</em>
anyway, simply type
</p>
<pre>
./configure
</pre>
</li>
<li>
Compile everything:
<br>
<pre>
make
</pre>
<p>
Again, watch out for error messages.
</p>
<p>
<br>
</p>
</li>
<li>
If everything worked out allright, become <em>root</em> and install the program
and everything it needs:
<br>
<pre>
su
make install
</pre>
<p>
<b>Don't do this if the previous step reported errors!</b>
</p>
</li>
</ul>
<p>
That's it.
</p>
</body>
</html>
<!-- --- Emacs Customization --- -->
<!-- -->
<!-- Local Variables: -->
<!-- time-stamp-format: "%02d %3b %04y" -->
<!-- time-stamp-start: "Last modified:[ \t]+" -->
<!-- time-stamp-end: "$" -->
<!-- End: -->