Installing cdr
==============

Installation is pretty simply. You should be able to just run the included
"install" script as root. It will ask some questions and then compile all
of the support tools and place them in the proper location.

Before installing cdr, make sure you have Perl 5 setup correctly and
that you have some sort of curses compatible library installed (I
use ncurses....this comes with most Linux distributions).

-------------------------------
(1) Using the install.pl script
-------------------------------

This is the preferred way to install cdr. However, it may fail in certain
cases. But, you should give it a shot anyway.

$ tar xvzf cdr-<version>.tar.gz
$ cd cdr-<version>
$ su
# perl ./install.pl


------------------
(2) The Manual Way
------------------

If the install script fails, you'll have to install the stuff by hand.
This isn't all that hard, but requires knowing how to build things from
source.

(a) Untar the source.

(b) Pick a prefix to install to. I'll use /usr/local in this example.

(c) Make the following directories:

	$PREFIX/lib/cdr
	$PREFIX/bin

	Example:

	/usr/local/lib/cdr
	/usr/local/bin

(d) Build everything in the tools/ subdirectory of the cdr source
    distribution. Copy the following files to $PREFIX/lib/cdr:

	cdparanoia, dialog, id3ed, lame

    Make sure they are all chmod 0755 and owned by root.root or
    root.bin

(e) Copy cdr.pl to $PREFIX/bin/cdr and chmod 0755 it.

(f) Edit $PREFIX/bin/cdr and change the first line to match your
    Perl installation and change the

	$prefix = CHANGETHIS

    line to:

	$prefix = $PREFIX;

(g) You should now be able to run $PREFIX/bin/cdr




After installation, you should be able to just run "cdr".

-Mike Hardy
 mike@mikehardy.net
