Please post the top-level config.log, then we'll see more details about GMP.

In Sage 9.2, if you do ./configure without arguments, Sage is building
a GMP-compatible MPIR, not "real" GMP.
(Perhaps MPIR is broken now beyond repair, and shoud not be used on
RHEL 6,I don't know)
We're changing with in the coming 9.3, see
https://trac.sagemath.org/ticket/30752
Meanwhile please do

make mpir-clean
./configure --with-mp=gmp
make -j4


On Thu, Mar 4, 2021 at 2:06 PM 'Hackenberg, Klaus' via sage-support
<sage-support@googlegroups.com> wrote:
>
> High,
>
>   I startet in a fresh directory sage-9.2 (from sage-9.2.tag.gz)
>   using the commands
>
>  ./configure
> make -j4
>
>   and  ran into the same error.
>
>   gmp binaries are build automatically
>
> ls -lrt sage-9.2/local/lib/*gmp*
> -rwxr-xr-x 1 lsf lsf 3342817 Mar  4 12:35 sage-9.2/local/lib/libgmp.so.23.0.3
> lrwxrwxrwx 1 lsf lsf      16 Mar  4 12:35 sage-9.2/local/lib/libgmp.so.23 -> 
> libgmp.so.23.0.3
> lrwxrwxrwx 1 lsf lsf      16 Mar  4 12:35 sage-9.2/local/lib/libgmp.so -> 
> libgmp.so.23.0.3
> -rwxr-xr-x 1 lsf lsf  318950 Mar  4 12:36 sage-9.2/local/lib/libgmpxx.so.8.4.3
> lrwxrwxrwx 1 lsf lsf      17 Mar  4 12:36 sage-9.2/local/lib/libgmpxx.so.8 -> 
> libgmpxx.so.8.4.3
> lrwxrwxrwx 1 lsf lsf      17 Mar  4 12:36 sage-9.2/local/lib/libgmpxx.so -> 
> libgmpxx.so.8.4.3
> -rw-r--r-- 1 lsf lsf 6804714 Mar  4 12:36 sage-9.2/local/lib/libgmp.a
> -rw-r--r-- 1 lsf lsf  796188 Mar  4 12:36 sage-9.2/local/lib/libgmpxx.a
> -rwxr-xr-x 1 lsf lsf  955210 Mar  4 12:43 
> sage-9.2/local/lib/libcddgmp.so.0.0.0
> lrwxrwxrwx 1 lsf lsf      18 Mar  4 12:43 sage-9.2/local/lib/libcddgmp.so.0 
> -> libcddgmp.so.0.0.0
> lrwxrwxrwx 1 lsf lsf      18 Mar  4 12:43 sage-9.2/local/lib/libcddgmp.so -> 
> libcddgmp.so.0.0.0
> -rw-r--r-- 1 lsf lsf 1532644 Mar  4 12:43 sage-9.2/local/lib/libcddgmp.a
>
>   I attach the error log file.
>
> Regards, Klaus Hackenberg
>
> --
> Klaus Hackenberg
> IT-Systeme und Software-Integration
> IT.SERVICES
> Ruhr-Universität Bochum | 44780 Bochum
> fon: +49 234 32 23485
> http://www.it-services.rub.de/
>
>
> -----Ursprüngliche Nachricht-----
> Von: sage-support@googlegroups.com <sage-support@googlegroups.com> Im Auftrag 
> von Dima Pasechnik
> Gesendet: Mittwoch, 3. März 2021 18:28
> An: sage-support <sage-support@googlegroups.com>
> Betreff: Re: [sage-support] problem compiling sage 9.2 on RHEL 6
>
> On Wed, Mar 3, 2021 at 5:15 PM 'Klaus Hackenberg' via sage-support 
> <sage-support@googlegroups.com> wrote:
> >
> > High,
> > I tried to compile sage 9.2 on a server running RHEL 6.
> > I use gcc 9.2.0 to compile and the following commands
> >
> > ./configure --with-gmp=gmp
> might be in error.
>
> What did you mean to achieve by '--with-gmp=gmp' ? By default Sage will look 
> for a systemwide GMP installation and try to use it (else it will build its 
> own) But Sage needs GMP version 6.1, at least. Most probably what you have on 
> the 10-years old RHEL 6 is still GMP version 4, so it won't fly.
>
> You probably want to force building GMP rather than much iffier MPIR, so 
> you'd probably need  '--with-mp=gmp' in this case.
>
>
>
> > make -j4
> >
> > ppl-1.2 fails to compile whith the attached error log file.
> > Do you have any idea what's going wrong and how to fix it?
> > Regards, Klaus Hackenberg
> >
> > --
> > 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 view this discussion on the web visit 
> > https://groups.google.com/d/msgid/sage-support/e1713003-dbe6-475b-9ffd-214d005cfec5n%40googlegroups.com.
>
> --
> You received this message because you are subscribed to a topic in the Google 
> Groups "sage-support" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/sage-support/GniJKQ0MaMY/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> sage-support+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/CAAWYfq0i67G3DRu4oeLSTegkFw0Dr-FtFVHnpQShXze%3DSi7h5g%40mail.gmail.com.
>
> --
> 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 view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-support/e501b240a4bc4e2f96d0440c10d06199%40ruhr-uni-bochum.de.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/CAAWYfq3663awZ35af7%3D2ROLRkWF_%2B8w7dM41BCk9c2jGU7kAoQ%40mail.gmail.com.

Reply via email to