Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Alexander Kruppa
Agreed, documenting this incompatibility would be good. Maybe even add a test for pyenv to the build system, perhaps by simply checking for the string "pyenv" in $PATH, and in case the build fails, printing a message about pyenv being a possible culprit? Thanks to all for helping me fix my prob

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Dima Pasechnik
On Thu, Mar 5, 2020 at 10:08 PM Alexander Kruppa wrote: > > alex@lily:~/build/sage-develop> ./sage -sh > > Starting subshell with Sage environment variables set. Don't forget > to exit when you are done. Beware: > * Do not do anything with other copies of Sage on your system. > * Do not use th

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Alexander Kruppa
alex@lily:~/build/sage-develop> ./sage -sh Starting subshell with Sage environment variables set. Don't forget to exit when you are done. Beware: * Do not do anything with other copies of Sage on your system. * Do not use this for installing Sage packages using "sage -i" or for running "mak

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Dima Pasechnik
On Thu, Mar 5, 2020 at 9:15 PM Dima Pasechnik wrote: > > On Thu, Mar 5, 2020 at 8:56 PM Alexander Kruppa wrote: > > > > I think we're getting closer. > > > > alex@lily:~/build/sage-develop> ./sage -sh > > > > Starting subshell with Sage environment variables set. Don't forget > > to exit when yo

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Dima Pasechnik
On Thu, Mar 5, 2020 at 8:56 PM Alexander Kruppa wrote: > > I think we're getting closer. > > alex@lily:~/build/sage-develop> ./sage -sh > > Starting subshell with Sage environment variables set. Don't forget > to exit when you are done. Beware: > * Do not do anything with other copies of Sage o

[sage-devel] Re: Error building sage package-gfortran

2020-03-05 Thread Matthias Koeppe
This looks like an interaction with an Anaconda installation -- perhaps a conda environment was active while "configure" ran but not while "make" ran. On Thursday, March 5, 2020 at 12:40:51 AM UTC-5, Arnald Dutta wrote: > > Hi, > I am facing problem with gfortran-9.2.0 while building sage. > > Er

[sage-devel] Re: FAQ: building Sage on debian or ubuntu

2020-03-05 Thread Eric Gourgoulhon
Thank you Dima! I've updated https://wiki.sagemath.org/prerequisitesUbuntu accordingly. Eric. -- 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+unsubscr

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Dima Pasechnik
On Thu, Mar 5, 2020 at 6:33 PM Dima Pasechnik wrote: > > On Thu, Mar 5, 2020 at 6:25 PM Vincent Delecroix > <20100.delecr...@gmail.com> wrote: > > > > Le 05/03/2020 à 19:18, Dima Pasechnik a écrit : > > > On Thu, Mar 5, 2020 at 6:13 PM Vincent Delecroix > > > <20100.delecr...@gmail.com> wrote: > >

Re: [sage-devel] Error building sage package-gfortran

2020-03-05 Thread Arnald Dutta
I was facing issues while installing gfortran. I reinstalled all the packages and ran all the commands as instructed in the FAQ: building Sage on debian or ubuntu to build sage. And now it is working fine. Thank you, sir On Thursday, 5 March 2020 13:20:57 UTC+5:30, Dima Pasechnik wrote: > > It

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Vincent Delecroix
Le 05/03/2020 à 19:33, Dima Pasechnik a écrit : On Thu, Mar 5, 2020 at 6:25 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: Le 05/03/2020 à 19:18, Dima Pasechnik a écrit : On Thu, Mar 5, 2020 at 6:13 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: I believe it is a problem wi

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Dima Pasechnik
On Thu, Mar 5, 2020 at 6:25 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > Le 05/03/2020 à 19:18, Dima Pasechnik a écrit : > > On Thu, Mar 5, 2020 at 6:13 PM Vincent Delecroix > > <20100.delecr...@gmail.com> wrote: > >> > >> I believe it is a problem with pari version. Do you mind maki

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Vincent Delecroix
Le 05/03/2020 à 19:18, Dima Pasechnik a écrit : On Thu, Mar 5, 2020 at 6:13 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: I believe it is a problem with pari version. Do you mind making a report directly at https://github.com/sagemath/cypari2 Also, it would help if you provide the f

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Dima Pasechnik
On Thu, Mar 5, 2020 at 6:13 PM Vincent Delecroix <20100.delecr...@gmail.com> wrote: > > I believe it is a problem with pari version. Do you mind making a report > directly at > > https://github.com/sagemath/cypari2 > > Also, it would help if you provide the following information: > > 1. whether you

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Vincent Delecroix
I believe it is a problem with pari version. Do you mind making a report directly at https://github.com/sagemath/cypari2 Also, it would help if you provide the following information: 1. whether you have pari installed on your system (independently of Sage)? 2. if yes to 1, whether Sage config

