Error Building sage-6.2: Error installing package mpir-2.6.0.p4

44 views
Skip to first unread message

Yun Peng Lin

unread,
Jun 17, 2014, 6:38:57 AM6/17/14
to sage-s...@googlegroups.com
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
************************************************************************
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.
************************************************************************

leif

unread,
Jun 17, 2014, 7:54:43 AM6/17/14
to sage-s...@googlegroups.com
Yun Peng Lin wrote:
> 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!

Hmmm, could you perhaps upload the full MPIR build log
(logs/pkgs/mpir-2.6.0.p4.log) somewhere?


-leif

--
() The ASCII Ribbon Campaign
/\ Help Cure HTML E-Mail

Avonian

unread,
Jun 18, 2014, 3:08:35 PM6/18/14
to sage-s...@googlegroups.com
Thanks for the rapid response and apologies for the delayed response. I think I've managed to get a binary build working. Will have to test and see.
Reply all
Reply to author
Forward
0 new messages