<br><br><div><span class="gmail_quote">On 1/14/06, <b class="gmail_sendername">Ian Lynagh</b> <<a href="mailto:igloo@earth.li">igloo@earth.li</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, Jan 14, 2006 at 11:42:11AM -0600, T.C. Andrew wrote:<br>><br>> After I completed the above procedure to get the source, and then<br>> $autoreconf<br>> $./configure<br>> $make<br>><br>> the build always stuck at:
<br>> ==fptools== make all -wr;<br>> in /login/haskell/public/ghc/ghc/compiler<br>> ------------------------------------------------------------------------<br>> /bin/sh: line 0: test: 2.20051206: integer expression expected
<br>> /bin/sh: line 0: test: 2.20051206: integer expression expected<br>> /bin/sh: line 0: test: 2.20051206: integer expression expected<br>><br>> Any ideas? I am using Debian (testing).<br><br>"stuck" as in make uses lots of CPU with no visible progress?
<br><br>If so, it sounds like<br><a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346248">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=346248</a><br><br><br>Thanks<br>Ian<br><br>_______________________________________________
<br>Glasgow-haskell-users mailing list<br><a href="mailto:Glasgow-haskell-users@haskell.org">Glasgow-haskell-users@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
</a><br></blockquote></div><br>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 (?).<br><br>The "> /bin/sh: line 0: test: 2.20051206
: integer expression expected" appears to comes from this line in the make file:<br><br>bootstrapped = $(shell if (test $(GhcCanonVersion) -eq $(ProjectVersionInt) -a $(GhcPatchLevel) -eq $(ProjectPatchLevel)); then echo YES; else echo NO; fi)
<br><br>Should it be changed to:<br><br>bootstrapped = $(shell if (test $(GhcCanonVersion) -eq
$(ProjectVersionInt) -a "$(GhcPatchLevel)" == "$(ProjectPatchLevel)");
then echo YES; else echo NO; fi)<br><br>quoting and comparing GhcPatchLevel as string.<br><br>- Quan