Prev Up (Under construction)

cdrtools

Collection of CD/DVD reader/writer software, cdda2wav,cdrecord,mkisofs,readcd et al.
cdda2wav came separately until V1.01b?
cdrecord came separately until V1.09
mkisofs came separately until V1.13

Compilation

Follow instructions in BUILD. Preferably use Gnu make. Schily is not smart enough to cope with vendor's make.

V1.xx

General procedure:
make clean
make CCOM=cc                             # compile, with specified C-compiler, otherwise gcc is taken
make INS_BASE=/tmp/cdrtools-1.9  install # copy stuff into installation directory

AIX 4.1,4.2

Had to modify incs/rs6000-aix-cc/xconfig.h:
#define PROTOTYPES 1

#define SIZEOF_CHAR 1
#define SIZEOF_SHORT_INT 2
#define SIZEOF_INT 4
#define SIZEOF_LONG_INT 4
#define SIZEOF_LONG_LONG 8
#define SIZEOF_CHAR_P 4
#define SIZEOF_UNSIGNED_CHAR 1
#define SIZEOF_UNSIGNED_SHORT_INT 2
#define SIZEOF_UNSIGNED_INT 4
#define SIZEOF_UNSIGNED_LONG_INT 4
#define SIZEOF_UNSIGNED_LONG_LONG 8
#define SIZEOF_UNSIGNED_CHAR_P 4

V2.0x

make clean
make CCOM=cc                             # compile, with specified C-compiler, otherwise gcc is taken
make INS_BASE=/tmp/cdrtools-2.0x install # copy stuff into installation directory

AIX 4.2, 5.2, 5.3

There seem to be some flaws in the makefiles.

HP-UX

Notes on V2.01 on HP-UX 11.00

seteuid does not exist on HP-UX 11.00 Adapt incs/9000-785-hp-ux-gcc/xconfig.h:
#undef HAVE_SETEUID  		/* seteuid() is present in libc */
Adapt librscg/scsi-remote.c:
#  HAVE_SETEUID		    
		    seteuid(pw->pw_uid) == -1) {
#else		    
		    setuid(pw->pw_uid) == -1) {
#endif		    
prior to compilation.

Notes on V2.01.01 on HP-UX 11.00

make fails with
make[2]: *** No rule to make target /usr/include/machine/sys/syscall.h, needed by OBJ/9000-785-hp-ux-cc/align_test.o.  Stop.

V3.0x

In principle:
make clean
make CCOM=cc                             # compile, with specified C-compiler, otherwise gcc is taken
make INS_BASE=/tmp/cdrtools-3.0x install # copy stuff into installation directory
There seem to be several flaws in the makefiles/build procedure, however, which must be fixed manually in advance.

AIX 4.2, 5.2



Installation/Configuration


Usage

Examples:
cdrecord dev=1,0 file.iso  # transfers specified file to CD recorder @ /dev/cd1 (AIX)
More on Burning a CD or DVD.

cdrecord usually requires root privileges. One might use sudo to provide access for non-privileged users:

visudo -f /etc/sudoers
and add an entry such as:
user node=NOPASSWD: /path/cdrecord

Last updated: Tue Feb 26 17:20:15 CET 2013 , M.Kraemer