Installation Issue

68 views
Skip to first unread message

Sahana Das

unread,
May 15, 2019, 3:36:24 AM5/15/19
to sage-devel
Hi,

  I'm trying to install sagemath in my CentOS desktop form the Source Code sage-8.7.tar.gz. After extracting the .tar file and running "make" command it showed some errors. I'm attaching the log file.
  Could anyone please help me with fixing this? Is it because of CentOS, if so is there any other way to install in CentOS system?

OS using: CentOS 6.9 ; GNOME: 2.28.2
Python version: 2.7.16 (Installed from Anaconda)

Many thanks,
  Sahana
gcc-7.2.0.log

Jan Groenewald

unread,
May 15, 2019, 3:42:44 AM5/15/19
to sage-devel
Hi

Try installing glibc-devel package first.

Regards,
Jan

--
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 sage-devel+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/90029d05-bd61-43dd-b365-505e41b28f9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
  .~.
  /V\     Jan Groenewald
 /( )\    www.aims.ac.za
 ^^-^^ 

Dima Pasechnik

unread,
May 15, 2019, 4:17:28 AM5/15/19
to sage-devel
there might be a clash with Anaconda, please temporarily disable it.

You also should install gcc, g++, gfortran, there is seldom a need to
build them with Sage any more.

Sahana Das

unread,
May 15, 2019, 8:21:41 AM5/15/19
to sage-...@googlegroups.com
I have gcc, g++, gfortran compilers (version: 4.4.7).
My system python version was 2.6.6, that's why I have installed Anaconda to get updated python version.

Dima Pasechnik

unread,
May 15, 2019, 8:35:03 AM5/15/19
to sage-devel
On Wed, May 15, 2019 at 1:21 PM Sahana Das <sahana...@gmail.com> wrote:
>
> I have gcc, g++, gfortran compilers (version: 4.4.7).
> My system python version was 2.6.6, that's why I have installed Anaconda to get updated python version.

oh, I see. Can't you update your OS and/or the compilers? 4.4.7 is
really old, this is why Sage
tries to build their own versions (but it's not even clear whether
such old gcc can build gcc 7.2...)

On the other hand, Python 2.6.6 should be good enough for the
installation of Sage, as far as I know.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAPXpkU6PE%2BOAXrBYByH4wiqtsdP6P%2BASrZyL2a7acACyaoUCvg%40mail.gmail.com.

Sahana Das

unread,
May 15, 2019, 10:33:41 AM5/15/19
to sage-...@googlegroups.com
Yes! Installation successful running the command "make" only!
Now I have used
1. CentOS 7,
2. gcc compiler version 4.8
3. Python 2.7.5

Thank you...😃

Reply all
Reply to author
Forward
0 new messages