Subject: Re: getting abcde to work
To: None <netbsd-help@netbsd.org>
From: Sam Carleton <sam@linux-info.net>
List: netbsd-help
Date: 12/28/2002 14:05:45
On Sat, Dec 28, 2002 at 12:12:42PM -0600, Frederick Bruckman wrote:
> 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").

Well, 

I gave it a try and 'which cdparanoia' works where as 'command
-V cdparanoia' doesnt' work!  But I am getting the same
problem.

Sam