Re: [sage-devel] Problem building cypari in Sage 9.0

2020-03-05 Thread Alexander Kruppa
I downloaded the dev branch as a .zip file from Github and tried to build it with "make". If failed in essentially the same way, see attachment. Am Dienstag, 3. März 2020 15:18:13 UTC+1 schrieb Dima Pasechnik: > > Could you try the latest dev branch? > https://github.com/sagemath/sage/tree/devel

Re: [sage-devel] Re: sage 9.0 build failed : Error building package python3-3.7.3.p1

2020-03-05 Thread souvik kapri
Thank You sir, I was able to to build sage. On Thursday, March 5, 2020 at 3:48:11 PM UTC+5:30, Dima Pasechnik wrote: > > Thank you. Now you should be all set. > I forgot that on Ubuntu installation of > libreadline-dev does not trigger the installation of libncurses-dev, > my fault, sorry. >

[sage-devel] What should happen when we solve a linear system?

2020-03-05 Thread Michael Orlitzky
Our documentation for Matrix.solve_right is schizophrenic, and it's contagious. I'm trying to review #12406 that fixes some old issues with the solution of linear systems. The problem I have is that solve_right() doesn't know what it's supposed to do. The documentation says, If self is a matrix

Re: [sage-devel] Re: sage 9.0 build failed : Error building package python3-3.7.3.p1

2020-03-05 Thread Dima Pasechnik
Thank you. Now you should be all set. I forgot that on Ubuntu installation of libreadline-dev does not trigger the installation of libncurses-dev, my fault, sorry. Please try building now. Specifically, run make ncurses-clean ./configure make On Thu, Mar 5, 2020 at 10:13 AM souvik kapri wro

Re: [sage-devel] Re: sage 9.0 build failed : Error building package python3-3.7.3.p1

2020-03-05 Thread souvik kapri
The output I received is : $ sudo apt-get install libncurses-dev Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'libncurses5-dev' instead of 'libncurses-dev' The following packages were automatically installed and are no longer re

[sage-devel] FAQ: building Sage on debian or ubuntu

2020-03-05 Thread Dima Pasechnik
Here are the currently recommended lists of system packages to be installed with apt-get, as of https://trac.sagemath.org/ticket/29273 $ sudo apt-get install bc binutils bzip2 ca-certificates cliquer curl g++ g++ gcc gcc gfan gfortran git glpk-utils gmp-ecm lcalc libboost-dev libbz2-dev libcli

Re: [sage-devel] Re: sage 9.0 build failed : Error building package python3-3.7.3.p1

2020-03-05 Thread Dima Pasechnik
please post the output of sudo apt-get install libncurses-dev and sudo apt-get install libreadline-dev it appears you have not installed these packages. On Thu, Mar 5, 2020 at 9:57 AM souvik kapri wrote: > > The config file. > > On Thursday, March 5, 2020 at 2:29:07 PM UTC+5:30, Dima Pase

Re: [sage-devel] Re: sage 9.0 build failed : Error building package python3-3.7.3.p1

2020-03-05 Thread Dima Pasechnik
post the latest config.log please On Thu, Mar 5, 2020 at 8:50 AM souvik kapri wrote: > > I did run the above commands, but the error still persists: > > ModuleNotFoundError: No module named 'readline' > readline module failed to import > socket module imported OK > Error: One or more modules fail

[sage-devel] Re: sage 9.0 build failed : Error building package python3-3.7.3.p1

2020-03-05 Thread souvik kapri
I did run the above commands, but the error still persists: ModuleNotFoundError: No module named 'readline' readline module failed to import socket module imported OK Error: One or more modules failed to import. On Thursday, March 5, 2020 at 11:10:51 AM UTC+5:30, souvik kapri wrote: > > Hi, > I

Re: [sage-devel] sage 9.0 build failed : Error building package python3-3.7.3.p1

2020-03-05 Thread Dima Pasechnik
The problem can be seen at the end of the python log: ModuleNotFoundError: No module named 'readline' readline module failed to import socket module imported OK Error: One or more modules failed to import. Please install system package libreadline-dev (i.e., run "sudo apt-get install libreadline