Re: [dev] Re: wmii; make with /bin/bash not with /bin/sh

From: David Schmid <info_AT_david-schmid.de>
Date: Thu, 20 May 2010 22:19:20 +0200

On Thu, 20 May 2010 21:46:01 +0200
David Engster <deng_AT_randomsample.de> wrote:

> David Schmid writes:
> > David Engster <deng_AT_randomsample.de> wrote:
> >
> >> GNU make will never set the shell from the environment.
> >>
> >> I've built wmii on Solaris without problems using
> >>
> >> gmake SHELL=/bin/bash
> >
> > seeme like using "make SHELL=/bin/bash" instead of "SHELL=/bin/bash
> > make" _does_ make a difference. Now this is something new for me.
>
> You want to set the SHELL macro, not the environment variable SHELL.
> The latter will always be ignored by GNU Make, even when using "-e".
>
> > Now it says:
> >
> > MAKE all libbio/
> > ../util/compile: syntax error at line 13: `(' unexpected
> > make[1]: *** [bbuffered.o] Error 2
> > make: *** [dall] Error 2
>
> Sorry, forgot to mention that you still have to set /bin/bash in those
> scripts in util.

Now that looks awesome. The only thing that does not work is
cmd/wihack.sh, even when set to /bin/bash.

FILTER cmd/wihack.sh
wihack.sh: bad substitution
make[1]: *** [wihack.out] Error 1
make: *** [dall] Error 2

But I think I will figure out the rest.

Thanks guys.

-- 
regards,
David
Received on Thu May 20 2010 - 20:19:20 UTC

This archive was generated by hypermail 2.2.0 : Thu May 20 2010 - 20:24:02 UTC