I think Keshav ran into the same problem and it was because vbox wasn't reporting the correct cpu parameters or something like that.
On Friday, May 18, 2012 1:00:54 PM UTC+8, William wrote: > > Hi, > > I know something like this has been reported, but I can't figure out > where. I am using Ubuntu 12.04 in Virtualbox on my Mac, and I can't > build Sage because of MPIR. Which ticket? What's the workaround? > This will probably impact me a lot, since I use virtual machines quite > a bit... > > libtool: compile: ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 > add_n.as -fPIC -DPIC -o .libs/add_n.o > ../yasm/yasm -I .. -f elf64 add_n.as -D PIC -o .libs/add_n.o > ../libtool: line 1133: 20873 Illegal instruction (core dumped) > ../strip_fPIC.sh ../yasm/yasm -I .. -f elf64 add_n.as -fPIC -DPIC -o > .libs/add_n.o > make[4]: *** [add_n.lo] Error 1 > make[4]: Leaving directory > `/home/wstein/sage/build/sage-5.0/spkg/build/mpir-2.4.0.p3/src/mpn' > make[3]: *** [all-recursive] Error 1 > make[3]: Leaving directory > `/home/wstein/sage/build/sage-5.0/spkg/build/mpir-2.4.0.p3/src' > make[2]: *** [all] Error 2 > make[2]: Leaving directory > `/home/wstein/sage/build/sage-5.0/spkg/build/mpir-2.4.0.p3/src' > Error building MPIR. > > real 1m36.861s > user 0m35.050s > sys 0m15.297s > ************************************************************************ > Error installing package mpir-2.4.0.p3 > > > -- > William Stein > Professor of Mathematics > University of Washington > http://wstein.org > -- 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