Thursday 20 December 2007 20:11:04 tarihinde William Stein şunları yazmıştı: > On Dec 20, 2007 10:44 AM, noo <[EMAIL PROTECTED]> wrote: > > Hi, > > First two attempts to build sage failed. > > One on Ubuntu 7.10 with a gcc (4.1.3) internal error. > > Other on RHEL4 due to malformed config.h in spkg/build/ntl-5.4.1.p9/ > > src/src/. > > Details below FYI. > > Best wishes in this effort. > > > > _________________________________________________________________________ > >________________________ (1) Ubuntu 7.10 > > Intel Pentium M Processor 1.86GHz > > $ uname -a > > Linux compname 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 > > i686 GNU/Linux > > > > $ g++ --version > > g++ (GCC) 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2) > > Copyright (C) 2006 Free Software Foundation, Inc. > > > > From install.log: > > > > g++ -DPACKAGE_NAME=\"liblinboxwrap\" -DPACKAGE_TARNAME=\"liblinboxwrap > > \" -DPACKAGE_VERSION=\"0.0.1\" "-DPACKAGE_STRING=\"liblinboxwrap > > 0.0.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"liblinboxwrap\" - > > DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 - > > DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 - > > DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 - > > DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 - > > DHAVE_BLAS=1 -I. -g -I/home/lastname/downloads/sage-2.9/local/include/ > > linbox -I/home/lastname/downloads/sage-2.9/local/include -g -fPIC -I/ > > home/lastname/downloads/sage-2.9/local/include -I/home/lastname/ > > downloads/sage-2.9/local/include/linbox -L/home/lastname/downloads/ > > sage-2.9/local/lib -MT linbox_wrap.lo -MD -MP -MF .deps/ > > linbox_wrap.Tpo -c src/linbox_wrap.cpp -fPIC -DPIC -o .libs/ > > linbox_wrap.o > > g++: Internal error: Killed (program cc1plus) > > That makes it a GCC bug. You should upgrade or downgrade > your version of GCC. Currently you are using "g++ (GCC) 4.1.3 > 20070929 (prerelease)", i.e. a prerelease version of GCC, i.e., one > that is > very *likely* to have bugs. > > I regularly build sage on ubuntu 7.10 using GCC-4.1.2.
FWIW linbox builds fine with gcc 4.3 snapshot. Regards, ismail -- Never learn by your mistakes, if you do you may never dare to try again. --~--~---------~--~----~------------~-------~--~----~ 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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---