Hi Vlad, I've had similar problems with compiling sage-4.0 using gcc 4.4.0 in archlinux. I had to downgrade my gcc to 4.3.3, and now sage is compiling fine.
Best, Alex On Tue, Jun 2, 2009 at 9:55 PM, prhlava <prhl...@googlemail.com> wrote: > > > Hello, > >> http://sage.math.washington.edu/home/mhansen/sage-4.0.1.alpha0.tar > > I have tried to compile this under ArchLinux (32 bit) with: > > gcc (GCC) 4.4.0 20090526 (prerelease) > > glibc 2.10.1-2 > > And the compilation stops with error in singular: > > make install in kernel > make[4]: Entering directory `/opt/sage-4.0.1.alpha0/spkg/build/ > singular-3-0-4-4-20090511/src/kernel' > echo "#define feVersionId0 " `date '+%Y%m%d%H'` >kversion.h > g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I/opt/ > sage-4.0.1.alpha0/local/include -I/opt/sage-4.0.1.alpha0/local/ > include -I/opt/sage-4.0.1.alpha0/local/include -DNDEBUG -DOM_NDEBUG - > Dix86_Linux -DHAVE_CONFIG_H -c clapconv.cc > g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I/opt/ > sage-4.0.1.alpha0/local/include -I/opt/sage-4.0.1.alpha0/local/ > include -I/opt/sage-4.0.1.alpha0/local/include -DNDEBUG -DOM_NDEBUG - > Dix86_Linux -DHAVE_CONFIG_H -c clapsing.cc > g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I/opt/ > sage-4.0.1.alpha0/local/include -I/opt/sage-4.0.1.alpha0/local/ > include -I/opt/sage-4.0.1.alpha0/local/include -DNDEBUG -DOM_NDEBUG - > Dix86_Linux -DHAVE_CONFIG_H -c mminit.cc > g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I/opt/ > sage-4.0.1.alpha0/local/include -I/opt/sage-4.0.1.alpha0/local/ > include -I/opt/sage-4.0.1.alpha0/local/include -DNDEBUG -DOM_NDEBUG - > Dix86_Linux -DHAVE_CONFIG_H -c febase.cc > febase.cc: In function ‘FILE* feFopen(const char*, const char*, char*, > int, int)’: > febase.cc:752: error: invalid conversion from ‘const char*’ to ‘char*’ > make[4]: *** [febase.o] Error 1 > make[4]: Leaving directory `/opt/sage-4.0.1.alpha0/spkg/build/ > singular-3-0-4-4-20090511/src/kernel' > make[3]: *** [install] Error 1 > make[3]: Leaving directory `/opt/sage-4.0.1.alpha0/spkg/build/ > singular-3-0-4-4-20090511/src' > make[2]: *** [/opt/sage-4.0.1.alpha0/local/bin/Singular-3-0-4] Error 2 > make[2]: Leaving directory `/opt/sage-4.0.1.alpha0/spkg/build/ > singular-3-0-4-4-20090511/src' > Unable to build Singular. > > real 2m32.953s > user 2m15.951s > sys 0m15.376s > sage: An error occurred while installing singular-3-0-4-4-20090511 > > The same thing happens with Sage 4.0. > > Kind regards, > > Vlad > > > > -- Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne -- Australia -- http://www.ms.unimelb.edu.au/~aghitza/ --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---