<br><br><div><span class="gmail_quote">On 1/14/06, <b class="gmail_sendername">Ian Lynagh</b> &lt;<a href="mailto:igloo@earth.li">igloo@earth.li</a>&gt; 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>&gt;<br>&gt; After I completed the above procedure to get the source, and then<br>&gt; $autoreconf<br>&gt; $./configure<br>&gt; $make<br>&gt;<br>&gt; the build always stuck at:
<br>&gt; ==fptools== make all -wr;<br>&gt;&nbsp;&nbsp;in /login/haskell/public/ghc/ghc/compiler<br>&gt; ------------------------------------------------------------------------<br>&gt; /bin/sh: line 0: test: 2.20051206: integer expression expected
<br>&gt; /bin/sh: line 0: test: 2.20051206: integer expression expected<br>&gt; /bin/sh: line 0: test: 2.20051206: integer expression expected<br>&gt;<br>&gt; Any ideas?&nbsp;&nbsp;I am using Debian (testing).<br><br>&quot;stuck&quot; 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.&nbsp; So this is a problem with Make on Debian-Test (?).<br><br>The &quot;&gt; /bin/sh: line 0: test: 2.20051206
: integer expression expected&quot; 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 &quot;$(GhcPatchLevel)&quot; == &quot;$(ProjectPatchLevel)&quot;);
then echo YES; else echo NO; fi)<br><br>quoting and comparing GhcPatchLevel as string.<br><br>- Quan