On 1/14/06, Ian Lynagh <igloo@earth.li> wrote:
On Sat, Jan 14, 2006 at 11:42:11AM -0600, T.C. Andrew wrote:
>
> After I completed the above procedure to get the source, and then
> $autoreconf
> $./configure
> $make
>
> the build always stuck at:
> ==fptools== make all -wr;
> in /login/haskell/public/ghc/ghc/compiler
> ------------------------------------------------------------------------
> /bin/sh: line 0: test: 2.20051206: integer expression expected
> /bin/sh: line 0: test: 2.20051206: integer expression expected
> /bin/sh: line 0: test: 2.20051206: integer expression expected
>
> Any ideas? I am using Debian (testing).
"stuck" as in make uses lots of CPU with no visible progress?
If so, it sounds like
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346248
Thanks
Ian
_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Yes, at that point make is comsuming 99% CPU, but it doesn't seem to be doing anything. So this is a problem with Make on Debian-Test (?).
The "> /bin/sh: line 0: test: 2.20051206
: integer expression expected" appears to comes from this line in the make file:
bootstrapped = $(shell if (test $(GhcCanonVersion) -eq $(ProjectVersionInt) -a $(GhcPatchLevel) -eq $(ProjectPatchLevel)); then echo YES; else echo NO; fi)
Should it be changed to:
bootstrapped = $(shell if (test $(GhcCanonVersion) -eq
$(ProjectVersionInt) -a "$(GhcPatchLevel)" == "$(ProjectPatchLevel)");
then echo YES; else echo NO; fi)
quoting and comparing GhcPatchLevel as string.
- Quan