Building & running NoFib

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Building & running NoFib

Amos Robinson
Hi all,

I've just tried running 'make' in nofib and it's not finding
../inplace/bin/ghc-stage2 for some reason. So it tries to execute
"/BLAH/ghc/ghc-head/" as if it were ghc (but it's a directory).

The error message is:
> /bin/sh: /Users/amos/ghc/ghc-head/: is a directory
> /bin/sh: line 0: [: -gt: unary operator expected
> /bin/sh: line 0: [: -ge: unary operator expected
> ...
> /Users/amos/ghc/ghc-head/ -H64m -O0 -fasm -O2 -Rghc-timing -package array
-H32m -hisuf hi -c Main.hs -o Main.omake[2]: /Users/amos/ghc/ghc-head/:
Permission denied


I tried on another box - Linux - and had much the same issue. Has anyone
seen this before? Any clues what might be wrong? Nofib was building fine on
the Linux box a few weeks ago, but I think it stopped working after a
sync-all.


For now though, I'll just try building with
> WithNofibHc=/Users/amos/ghc/ghc-head/inplace/bin/ghc-stage2 make
which seems to work.


Thanks,
Amos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130510/54ac51bd/attachment.htm>

Reply | Threaded
Open this post in threaded view
|

Building & running NoFib

Nicolas Frisby
I saw this same thing the other day. I recall that some make file variable
like GHC_TOP was ending up empty for some reason. I used the same
workaround as you. I'm on OS X.

I was using a separate build tree and the wrinkle I suspected was that I
cloned nofib and lndir'd it after having already built. HTH
On May 9, 2013 5:37 PM, "Amos Robinson" <amos.robinson at gmail.com> wrote:

> Hi all,
>
> I've just tried running 'make' in nofib and it's not finding
> ../inplace/bin/ghc-stage2 for some reason. So it tries to execute
> "/BLAH/ghc/ghc-head/" as if it were ghc (but it's a directory).
>
> The error message is:
> > /bin/sh: /Users/amos/ghc/ghc-head/: is a directory
> > /bin/sh: line 0: [: -gt: unary operator expected
> > /bin/sh: line 0: [: -ge: unary operator expected
> > ...
> > /Users/amos/ghc/ghc-head/ -H64m -O0 -fasm -O2 -Rghc-timing -package
> array -H32m -hisuf hi -c Main.hs -o Main.omake[2]:
> /Users/amos/ghc/ghc-head/: Permission denied
>
>
> I tried on another box - Linux - and had much the same issue. Has anyone
> seen this before? Any clues what might be wrong? Nofib was building fine on
> the Linux box a few weeks ago, but I think it stopped working after a
> sync-all.
>
>
> For now though, I'll just try building with
> > WithNofibHc=/Users/amos/ghc/ghc-head/inplace/bin/ghc-stage2 make
> which seems to work.
>
>
> Thanks,
> Amos
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://www.haskell.org/mailman/listinfo/ghc-devs
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/ghc-devs/attachments/20130509/8ba9e050/attachment-0001.htm>