traverso-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Traverso-devel] Relaytooling Audio Libs


From: Taj Morton
Subject: Re: [Traverso-devel] Relaytooling Audio Libs
Date: Wed, 15 Aug 2007 18:23:58 -0700

On 8/15/07, David <address@hidden> wrote:
> But, I think I know why it's failing now!
>
> This is soooo stupid.
>
> % which foobar
> no foobar in /shared/apps/bin /bin /sbin /usr/bin /usr/sbin
> % echo $?
> 0
Wow...just wow. Good catch!

>     system(test -x `which relaytool` 2> /dev/null > /dev/null) ...
Unfortunately this doesn't work on my system (Slackware 12):
$ test -x `which relaytool` 2> /dev/null > /dev/null
which: no relaytool in
(/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/home/taj/.local/bin)
$ echo $?
0

I think there's 2 problems:
* `which relaytool` 2> dev/null still prints the error if it can't
find relaytool
* `which relaytool 2> /dev/null` shuts it up, but test -x returns 0 if
it doesn't get any args

Any ideas? I'm trying to find another workaround but haven't yet.
> What do you guys think?  Should we require some gnu tools to build
> traverso on osx or should we work around it by using the test -x
> `which ...` workaround?
I'd say a workaround is fine (if we can make it work :-)).

- Taj

-- 
Taj
http://www.wildgardenseed.com/Taj/blog

Need a GMail invite? Email me.
Peace cannot be kept by force; it
can only be achieved by understanding.
                -- A. Einstein




reply via email to

[Prev in Thread] Current Thread [Next in Thread]