Check the Makefile for what you can add to "DEFINES".
For example, you can give it a default device by adding a line like
this:

DEFINES += -DDEFAULT_DEVICE=\"/dev/hdd\"


Change PREFIX if you want it installed in other than /usr/local.


If your perl is not in /usr/bin/perl you will have to manually
edit the first line of tkchanger.


Then do a "make".



cdchanger must run as root in order for it to be able to umount and/or
mount the device.  (It can switch slots without being setuid root).
Running "make install" as root which will install it setuid root.

The -m option requires a mount path.   You can supply an emty stirng
here ( cdchanger -m "" /dev/hdd ) if there is a suitable entry in
/etc/fstab,  such as this:

/dev/hdd		/cdrom2	iso9660	    ro,user,noauto	0	0

Doing this also means that with tkchanger you can just press the
"mount" buton without having to specifiy the mount point.  (Normally
you only have to specify the mount point once, since cdchanger will
automatically remount a mounted device when changing slots.)
