[6587] in SIPB bug reports
linux 7.7.3.0: cda
daemon@ATHENA.MIT.EDU (Mike Whitson)
Fri Nov 21 07:12:31 1997
From: Mike Whitson <mwhitson@MIT.EDU>
To: bug-sipb@MIT.EDU
Date: Fri, 21 Nov 1997 07:12:24 EST
System name: dzur
Type and version: i486 7.7.3.0
Display type:
What were you trying to do?
Play an audio CD using 'cda'.
What's wrong:
cda appears to be misconfigured. It doesn't appear to have a
default $XMCD_LIBDIR defined. Furthermore, it doesn't appear to have
a sane default for the CD-ROM device file.
(null) dzur ~% cda on
CD audio Fatal Error: XMCD_LIBDIR environment not defined.
Goodbye!
(null) dzur ~% setenv XMCD_LIBDIR /mit/sipb/share/xmcd
(null) dzur ~% cda on
CD audio Fatal Error: Cannot stat (null).
Goodbye!
(null) dzur ~% cda -dev /dev/cdrom on
Initializing...
CD audio daemon pid=9627 dev=/dev/cdrom started.
xmcd does not appear to exhibit the same misconfigurations.
From a cursory examination with 'strings', it would appear that xmcd
gets the X resources XMcd.libdir and XMcd.confdir from
/mit/sipb/share/X11/app-defaults/XMcd, which is compiled into xmcd.
However, cda appears to get no such configuration.
What should have happened:
cda should have started without requiring me to set
$XMCD_LIBDIR and specify /dev/cdrom on the command line.
Please describe any relevant documentation references:
Comments in /mit/sipb/share/xmcd/config/common.cfg