[haiku-gsoc] Re: Help with Jam

  • From: Vivek Roy <vivekroyandroid@xxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Tue, 16 May 2017 09:44:33 +0000

Hi Fredrik,
I am using zsh but /bin/sh does point to dash:
lrwxrwxrwx 1 root root 4 Apr 25 03:17 /bin/sh -> dash

Thanks

On Tue, May 16, 2017 at 3:01 PM Fredrik Holmqvist <
fredrik.holmqvist@xxxxxxxxx> wrote:

tis 16 maj 2017 kl 11:22 skrev Vivek Roy <vivekroyandroid@xxxxxxxxx>:

I compiled Haiku's fork of jam on my host OS (Linux).

$ jam -v
Jam 2.5-haiku-20111222. OS=LINUX. Copyright 1993-2002 Christopher Seiwald.

But, when I jam something, for example:
$ jam -qj4 drm
I get unusual errors (errors which I don't see when I run the same
command from inside Haiku) like:
/bin/sh: 3: -E: not found
/bin/sh: 2: -c: not found
etc.

Am I missing something here?

No, you are not doing anything wrong, but it seems we expect a certain
shell (bash/dash probably) to be used for /bin/sh
The shell that maps to /bin/sh on your computer doesn't support the flags
-E and -c it seems.

What shell are you using now?

Is that enough to point you in the right direction?

/Fredrik Holmqvist, TQH

Other related posts: