Hi there,

we've been running into similar problems here on a Redhat 7.2
box using the ghc-5.04.1 RPM (which was built on RedHat 7.3).
The salient line from your strace output is the following one:

[pid  1514] execve("n/sh", ["/bin/sh", "-c", "gcc Adjustor.c
-o /tmp/ghc1513.s"...], [/* 36 vars */])
  = -1 ENOENT (No such file or directory)

execl() (called by System.system) is somehow causing execve()
to be invoked with a stripped off command arg.

The cause of this suspected outbreak of Linux versionitis is as yet
unknown (gcc? glibc?..), but you may want to try installing the
.tar.bz2 instead (which was built on a RH 7.2 box.) That worked
around the problem here, at least.

hth
--sigbjorn

----- Original Message -----
From: "Saswat Anand" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, September 23, 2002 23:44
Subject: Re: Newbie building GHC


> I ran strace with -ff option. Attached is the trace file. I can see many
"No
> such file or directory" in the trace. Can you see the problem?
>
> Thanks
> Saswat
>
>
>

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to