Is there a reason for you to build MPIR/GMP rather than use one a from (apparently) a Linux system?
It might be much easier to install a system GMP package and use it rather than trying to dig up the issue at hand. Please see https://doc.sagemath.org/html/en/installation/source.html#linux-recommended-installation for what can/should be installed. On Thu, Jan 23, 2020 at 11:43 AM Paulo Manuel de Barros Correia <[email protected]> wrote: > > Hello, > > When making sage 9.0 I receive the following error message: > > (...) > get_d.c: In function '__gmpn_get_d': > get_d.c:125:34: error: storage size of 'u' isn't known > union ieee_double_extract u; > ^ > Makefile:462: recipe for target 'get_d.lo' failed > make[6]: *** [get_d.lo] Error 1 > make[6]: Leaving directory > '/home/paulo/sage-9.0/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src/mpn' > Makefile:952: recipe for target 'all-recursive' failed > make[5]: *** [all-recursive] Error 1 > make[5]: Leaving directory > '/home/paulo/sage-9.0/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src' > Makefile:755: recipe for target 'all' failed > make[4]: *** [all] Error 2 > make[4]: Leaving directory > '/home/paulo/sage-9.0/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0/src' > ********************************************************************************************************************************** > Error building mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 > ********************************************************************************************************************************** > > real 0m34.606s > user 0m28.484s > sys 0m7.376s > ************************************************************************ > Error installing package > mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 > ************************************************************************ > Please email sage-devel (http://groups.google.com/group/sage-devel) > explaining the problem and including the log file > > /home/paulo/sage-9.0/logs/pkgs/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0.log > Describe your computer, operating system, etc. > If you want to try to fix the problem yourself, *don't* just cd to > /home/paulo/sage-9.0/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0 > 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/paulo/sage-9.0/local/var/tmp/sage/build/mpir-3.0.0-644faf502c56f97d9accd301965fc57d6ec70868.p0' > && '/home/paulo/sage-9.0/sage' --sh) > When you are done debugging, you can type "exit" to leave the subshell. > ************************************************************************ > > > Can you please help me with this issue > Thanks, > Paulo > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/12809c42-b0d9-4442-ae2a-99e0c8d87e90%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq3xCGA9MRLYom8__cwWeAKebLWrHXgAEnEqu%2B37JHHpCA%40mail.gmail.com.
