On 05/10/2012 03:37 PM, Jeroen Demeyer wrote:
I see the problem.  Originally, Sage (or you) decided to install the GCC
package within Sage.  As a consequence, MPIR was built without the C++
interface.  From the MPIR log:
Building a reduced version of MPIR to bootstrap GCC.
MPIR will later get rebuilt (with the C++ interface and static libraries
enabled) using the new compiler.
Then MPFR failed, causing the build to abort.  Then you messed with
CFLAGS (and maybe compiler versions?) and rebuilt Sage but this time
*without* installing GCC.  This left the "partial" MPIR build in place.

Rebuilding MPIR should fix your problem.


Oh. That's nice.

Indeed, the build had failed once with it trying to install gcc. While compiling or installing gcc it complained that some headers were missing.

It turned out that the reason why it was trying to install gcc was because I didn't have gfortran in my system. So, I installed gfortran and restarted the build of Sage.

I already started another build of Sage to check if it works this time round. Hopefully it should turn out fine this time.

--
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

Reply via email to