Subject: Re: getting abcde to work
To: Sam Carleton <sam@linux-info.net>
From: Frederick Bruckman <fredb@immanent.net>
List: netbsd-help
Date: 12/28/2002 12:12:42
On Sat, 28 Dec 2002, Sam Carleton wrote:

> I don't fully understand how to run abcde.  It looks like
> it does not need any command line arguments.

That works for me (but the it tries to rip the whole CD and encode
it as "OGG" -- crazy).

> When I do run it, I get this:
>
> # abcde
> if: Malformed file inquiry.
> abcde error: cdparanoia is not in your path.
>
> Now granted that the user I am logged in as is using tcsh, not
> bash.  I tried adding this to the /usr/pkg/etc/abcde.conf:
>
> CDPARANOIA="/usr/pkg/bin/cdparanoia"
>
> But then it simply replyed with
>
> abcde error: /usr/pkg/bin/cdparanoia is not in your path.

The script itself has the "#!/bin/sh", so it shouldn't matter what
shell you invoke it with. HOWEVER, inspection reveals that it calls
the csh script "which", instead of the POSIX built-in "command -V". I
bet your installation installs another "which", or else does something
weird with that. What do you get when you type

   which which
   which cdparanoia
   which /usr/pkg/bin/cdparanoia

? In any case, trying changing the "which" where it says "which $X" to
"command -V $X" (both places in "abcde").

Regards,

Frederick