Hi,

Indeed, I was using gcc version 4.0.0 20041026 (Apple Computer, Inc.
build 4061) since I overlooked the warning in 
http://www.sagemath.org/src/README.txt

Perhaps it would make sense to give a warning when executing make?

I will upgrade to a new version of gcc (in the meantime, I am using
the binary).
Thanks,
Mirko



On Jul 29, 9:20 am, gsw <[email protected]> wrote:
> On 29 Jul., 16:06, William Stein <[email protected]> wrote:
>
>
>
>
>
> > On Wed, Jul 29, 2009 at 7:02 AM, mirko<[email protected]> wrote:
>
> > > Hi,
>
> > > I tried downloading the source for sage-4.1 and simply running a
> > > 'make' from the directory. I was told it would just work. Well, it did
> > > not. I got the following message.
>
> > > sage: An error occurred while installing ntl-5.4.2.p8
> > > Please email sage-develhttp://groups.google.com/group/sage-devel
> > > explaining the problem and send the relevant part of
> > > of /Users/mirko/Desktop/sage-4.1/install.log.  Describe your computer,
> > > operating system, etc.
> > > If you want to try to fix the problem, yourself *don't* just cd to
> > > /Users/mirko/Desktop/sage-4.1/spkg/build/ntl-5.4.2.p8 and type 'make'.
> > > Instead type "/Users/mirko/Desktop/sage-4.1/sage -sh"
> > > in order to set all environment variables correctly, then cd to
> > > /Users/mirko/Desktop/sage-4.1/spkg/build/ntl-5.4.2.p8
> > > (When you are done debugging, you can type "exit" to leave the
> > > subshell.)
> > > make[1]: *** [installed/ntl-5.4.2.p8] Error 1
>
> > > real    25m49.762s
> > > user    11m30.182s
> > > sys     1m9.862s
> > > Error building Sage.
>
> > > My machine is an Apple PowerBook G4 1.5 with Mac OS X 10.4.11
> > > The relevant(?) part of the install.log is probably this:
>
> > What version of GCC are you using?  That's included in the install.log.
>
> > William
>
> More precisely, what does "gcc -version" give you as output?
> The important part might be the "build number" as e.g. in:
>
> ... 4.0.1 (Apple Computer, Inc. build 5370) ...
>
> which is from the output of the Xcode 2.5 gcc. The Xcode 2.4.1 gcc
> should still be fine, but earlier versions have reportedly problems.
> Especially the gcc 4.0.0 versions are known to "buggy as a swamp in
> florida" :-)
>
> You can get Xcode 2.5 via the Apple Developer Connection, BTW.
>
> One last sentence: On my G4 550Mhz PowerBook Sage-4.1 did compile fine
> (using Xcode 2.5, gcc 4.0.1 build 5370 as above).
>
> Cheers,
> Georg
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an 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