I'm trying to build Sage 6.2 (latest version from http://www.sagemath.org/) from the source distribution.
After running "make", it built for an hour before failing when trying to build package: mpir-2.6.0.p4. A section of the mpir-2.6.0.p4 log file containing the error is below. I'm trying to make sage in redhat version 5.7 Tikanga. The system is 64Bit, CPU is an Intel Xeon processor. Any help would be greatly appreciated. Many thanks! //---------------mpir-2.6.0.p4.log----Extract----------------------------------------------------------------- gp-xstrdup.o: In function `gnu_dev_minor': xstrdup.c:(.text+0x29): multiple definition of `gnu_dev_minor' genperf.o:genperf.c:(.text+0x29): first defined here gp-xstrdup.o: In function `gnu_dev_makedev': xstrdup.c:(.text+0x46): multiple definition of `gnu_dev_makedev' genperf.o:genperf.c:(.text+0x46): first defined here collect2: error: ld returned 1 exit status make[6]: *** [genperf] Error 1 make[6]: Leaving directory `/home/user_test/test/sage-6.2/local/var/tmp/sage/build/mpir-2.6.0.p4/src/yasm' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/user_test/test/sage-6.2/local/var/tmp/sage/build/mpir-2.6.0.p4/src' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/user_test/test/sage-6.2/local/var/tmp/sage/build/mpir-2.6.0.p4/src' Error building MPIR. real 1m24.272s user 0m56.834s sys 0m26.969s ************************************************************************ Error installing package mpir-2.6.0.p4 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the relevant part of the log file /home/user_test/test/sage-6.2/logs/pkgs/mpir-2.6.0.p4.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /home/user_test/test/sage-6.2/local/var/tmp/sage/build/mpir-2.6.0.p4 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/home/user_test/test/sage-6.2/local/var/tmp/sage/build/mpir-2.6.0.p4' && '/home/user_test/test/sage-6.2/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************ -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.