On May 25, 10:20 pm, bertd <[EMAIL PROTECTED]> wrote:

Hi Bert,

> I have a Core2-quad processor.
> Ubuntu 8.04, 64-bit.
>
> Fails to build GMP.  All before this seems to work ok.

this is a POSIX non-compliance problem in spkg-install. We are
tracking it at #3301 and a fix should be up there in an hour or two.
As an instant fix replace "#!/bin/sh" by "#!/usr/bin/env bash"

What is /bin/sh link to on your box? Usually on Ubuntu it is a link to
bash, so unless something has changed or you did something to that
link it should "just work".

> First message that looks suspect in "install.log" is:
>
> Patching gmp-h.in (fixes OSX 10.5 issues and gcc 4.3 problems)
> Do we have a Core2 CPU?... No
> [: 220: ==: unexpected operator
>
> Obviously it mis-detects the presence(absence) of Core2 CPU.
> What follows looks like a syntax error in script.
>
> Sometime afterward this error appears and the make stops.

<SNIP>

>
> Thanks much,
> Bert douglas

Cheers,

Michael
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to