Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > bec13a86170f87452ae460ae18580342 > files > 41

kdar-1.3.1-1mdk.i586.rpm

Build instructions for KDar version 1.3.1

You'll need the following libraries:

libdar: version 2.x (from dar-2.1.0 or greater)
NOTE that's LIBDAR API version 2.0, not dar-2.0.x!
dar-2.0.x is based on libdar API version 1.

qt: version 3.3.x (other versions may or may not work)

kde: version 3.3.x (other versions may or may not work)

bzip2: version 1.0.2 (other versions may or may not work)

libz: version 1.1.4 (other versions may or may not work)

You'll also need gcc 3.x or greater. I haven't been able to get
kdar to compile on 2.93, but I haven't tried very hard either.
gcc 2.95.x may or may not work.

A recent version of automake is required. I use 1.7.3.

NOTE for Redhat 9 users:
Apparently you need these rpms to compile KDar:
> bzip2-libs-1.0.2-8.i386.rpm
> compat-libstdc++-7.3-2.96.118.i386.rpm
> libstdc++-3.2.2-5.i386.rpm
> libstdc++5.0-3.2.2-28968cl.i386.rpm
> libstdc++5.0-devel-3.2.2-28968cl.i386.rpm
> libstdc++-devel-3.2.2-5.i386.rpm
> libstdc++-devel-3.3.2-1.i386.rpm
and also dar-2.1.x RPM, or compile dar from source.

NOTE for Fedora Core 1 with KDE 3.2:
> bzip2-devel

Step 1:

Unpack the kdar source archive:
tar zxvf kdar-1.3.1.tar.gz
and cd into that directory.

Step 2:

Configure the build process

Default prefix is $KDEDIR. Make sure your KDEDIR is set.
Use --prefix=$HOME/.kde to install in 
your local kde directory.
Decide which libdar to use. You may have only one installed, e.g.
libdar64.so, and in that case specify --enable-mode=64 in configure.
Here are the various configurations:
  o libdar.so (default) : ./configure
  o libdar32.so : ./configure --enable-mode=32
  o libdar64.so : ./configure --enable-mode=64

I installed libdar64 on my system because it fulfills my needs, 
and is much faster and uses less memory than libdar.

You might want to pass --enable-largefile if you have largefile support
compiled into libdar.

You can check the compile-time options of libdar with
"dar -V".

Step 4:

Build the binary:

make

NOTE: If you get a "spacer" undeclared compilation 
error, just run

make -f admin/Makefile.common
make clean
make

from the top-level source directory.
You may find that you need to add "cvs" to the 
end of the above command:
make -f admin/Makefile.common cvs

If uic complains that the *.ui files are based on a newer
version of designer, then edit the top line of each .ui file
and change the "version="3.2" to "version=3.1", or whatever
version your designer is. Better yet, upgrade to the latest QT and
KDE!

Step 5:

Install the binary, and config files and icons, etc. :

make install

Then you're set to go. Run kdar from the command line as "kdar", or
from the KMenu on your desktop (under Utilities).

NOTE:
If the build process fails, try 
preparing the configure script for your system:
make -f admin/Makefile.common cvs

JKB041204