I managed to build sage-4.7.1 on Ubuntu 11.10 Oneiric Ocelot using the gcc-4.4 compiler. Maybe its helpful for others, this is what I did:
# install compiler sudo apt-get install gcc-4.6 gcc-4.4-base gcc-4.4 g++-4.4 cpp-4.4 gfortran-4.4 # set up gcc alternatives sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.6 100 --slave /usr/bin/cpp cpp /usr/bin/cpp-4.6 --slave /usr/bin/g++ g+ + /usr/bin/g++-4.6-slave /usr/bin/gfortran gfortran /usr/bin/ gfortran-4.6 sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.4 80 --slave /usr/bin/cpp cpp /usr/bin/cpp-4.4 --slave /usr/bin/g++ g++ / usr/bin/g++-4.4 --slave /usr/bin/gfortran gfortran /usr/bin/ gfortran-4.4 # now choose the gcc-4.4 alternative sudo update-alternatives --config gcc Now you can successfully build sage-4.7.1. Afterwards make sure you switch back to the gcc-4.6 compiler using again: sudo update-alternatives --config gcc Regards, Bas -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org