Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Anne Schilling
Thank you! I installed all those. Now it hangs here:

https://www.math.ucdavis.edu/~anne/matplotlib-2.2.5.log

I tried to install freetype by hand, but it does not seem to help.

On Monday, May 25, 2020 at 7:44:16 PM UTC-7, Matthias Koeppe wrote:
>
> You could try if "brew install libpng" fixes this problem (otherwise you'd 
> need to manually clean out /usr/local/lib/libpng*)
>
> Also, note that at the end of the configure output, some commands were 
> recommended: "brew install boost cmake glpk gsl gd mpfi ninja openblas pcre 
> ppl r yasm zeromq"; I second this recommendation 
>
>
>
> On Monday, May 25, 2020 at 7:41:13 PM UTC-7, Matthias Koeppe wrote:
>>
>> On Monday, May 25, 2020 at 6:59:09 PM UTC-7, Anne Schilling wrote:
>>>
>>>
>>>
>>> On Monday, May 25, 2020 at 6:35:01 PM UTC-7, Matthias Koeppe wrote:

 Could you try with the commands:

  . ./.homebrew-build-env
  ./configure

 and post the output of the latter?

>>>
>>> After installing python3 with homebrew is got further. Now it hangs here:
>>>
>>> https://www.math.ucdavis.edu/~anne/m4ri-20200115.log
>>>
>>>
>> Looks like there's some really old stuff in /usr/local, perhaps from an 
>> ancient homebrew or MacPorts installation?. From the log:
>>
>>
>> libtool: link: gcc -dynamiclib  -o .libs/libm4ri-0.0.20200115.dylib  
>> m4ri/.libs/brilliantrussian.o m4ri/.libs/misc.o m4ri/.libs/mzd.o 
>> m4ri/.libs/graycode.o m4ri/.libs/strassen.o m4ri/.libs/mzp.o 
>> m4ri/.libs/triangular.o m4ri/.libs/triangular_russian.o m4ri/.libs/ple.o 
>> m4ri/.libs/ple_russian.o m4ri/.libs/solve.o m4ri/.libs/echelonform.o 
>> m4ri/.libs/mmc.o m4ri/.libs/debug_dump.o m4ri/.libs/io.o m4ri/.libs/djb.o 
>> m4ri/.libs/mp.o   -L/Applications/sage/local/lib -L/usr/local/lib -lpng12 
>> -lz  -mmmx -msse -msse2 -msse3 -g -O2 -Wl,-rpath 
>> -Wl,/Applications/sage/local/lib   -install_name  
>> /Applications/sage/local/lib/libm4ri-0.0.20200115.dylib  -Wl,-single_module
>>> ld: warning: ignoring file /usr/local/lib/libpng12.dylib, missing required 
>>> architecture x86_64 in file /usr/local/lib/libpng12.dylib (2 slices)
>>> Undefined symbols for architecture x86_64:
>>>   "_png_create_info_struct", referenced from:
>>>
>>>
>>>
>>
>>
>>  
>>
>

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/fb9eddc7-e0f4-4ce8-9d66-9b86d346e7aa%40googlegroups.com.


[sage-devel] Re: conditional install of optional package

2020-05-25 Thread Matthias Koeppe
On Monday, May 25, 2020 at 8:12:31 PM UTC-7, Thierry (sage-googlesucks@xxx) 
wrote:
>
> i am on the way to build a version of Sage Debian Live for 9.1. I would 
> like to benefit from the spkg-configure.m4 feature when installing 
> optional packages, as much as possible. 
>
> Say, i want to install cbc, looking at build/pkgs/cbc/distros/debian.txt 
> i install coinor-cbc coinor-libcbc-dev from the distro. 
>
> However, when i do 
>
> sage -i cbc 
>
> it still installs cbc from Sage spkg, which i would like to avoid. What 
> is the command that installs cbc (say) only if the distro replacements 
> are not installed on the system ? 
>
>
./configure --enable-cbc && make

 

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/b0840bf9-737c-4222-8bfe-5ce4ce72c10e%40googlegroups.com.


[sage-devel] conditional install of optional package

2020-05-25 Thread Thierry
Hi,

i am on the way to build a version of Sage Debian Live for 9.1. I would
like to benefit from the spkg-configure.m4 feature when installing
optional packages, as much as possible.

Say, i want to install cbc, looking at build/pkgs/cbc/distros/debian.txt
i install coinor-cbc coinor-libcbc-dev from the distro.

However, when i do 

sage -i cbc

it still installs cbc from Sage spkg, which i would like to avoid. What
is the command that installs cbc (say) only if the distro replacements
are not installed on the system ?

Ciao,
Thierry

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/20200526031228.wjxhs5a4jsjfo5n4%40metelu.net.


Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Matthias Koeppe
You could try if "brew install libpng" fixes this problem (otherwise you'd 
need to manually clean out /usr/local/lib/libpng*)

Also, note that at the end of the configure output, some commands were 
recommended: "brew install boost cmake glpk gsl gd mpfi ninja openblas pcre 
ppl r yasm zeromq"; I second this recommendation 



On Monday, May 25, 2020 at 7:41:13 PM UTC-7, Matthias Koeppe wrote:
>
> On Monday, May 25, 2020 at 6:59:09 PM UTC-7, Anne Schilling wrote:
>>
>>
>>
>> On Monday, May 25, 2020 at 6:35:01 PM UTC-7, Matthias Koeppe wrote:
>>>
>>> Could you try with the commands:
>>>
>>>  . ./.homebrew-build-env
>>>  ./configure
>>>
>>> and post the output of the latter?
>>>
>>
>> After installing python3 with homebrew is got further. Now it hangs here:
>>
>> https://www.math.ucdavis.edu/~anne/m4ri-20200115.log
>>
>>
> Looks like there's some really old stuff in /usr/local, perhaps from an 
> ancient homebrew or MacPorts installation?. From the log:
>
>
> libtool: link: gcc -dynamiclib  -o .libs/libm4ri-0.0.20200115.dylib  
> m4ri/.libs/brilliantrussian.o m4ri/.libs/misc.o m4ri/.libs/mzd.o 
> m4ri/.libs/graycode.o m4ri/.libs/strassen.o m4ri/.libs/mzp.o 
> m4ri/.libs/triangular.o m4ri/.libs/triangular_russian.o m4ri/.libs/ple.o 
> m4ri/.libs/ple_russian.o m4ri/.libs/solve.o m4ri/.libs/echelonform.o 
> m4ri/.libs/mmc.o m4ri/.libs/debug_dump.o m4ri/.libs/io.o m4ri/.libs/djb.o 
> m4ri/.libs/mp.o   -L/Applications/sage/local/lib -L/usr/local/lib -lpng12 -lz 
>  -mmmx -msse -msse2 -msse3 -g -O2 -Wl,-rpath -Wl,/Applications/sage/local/lib 
>   -install_name  /Applications/sage/local/lib/libm4ri-0.0.20200115.dylib  
> -Wl,-single_module
>> ld: warning: ignoring file /usr/local/lib/libpng12.dylib, missing required 
>> architecture x86_64 in file /usr/local/lib/libpng12.dylib (2 slices)
>> Undefined symbols for architecture x86_64:
>>   "_png_create_info_struct", referenced from:
>>
>>
>>
>
>
>  
>

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/2284d9e4-a5d0-4c62-8959-32127d9686be%40googlegroups.com.


Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Matthias Koeppe
On Monday, May 25, 2020 at 6:59:09 PM UTC-7, Anne Schilling wrote:
>
>
>
> On Monday, May 25, 2020 at 6:35:01 PM UTC-7, Matthias Koeppe wrote:
>>
>> Could you try with the commands:
>>
>>  . ./.homebrew-build-env
>>  ./configure
>>
>> and post the output of the latter?
>>
>
> After installing python3 with homebrew is got further. Now it hangs here:
>
> https://www.math.ucdavis.edu/~anne/m4ri-20200115.log
>
>
Looks like there's some really old stuff in /usr/local, perhaps from an 
ancient homebrew or MacPorts installation?. From the log:


libtool: link: gcc -dynamiclib  -o .libs/libm4ri-0.0.20200115.dylib  
m4ri/.libs/brilliantrussian.o m4ri/.libs/misc.o m4ri/.libs/mzd.o 
m4ri/.libs/graycode.o m4ri/.libs/strassen.o m4ri/.libs/mzp.o 
m4ri/.libs/triangular.o m4ri/.libs/triangular_russian.o m4ri/.libs/ple.o 
m4ri/.libs/ple_russian.o m4ri/.libs/solve.o m4ri/.libs/echelonform.o 
m4ri/.libs/mmc.o m4ri/.libs/debug_dump.o m4ri/.libs/io.o m4ri/.libs/djb.o 
m4ri/.libs/mp.o   -L/Applications/sage/local/lib -L/usr/local/lib -lpng12 -lz  
-mmmx -msse -msse2 -msse3 -g -O2 -Wl,-rpath -Wl,/Applications/sage/local/lib   
-install_name  /Applications/sage/local/lib/libm4ri-0.0.20200115.dylib  
-Wl,-single_module
> ld: warning: ignoring file /usr/local/lib/libpng12.dylib, missing required 
> architecture x86_64 in file /usr/local/lib/libpng12.dylib (2 slices)
> Undefined symbols for architecture x86_64:
>   "_png_create_info_struct", referenced from:
>
>
>


 

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/b83760ce-f626-41b4-af2d-fee4c0ec7288%40googlegroups.com.


Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Matthias Koeppe
Could you try with the commands:

 . ./.homebrew-build-env
 ./configure

and post the output of the latter?

On Monday, May 25, 2020 at 6:13:46 PM UTC-7, Anne Schilling wrote:
>
> Thank you! I have homebrew installed. So I just do
>
> brew install python3 ?
>
> Installing the python package that Dima suggested did not help.
> I am trying to avoid installing a new operating system right now since I 
> anyway ordered a new computer.
>
> Best,
>
> Anne
>
> On Monday, May 25, 2020 at 6:05:42 PM UTC-7, Matthias Koeppe wrote:
>>
>> I agree, updating the OS if possible, and/or installing homebrew and 
>> python3 from homebrew would be the way to go.
>>
>> On Monday, May 25, 2020 at 4:37:22 PM UTC-7, Dima Pasechnik wrote:
>>>
>>> Hi Anne, 
>>> openssl is a never-ending problem on macOS, and in your case it's made 
>>> worse by an old macOS version. 
>>> One cannot expect much support and development on macOS 10.12, as it 
>>> has reached EOL in 2019. 
>>>
>>> One way out would be to install Python 3.7 from cpython, and then Sage 
>>> will just use it, without building. 
>>>
>>> https://www.python.org/ftp/python/3.7.7/python-3.7.7-macosx10.9.pkg 
>>>
>>> (or, alternatively, install Homebrew, then you can use many more 
>>> packages from there without building) 
>>>
>>> HTH 
>>> Dima 
>>>
>>> On Tue, May 26, 2020 at 12:11 AM Anne Schilling 
>>>  wrote: 
>>> > 
>>> > Hi Dima, 
>>> > 
>>> > Thank you! I have run make distclean and now it gets stuck here: 
>>> > 
>>> > https://www.math.ucdavis.edu/~anne/python3-3.7.3.p1.log 
>>> > 
>>> > It looks like there is a problem with openssl. 
>>> > 
>>> > Any idea? 
>>> > 
>>> > Anne 
>>> > 
>>> > On Monday, May 25, 2020 at 10:52:29 AM UTC-7, Dima Pasechnik wrote: 
>>> >> 
>>> >> Hi Anne, 
>>> >> it appears from your config.log that you did not do 
>>> >> 
>>> >> make distclean 
>>> >> 
>>> >> moreover, it says that R is already installed, and should not get 
>>> reinstalled. 
>>> >> 
>>> >> Does Sage start? I guess not. 
>>> >> If before the latest git pull you had an oldish Sage (closer to 9.0 
>>> than to 9.1) 
>>> >> it appears that the build system is totally confused. 
>>> >> So you most probably need to do distclean. 
>>> >> 
>>> >> HTH 
>>> >> Dima 
>>> >> 
>>> >> 
>>> >> 
>>> >> On Mon, 25 May 2020, 17:28 Anne Schilling,  
>>> wrote: 
>>> >>> 
>>> >>> Hi Dima, 
>>> >>> 
>>> >>> I pulled the changes using git in the master branch and started make 
>>> (or make distclean). 
>>> >>> This is running on MacOS 10.12.6 . 
>>> >>> 
>>> >>> https://www.math.ucdavis.edu/~anne/config.log 
>>> >>> https://www.math.ucdavis.edu/~anne/r-3.6.2.p0.log 
>>> >>> https://www.math.ucdavis.edu/~anne/dochtml.log 
>>> >>> 
>>> >>> Thank you! 
>>> >>> 
>>> >>> Anne 
>>> >>> 
>>> >>> On Monday, May 25, 2020 at 1:29:33 AM UTC-7, Dima Pasechnik wrote: 
>>>  
>>>  On Mon, May 25, 2020 at 7:44 AM Anne Schilling 
>>>   wrote: 
>>>  > 
>>>  > 
>>>  > 
>>>  > On Sunday, May 24, 2020 at 10:27:19 PM UTC-7, Matthias Koeppe 
>>> wrote: 
>>>  >> 
>>>  >> Hi Anne, 
>>>  >> 
>>>  >> On Sunday, May 24, 2020 at 9:40:42 PM UTC-7, Anne Schilling 
>>> wrote: 
>>>  >>> 
>>>  >>> Downloading the Sage mirror list 
>>>  >>> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has 
>>> syntax error: error code: 1010 
>>>  >>> Searching fastest mirror 
>>>  >>> ERROR [mirror_list|_rank_mirrors:145]: Could not reach any 
>>> mirror directly and no proxy set 
>>>  >> 
>>>  >> 
>>>  >> Here's a workaround: 
>>>  >> 
>>>  >> echo '["http://files.sagemath.org/";]' > upstream/mirror_list 
>>>  >> 
>>>  >> 
>>>  >> I hope this helps, 
>>>  >> Matthias 
>>>  > 
>>>  > 
>>>  > Thank you, that got me a lot further. But now it is stuck here: 
>>>  > 
>>>  > [matplotlib-2.2.5] running install_egg_info 
>>>  > [matplotlib-2.2.5] running egg_info 
>>>  > [matplotlib-2.2.5] writing lib/matplotlib.egg-info/PKG-INFO 
>>>  > [matplotlib-2.2.5] writing dependency_links to 
>>> lib/matplotlib.egg-info/dependency_links.txt 
>>>  > [matplotlib-2.2.5] writing namespace_packages to 
>>> lib/matplotlib.egg-info/namespace_packages.txt 
>>>  > [matplotlib-2.2.5] writing requirements to 
>>> lib/matplotlib.egg-info/requires.txt 
>>>  > [matplotlib-2.2.5] writing top-level names to 
>>> lib/matplotlib.egg-info/top_level.txt 
>>>  > [matplotlib-2.2.5] reading manifest file 
>>> 'lib/matplotlib.egg-info/SOURCES.txt' 
>>>  > [matplotlib-2.2.5] reading manifest template 'MANIFEST.in' 
>>>  > [matplotlib-2.2.5] writing manifest file 
>>> 'lib/matplotlib.egg-info/SOURCES.txt' 
>>>  > [matplotlib-2.2.5] Copying lib/matplotlib.egg-info to 
>>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7.egg-info
>>>  
>>>
>>>  > [matplotlib-2.2.5] Installing 
>>> /

Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Anne Schilling
Thank you! I have homebrew installed. So I just do

brew install python3 ?

Installing the python package that Dima suggested did not help.
I am trying to avoid installing a new operating system right now since I 
anyway ordered a new computer.

Best,

Anne

On Monday, May 25, 2020 at 6:05:42 PM UTC-7, Matthias Koeppe wrote:
>
> I agree, updating the OS if possible, and/or installing homebrew and 
> python3 from homebrew would be the way to go.
>
> On Monday, May 25, 2020 at 4:37:22 PM UTC-7, Dima Pasechnik wrote:
>>
>> Hi Anne, 
>> openssl is a never-ending problem on macOS, and in your case it's made 
>> worse by an old macOS version. 
>> One cannot expect much support and development on macOS 10.12, as it 
>> has reached EOL in 2019. 
>>
>> One way out would be to install Python 3.7 from cpython, and then Sage 
>> will just use it, without building. 
>>
>> https://www.python.org/ftp/python/3.7.7/python-3.7.7-macosx10.9.pkg 
>>
>> (or, alternatively, install Homebrew, then you can use many more 
>> packages from there without building) 
>>
>> HTH 
>> Dima 
>>
>> On Tue, May 26, 2020 at 12:11 AM Anne Schilling 
>>  wrote: 
>> > 
>> > Hi Dima, 
>> > 
>> > Thank you! I have run make distclean and now it gets stuck here: 
>> > 
>> > https://www.math.ucdavis.edu/~anne/python3-3.7.3.p1.log 
>> > 
>> > It looks like there is a problem with openssl. 
>> > 
>> > Any idea? 
>> > 
>> > Anne 
>> > 
>> > On Monday, May 25, 2020 at 10:52:29 AM UTC-7, Dima Pasechnik wrote: 
>> >> 
>> >> Hi Anne, 
>> >> it appears from your config.log that you did not do 
>> >> 
>> >> make distclean 
>> >> 
>> >> moreover, it says that R is already installed, and should not get 
>> reinstalled. 
>> >> 
>> >> Does Sage start? I guess not. 
>> >> If before the latest git pull you had an oldish Sage (closer to 9.0 
>> than to 9.1) 
>> >> it appears that the build system is totally confused. 
>> >> So you most probably need to do distclean. 
>> >> 
>> >> HTH 
>> >> Dima 
>> >> 
>> >> 
>> >> 
>> >> On Mon, 25 May 2020, 17:28 Anne Schilling,  
>> wrote: 
>> >>> 
>> >>> Hi Dima, 
>> >>> 
>> >>> I pulled the changes using git in the master branch and started make 
>> (or make distclean). 
>> >>> This is running on MacOS 10.12.6 . 
>> >>> 
>> >>> https://www.math.ucdavis.edu/~anne/config.log 
>> >>> https://www.math.ucdavis.edu/~anne/r-3.6.2.p0.log 
>> >>> https://www.math.ucdavis.edu/~anne/dochtml.log 
>> >>> 
>> >>> Thank you! 
>> >>> 
>> >>> Anne 
>> >>> 
>> >>> On Monday, May 25, 2020 at 1:29:33 AM UTC-7, Dima Pasechnik wrote: 
>>  
>>  On Mon, May 25, 2020 at 7:44 AM Anne Schilling 
>>   wrote: 
>>  > 
>>  > 
>>  > 
>>  > On Sunday, May 24, 2020 at 10:27:19 PM UTC-7, Matthias Koeppe 
>> wrote: 
>>  >> 
>>  >> Hi Anne, 
>>  >> 
>>  >> On Sunday, May 24, 2020 at 9:40:42 PM UTC-7, Anne Schilling 
>> wrote: 
>>  >>> 
>>  >>> Downloading the Sage mirror list 
>>  >>> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has 
>> syntax error: error code: 1010 
>>  >>> Searching fastest mirror 
>>  >>> ERROR [mirror_list|_rank_mirrors:145]: Could not reach any 
>> mirror directly and no proxy set 
>>  >> 
>>  >> 
>>  >> Here's a workaround: 
>>  >> 
>>  >> echo '["http://files.sagemath.org/";]' > upstream/mirror_list 
>>  >> 
>>  >> 
>>  >> I hope this helps, 
>>  >> Matthias 
>>  > 
>>  > 
>>  > Thank you, that got me a lot further. But now it is stuck here: 
>>  > 
>>  > [matplotlib-2.2.5] running install_egg_info 
>>  > [matplotlib-2.2.5] running egg_info 
>>  > [matplotlib-2.2.5] writing lib/matplotlib.egg-info/PKG-INFO 
>>  > [matplotlib-2.2.5] writing dependency_links to 
>> lib/matplotlib.egg-info/dependency_links.txt 
>>  > [matplotlib-2.2.5] writing namespace_packages to 
>> lib/matplotlib.egg-info/namespace_packages.txt 
>>  > [matplotlib-2.2.5] writing requirements to 
>> lib/matplotlib.egg-info/requires.txt 
>>  > [matplotlib-2.2.5] writing top-level names to 
>> lib/matplotlib.egg-info/top_level.txt 
>>  > [matplotlib-2.2.5] reading manifest file 
>> 'lib/matplotlib.egg-info/SOURCES.txt' 
>>  > [matplotlib-2.2.5] reading manifest template 'MANIFEST.in' 
>>  > [matplotlib-2.2.5] writing manifest file 
>> 'lib/matplotlib.egg-info/SOURCES.txt' 
>>  > [matplotlib-2.2.5] Copying lib/matplotlib.egg-info to 
>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7.egg-info
>>  
>>
>>  > [matplotlib-2.2.5] Installing 
>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7-nspkg.pth
>>  
>>
>>  > [matplotlib-2.2.5] running install_scripts 
>>  > [matplotlib-2.2.5] writing list of installed files to 
>> '/private/var/folders/sq/gx2hlzhj315g48j_8r

Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Matthias Koeppe
I agree, updating the OS if possible, and/or installing homebrew and 
python3 from homebrew would be the way to go.

On Monday, May 25, 2020 at 4:37:22 PM UTC-7, Dima Pasechnik wrote:
>
> Hi Anne, 
> openssl is a never-ending problem on macOS, and in your case it's made 
> worse by an old macOS version. 
> One cannot expect much support and development on macOS 10.12, as it 
> has reached EOL in 2019. 
>
> One way out would be to install Python 3.7 from cpython, and then Sage 
> will just use it, without building. 
>
> https://www.python.org/ftp/python/3.7.7/python-3.7.7-macosx10.9.pkg 
>
> (or, alternatively, install Homebrew, then you can use many more 
> packages from there without building) 
>
> HTH 
> Dima 
>
> On Tue, May 26, 2020 at 12:11 AM Anne Schilling 
> > wrote: 
> > 
> > Hi Dima, 
> > 
> > Thank you! I have run make distclean and now it gets stuck here: 
> > 
> > https://www.math.ucdavis.edu/~anne/python3-3.7.3.p1.log 
> > 
> > It looks like there is a problem with openssl. 
> > 
> > Any idea? 
> > 
> > Anne 
> > 
> > On Monday, May 25, 2020 at 10:52:29 AM UTC-7, Dima Pasechnik wrote: 
> >> 
> >> Hi Anne, 
> >> it appears from your config.log that you did not do 
> >> 
> >> make distclean 
> >> 
> >> moreover, it says that R is already installed, and should not get 
> reinstalled. 
> >> 
> >> Does Sage start? I guess not. 
> >> If before the latest git pull you had an oldish Sage (closer to 9.0 
> than to 9.1) 
> >> it appears that the build system is totally confused. 
> >> So you most probably need to do distclean. 
> >> 
> >> HTH 
> >> Dima 
> >> 
> >> 
> >> 
> >> On Mon, 25 May 2020, 17:28 Anne Schilling,  
> wrote: 
> >>> 
> >>> Hi Dima, 
> >>> 
> >>> I pulled the changes using git in the master branch and started make 
> (or make distclean). 
> >>> This is running on MacOS 10.12.6 . 
> >>> 
> >>> https://www.math.ucdavis.edu/~anne/config.log 
> >>> https://www.math.ucdavis.edu/~anne/r-3.6.2.p0.log 
> >>> https://www.math.ucdavis.edu/~anne/dochtml.log 
> >>> 
> >>> Thank you! 
> >>> 
> >>> Anne 
> >>> 
> >>> On Monday, May 25, 2020 at 1:29:33 AM UTC-7, Dima Pasechnik wrote: 
>  
>  On Mon, May 25, 2020 at 7:44 AM Anne Schilling 
>   wrote: 
>  > 
>  > 
>  > 
>  > On Sunday, May 24, 2020 at 10:27:19 PM UTC-7, Matthias Koeppe 
> wrote: 
>  >> 
>  >> Hi Anne, 
>  >> 
>  >> On Sunday, May 24, 2020 at 9:40:42 PM UTC-7, Anne Schilling wrote: 
>  >>> 
>  >>> Downloading the Sage mirror list 
>  >>> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has 
> syntax error: error code: 1010 
>  >>> Searching fastest mirror 
>  >>> ERROR [mirror_list|_rank_mirrors:145]: Could not reach any mirror 
> directly and no proxy set 
>  >> 
>  >> 
>  >> Here's a workaround: 
>  >> 
>  >> echo '["http://files.sagemath.org/";]' > upstream/mirror_list 
>  >> 
>  >> 
>  >> I hope this helps, 
>  >> Matthias 
>  > 
>  > 
>  > Thank you, that got me a lot further. But now it is stuck here: 
>  > 
>  > [matplotlib-2.2.5] running install_egg_info 
>  > [matplotlib-2.2.5] running egg_info 
>  > [matplotlib-2.2.5] writing lib/matplotlib.egg-info/PKG-INFO 
>  > [matplotlib-2.2.5] writing dependency_links to 
> lib/matplotlib.egg-info/dependency_links.txt 
>  > [matplotlib-2.2.5] writing namespace_packages to 
> lib/matplotlib.egg-info/namespace_packages.txt 
>  > [matplotlib-2.2.5] writing requirements to 
> lib/matplotlib.egg-info/requires.txt 
>  > [matplotlib-2.2.5] writing top-level names to 
> lib/matplotlib.egg-info/top_level.txt 
>  > [matplotlib-2.2.5] reading manifest file 
> 'lib/matplotlib.egg-info/SOURCES.txt' 
>  > [matplotlib-2.2.5] reading manifest template 'MANIFEST.in' 
>  > [matplotlib-2.2.5] writing manifest file 
> 'lib/matplotlib.egg-info/SOURCES.txt' 
>  > [matplotlib-2.2.5] Copying lib/matplotlib.egg-info to 
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7.egg-info
>  
>
>  > [matplotlib-2.2.5] Installing 
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7-nspkg.pth
>  
>
>  > [matplotlib-2.2.5] running install_scripts 
>  > [matplotlib-2.2.5] writing list of installed files to 
> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-record-rmt5izi9/install-record.txt'
>  
>
>  > [matplotlib-2.2.5] Running setup.py install for matplotlib: 
> finished with status 'done' 
>  > [matplotlib-2.2.5]   Removing source in 
> /private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-build-l19fxrx8
>  
>
>  > [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5 
>  > [matplotlib-2.2.5] Cleaning up... 
>  > [matplotlib-2.2.5] Removed build tracker 
> 

Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Dima Pasechnik
Hi Anne,
openssl is a never-ending problem on macOS, and in your case it's made
worse by an old macOS version.
One cannot expect much support and development on macOS 10.12, as it
has reached EOL in 2019.

One way out would be to install Python 3.7 from cpython, and then Sage
will just use it, without building.

https://www.python.org/ftp/python/3.7.7/python-3.7.7-macosx10.9.pkg

(or, alternatively, install Homebrew, then you can use many more
packages from there without building)

HTH
Dima

On Tue, May 26, 2020 at 12:11 AM Anne Schilling
 wrote:
>
> Hi Dima,
>
> Thank you! I have run make distclean and now it gets stuck here:
>
> https://www.math.ucdavis.edu/~anne/python3-3.7.3.p1.log
>
> It looks like there is a problem with openssl.
>
> Any idea?
>
> Anne
>
> On Monday, May 25, 2020 at 10:52:29 AM UTC-7, Dima Pasechnik wrote:
>>
>> Hi Anne,
>> it appears from your config.log that you did not do
>>
>> make distclean
>>
>> moreover, it says that R is already installed, and should not get 
>> reinstalled.
>>
>> Does Sage start? I guess not.
>> If before the latest git pull you had an oldish Sage (closer to 9.0 than to 
>> 9.1)
>> it appears that the build system is totally confused.
>> So you most probably need to do distclean.
>>
>> HTH
>> Dima
>>
>>
>>
>> On Mon, 25 May 2020, 17:28 Anne Schilling,  wrote:
>>>
>>> Hi Dima,
>>>
>>> I pulled the changes using git in the master branch and started make (or 
>>> make distclean).
>>> This is running on MacOS 10.12.6 .
>>>
>>> https://www.math.ucdavis.edu/~anne/config.log
>>> https://www.math.ucdavis.edu/~anne/r-3.6.2.p0.log
>>> https://www.math.ucdavis.edu/~anne/dochtml.log
>>>
>>> Thank you!
>>>
>>> Anne
>>>
>>> On Monday, May 25, 2020 at 1:29:33 AM UTC-7, Dima Pasechnik wrote:

 On Mon, May 25, 2020 at 7:44 AM Anne Schilling
  wrote:
 >
 >
 >
 > On Sunday, May 24, 2020 at 10:27:19 PM UTC-7, Matthias Koeppe wrote:
 >>
 >> Hi Anne,
 >>
 >> On Sunday, May 24, 2020 at 9:40:42 PM UTC-7, Anne Schilling wrote:
 >>>
 >>> Downloading the Sage mirror list
 >>> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax 
 >>> error: error code: 1010
 >>> Searching fastest mirror
 >>> ERROR [mirror_list|_rank_mirrors:145]: Could not reach any mirror 
 >>> directly and no proxy set
 >>
 >>
 >> Here's a workaround:
 >>
 >> echo '["http://files.sagemath.org/";]' > upstream/mirror_list
 >>
 >>
 >> I hope this helps,
 >> Matthias
 >
 >
 > Thank you, that got me a lot further. But now it is stuck here:
 >
 > [matplotlib-2.2.5] running install_egg_info
 > [matplotlib-2.2.5] running egg_info
 > [matplotlib-2.2.5] writing lib/matplotlib.egg-info/PKG-INFO
 > [matplotlib-2.2.5] writing dependency_links to 
 > lib/matplotlib.egg-info/dependency_links.txt
 > [matplotlib-2.2.5] writing namespace_packages to 
 > lib/matplotlib.egg-info/namespace_packages.txt
 > [matplotlib-2.2.5] writing requirements to 
 > lib/matplotlib.egg-info/requires.txt
 > [matplotlib-2.2.5] writing top-level names to 
 > lib/matplotlib.egg-info/top_level.txt
 > [matplotlib-2.2.5] reading manifest file 
 > 'lib/matplotlib.egg-info/SOURCES.txt'
 > [matplotlib-2.2.5] reading manifest template 'MANIFEST.in'
 > [matplotlib-2.2.5] writing manifest file 
 > 'lib/matplotlib.egg-info/SOURCES.txt'
 > [matplotlib-2.2.5] Copying lib/matplotlib.egg-info to 
 > /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7.egg-info
 > [matplotlib-2.2.5] Installing 
 > /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7-nspkg.pth
 > [matplotlib-2.2.5] running install_scripts
 > [matplotlib-2.2.5] writing list of installed files to 
 > '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-record-rmt5izi9/install-record.txt'
 > [matplotlib-2.2.5] Running setup.py install for matplotlib: finished 
 > with status 'done'
 > [matplotlib-2.2.5]   Removing source in 
 > /private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-build-l19fxrx8
 > [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5
 > [matplotlib-2.2.5] Cleaning up...
 > [matplotlib-2.2.5] Removed build tracker 
 > '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-tracker-rxz0bq3j'
 > [matplotlib-2.2.5]
 > [matplotlib-2.2.5] real6m10.218s
 > [matplotlib-2.2.5] user0m35.266s
 > [matplotlib-2.2.5] sys0m4.548s
 > [matplotlib-2.2.5] Copying package files from temporary location 
 > /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst to 
 > /Applications/sage/local
 > [matplotlib-2.2.5] Successfully installe

Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Anne Schilling
Hi Dima,

Thank you! I have run make distclean and now it gets stuck here:

https://www.math.ucdavis.edu/~anne/python3-3.7.3.p1.log

It looks like there is a problem with openssl.

Any idea?

Anne

On Monday, May 25, 2020 at 10:52:29 AM UTC-7, Dima Pasechnik wrote:
>
> Hi Anne,
> it appears from your config.log that you did not do 
>
> make distclean
>
> moreover, it says that R is already installed, and should not get 
> reinstalled.
>
> Does Sage start? I guess not.
> If before the latest git pull you had an oldish Sage (closer to 9.0 than 
> to 9.1)
> it appears that the build system is totally confused.
> So you most probably need to do distclean.
>
> HTH
> Dima
>
>
>
> On Mon, 25 May 2020, 17:28 Anne Schilling,  > wrote:
>
>> Hi Dima,
>>
>> I pulled the changes using git in the master branch and started make (or 
>> make distclean).
>> This is running on MacOS 10.12.6 .
>>
>> https://www.math.ucdavis.edu/~anne/config.log
>> https://www.math.ucdavis.edu/~anne/r-3.6.2.p0.log
>> https://www.math.ucdavis.edu/~anne/dochtml.log
>>
>> Thank you!
>>
>> Anne
>>
>> On Monday, May 25, 2020 at 1:29:33 AM UTC-7, Dima Pasechnik wrote:
>>>
>>> On Mon, May 25, 2020 at 7:44 AM Anne Schilling 
>>>  wrote: 
>>> > 
>>> > 
>>> > 
>>> > On Sunday, May 24, 2020 at 10:27:19 PM UTC-7, Matthias Koeppe wrote: 
>>> >> 
>>> >> Hi Anne, 
>>> >> 
>>> >> On Sunday, May 24, 2020 at 9:40:42 PM UTC-7, Anne Schilling wrote: 
>>> >>> 
>>> >>> Downloading the Sage mirror list 
>>> >>> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax 
>>> error: error code: 1010 
>>> >>> Searching fastest mirror 
>>> >>> ERROR [mirror_list|_rank_mirrors:145]: Could not reach any mirror 
>>> directly and no proxy set 
>>> >> 
>>> >> 
>>> >> Here's a workaround: 
>>> >> 
>>> >> echo '["http://files.sagemath.org/";]' > upstream/mirror_list 
>>> >> 
>>> >> 
>>> >> I hope this helps, 
>>> >> Matthias 
>>> > 
>>> > 
>>> > Thank you, that got me a lot further. But now it is stuck here: 
>>> > 
>>> > [matplotlib-2.2.5] running install_egg_info 
>>> > [matplotlib-2.2.5] running egg_info 
>>> > [matplotlib-2.2.5] writing lib/matplotlib.egg-info/PKG-INFO 
>>> > [matplotlib-2.2.5] writing dependency_links to 
>>> lib/matplotlib.egg-info/dependency_links.txt 
>>> > [matplotlib-2.2.5] writing namespace_packages to 
>>> lib/matplotlib.egg-info/namespace_packages.txt 
>>> > [matplotlib-2.2.5] writing requirements to 
>>> lib/matplotlib.egg-info/requires.txt 
>>> > [matplotlib-2.2.5] writing top-level names to 
>>> lib/matplotlib.egg-info/top_level.txt 
>>> > [matplotlib-2.2.5] reading manifest file 
>>> 'lib/matplotlib.egg-info/SOURCES.txt' 
>>> > [matplotlib-2.2.5] reading manifest template 'MANIFEST.in' 
>>> > [matplotlib-2.2.5] writing manifest file 
>>> 'lib/matplotlib.egg-info/SOURCES.txt' 
>>> > [matplotlib-2.2.5] Copying lib/matplotlib.egg-info to 
>>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7.egg-info
>>>  
>>>
>>> > [matplotlib-2.2.5] Installing 
>>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7-nspkg.pth
>>>  
>>>
>>> > [matplotlib-2.2.5] running install_scripts 
>>> > [matplotlib-2.2.5] writing list of installed files to 
>>> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-record-rmt5izi9/install-record.txt'
>>>  
>>>
>>> > [matplotlib-2.2.5] Running setup.py install for matplotlib: 
>>> finished with status 'done' 
>>> > [matplotlib-2.2.5]   Removing source in 
>>> /private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-build-l19fxrx8
>>>  
>>>
>>> > [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5 
>>> > [matplotlib-2.2.5] Cleaning up... 
>>> > [matplotlib-2.2.5] Removed build tracker 
>>> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-tracker-rxz0bq3j'
>>>  
>>>
>>> > [matplotlib-2.2.5] 
>>> > [matplotlib-2.2.5] real6m10.218s 
>>> > [matplotlib-2.2.5] user0m35.266s 
>>> > [matplotlib-2.2.5] sys0m4.548s 
>>> > [matplotlib-2.2.5] Copying package files from temporary location 
>>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst to 
>>> /Applications/sage/local 
>>> > [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5 
>>> > [matplotlib-2.2.5] Deleting temporary build directory 
>>> > [matplotlib-2.2.5] 
>>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5 
>>> > [matplotlib-2.2.5] Finished installing matplotlib-2.2.5.spkg 
>>> > make[2]: *** [all-start] Error 2 
>>> > 
>>> > real48m47.186s 
>>> > user162m58.074s 
>>> > sys27m3.413s 
>>> > *** 
>>> > Error building Sage. 
>>> > 
>>> > The following package(s) may have failed to build (not necessarily 
>>> > during this run of 'make all-start'): 
>>> > 
>>> > * package:  

[sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-25 Thread rjf
It looks like you have written a recursive descent parser. And a display.
If you were running Maxima on a Pi, (see sourceforge for download)
you would have a parser and a display without writing it yourself.

  Just looking at the code briefly, I think you have to decide
if you actually meet your own specs.  I don't know what sympy will
provide, so maybe it is really OK.

For example,

a*b*c*d*e = a*g*c*d*f
divide by b*d  do you get

a*c*e = a*g*c*f/b  ?


or more seriously,  (x^2-1)/(x+1)   to get (x-1) ?

I would be surprised if you were the first person to write
a parser like this in Python, but it is a learning experience.

Good luck.





On Monday, May 25, 2020 at 12:49:09 PM UTC-7, Jonathan wrote:
>
> As promised here is a git repository 
>  with a myBinder 
> demonstration of what I have so far. Once I extend it to handling 
> inequalities, it will more than meet my use case needs.
>
> Some have asked for more specifics. Here is a list of some of the more 
> important requirements:
>
> 1) Can be installed in a plain vanilla python3 virtual environment via pip 
> or simply as a python file to be loaded.
> 2) Does not conflict with SymPy or NumPy.
> 3) Will load and run fast enough to avoid user complaints on a Raspberry 
> Pi. One initial use case is being combined with Pi data acquisition 
> hardware and python tools for controlling them.
> 4) Makes sense to scientists in the fields of Physics, Chemistry and 
> Biology.
>
> Thanks,
> Jonathan
>
> On Thursday, May 21, 2020 at 8:30:42 AM UTC-5, Jonathan wrote:
>>
>> Dear All,
>>
>> I have a use case where I need something lighter weight than the whole of 
>> Sagemath. I think SymPy + the ability to handle math on symbolic equations 
>> as Sagemath does it might be enough. Thus I wanted to see if I could 
>> extract from Sagemath the code supporting math on symbolic expressions and 
>> overlay that on SymPy or at least use that as a template. Can somebody 
>> please point me to the place to start looking in the codebase?
>>
>> To make sure people understand what I am interested in, here is a simple 
>> example of the ability I would like to extract:
>> >>>eq1 = p*V==n*R*T
>> >>>eq1
>> p*V=n*R*T
>> >>>eq2=eq1/V
>> >>>eq2
>> p=n*R*T/V
>>
>> Thanks,
>> Jonathan
>>
>

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/579775eb-c74a-4dcc-a76c-8a8ebe6a5ca6%40googlegroups.com.


[sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-25 Thread Jonathan
As promised here is a git repository 
 with a myBinder demonstration 
of what I have so far. Once I extend it to handling inequalities, it will 
more than meet my use case needs.

Some have asked for more specifics. Here is a list of some of the more 
important requirements:

1) Can be installed in a plain vanilla python3 virtual environment via pip 
or simply as a python file to be loaded.
2) Does not conflict with SymPy or NumPy.
3) Will load and run fast enough to avoid user complaints on a Raspberry 
Pi. One initial use case is being combined with Pi data acquisition 
hardware and python tools for controlling them.
4) Makes sense to scientists in the fields of Physics, Chemistry and 
Biology.

Thanks,
Jonathan

On Thursday, May 21, 2020 at 8:30:42 AM UTC-5, Jonathan wrote:
>
> Dear All,
>
> I have a use case where I need something lighter weight than the whole of 
> Sagemath. I think SymPy + the ability to handle math on symbolic equations 
> as Sagemath does it might be enough. Thus I wanted to see if I could 
> extract from Sagemath the code supporting math on symbolic expressions and 
> overlay that on SymPy or at least use that as a template. Can somebody 
> please point me to the place to start looking in the codebase?
>
> To make sure people understand what I am interested in, here is a simple 
> example of the ability I would like to extract:
> >>>eq1 = p*V==n*R*T
> >>>eq1
> p*V=n*R*T
> >>>eq2=eq1/V
> >>>eq2
> p=n*R*T/V
>
> Thanks,
> Jonathan
>

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/c3d6cee5-30b1-4a40-ace0-97d0d86bc839%40googlegroups.com.


Re: [sage-devel] Re: Could someone point me to the code that supports math on symbolic equations?

2020-05-25 Thread rjf
You haven't provided enough information about your environment, but it is
generally feasible to acquire data in Maxima from a file or a socket or a 
stream.
Or compute numerical stuff, generate random numbers, read from a
keyboard, web page...etc.

Given that you are familiar with a particular programming language (here, 
Python)
that is not a symbolic math system your approach probably is structured as 
follows:

   Your (mostly already written?) python program
 does stuff  A 
  then somehow calls your symbolic math program as a subroutine on data 
B 
 then does something with the returned answer  C

.  There are a few questions here:  your program must format something
to be input to the symbolic math program.  It could be a string, or maybe
something that looks like a tree with pointers, or lisp list.  Any of these
forms may be tricky to produce correctly. You need to know about the 
symbolic math pgm.

Later, your program must receive an answer from the symbolic program.
Maybe it is just  "true"  or 43.  But if it is a symbolic expression, then
it is maybe a string or a tree with pointers.  Or maybe you are just
displaying it?? Anyway, you may need to know even more about the symbolic 
math pgm.

Generally, it may be tricky for your program to accept the answer.

(this is really a standard question for the ages --  
Physicist:  can you do symbolic math for me.

Computer scientist:   OK, we can compute "sin(x)*exp(x^2)"  
  What are you going to do with this in your Fortran program?
Physicist:  uh, evaluate it at x=.1, .2, .3 ...
Computer scientist:  you mean to call a compiler??  you can just
let the symbolic math program do the evaluation, write it into a file,
or just plot the curve directly..
Physicist: You can do all that?  But my program runs ... < excuses...>
)


So you are possibly committing yourself to writing a parser,
a string output display,  calling a compiler??? ... what else?

Here's another structure:

Start up Maxima and load a program that does "stuff A".   It might
even do "stuff A" by calling Python.  Maxima is written in Lisp,
and there are ways of calling Python.  Or the code could be
written in Lisp (compiled, maybe faster than Python?) or in the
Maxima language.

  Any of these languages can acquire info from a user, if
that is what is in your task. Error checking of symbolic
formula input is already written.

  Having done stuff A, the symbolic part is ready to roll..
What to do with the answer? 
 Whatever.   Maxima can decompose the answer, or display
it or write to a file ... If it is
necessary to run in Python, it is again possible to
call Python.  (And hand it a string or lisp/maxima structure).
If python is called,   It can return to Maxima, and Maxima can loop back
for the next iteration.

.
If you absolutely have to have Python as "the boss"  you could still do 
this:

Start up a python system that does almost nothing but initialize
Maxima and call it.
   Then use the structure outlined above.

For what it is worth, I have directly called python library routines
(interfaces to multiple-precision arithmetic, as it happens) from lisp.
Whether this approach is feasible is probably not a technical
question -- just depends on what you are comfortable doing.

It may be too late to consider this kind of change, and it may be
a bad fit for your application for some other reason.  In which
case maybe think about this for your next project.

If you insist on calling the symbolic math program as a subroutine,
perhaps the simplest interface is to invoke Maxima on some input
from a command line.  If your task is simple enough.



RJF







On Sunday, May 24, 2020 at 3:49:18 PM UTC-7, Jonathan wrote:
>
> Although a good idea, I don't think I can make it simple enough to set up 
> inside a data acquisition environment that depends on Python. This would 
> require installing Maxima and all the connector software. The people using 
> this are unlikely to do anything that requires more than a `pip 
> install...`. Once Sagemath can cleanly install using pip, this problem will 
> be solved on systems with enough processing power and memory. I've almost 
> get everything needed working already. I will post a link to the github 
> repository as soon as I post the first version.
>
> Thanks to all for the suggestions.
> Jonathan
>
> On Sunday, May 24, 2020 at 12:00:00 PM UTC-5, rjf wrote:
>>
>> It seems to me that the obvious thing is not to extract parts from 
>> SageMath, but
>> just use Maxima, which is a part, but also an entire symbolic math 
>> system, 
>>
>> Your example looks like this:   ( assignment is ":"   equations use "=".  
>> a command is terminated by ";" )
>>
>> eq1 : p*V = n*r*t ;
>> eq1/V;
>>
>>returns p = (n*r*t)/V
>>
>> RJF
>>
>> On Friday, May 22, 2020 at 5:47:35 PM UTC-7, Samuel Lelievre wrote:
>>>
>>> Le samedi 23 mai 2020 02:14:58 UTC+2, Dima:
>>> >
>>> > Conda does have Sagemath available.
>>> > Not 100% sure how it works on Windows, thoug

Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Dima Pasechnik
Hi Anne,
it appears from your config.log that you did not do

make distclean

moreover, it says that R is already installed, and should not get
reinstalled.

Does Sage start? I guess not.
If before the latest git pull you had an oldish Sage (closer to 9.0 than to
9.1)
it appears that the build system is totally confused.
So you most probably need to do distclean.

HTH
Dima



On Mon, 25 May 2020, 17:28 Anne Schilling, 
wrote:

> Hi Dima,
>
> I pulled the changes using git in the master branch and started make (or
> make distclean).
> This is running on MacOS 10.12.6 .
>
> https://www.math.ucdavis.edu/~anne/config.log
> https://www.math.ucdavis.edu/~anne/r-3.6.2.p0.log
> https://www.math.ucdavis.edu/~anne/dochtml.log
>
> Thank you!
>
> Anne
>
> On Monday, May 25, 2020 at 1:29:33 AM UTC-7, Dima Pasechnik wrote:
>>
>> On Mon, May 25, 2020 at 7:44 AM Anne Schilling
>>  wrote:
>> >
>> >
>> >
>> > On Sunday, May 24, 2020 at 10:27:19 PM UTC-7, Matthias Koeppe wrote:
>> >>
>> >> Hi Anne,
>> >>
>> >> On Sunday, May 24, 2020 at 9:40:42 PM UTC-7, Anne Schilling wrote:
>> >>>
>> >>> Downloading the Sage mirror list
>> >>> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax
>> error: error code: 1010
>> >>> Searching fastest mirror
>> >>> ERROR [mirror_list|_rank_mirrors:145]: Could not reach any mirror
>> directly and no proxy set
>> >>
>> >>
>> >> Here's a workaround:
>> >>
>> >> echo '["http://files.sagemath.org/";]' > upstream/mirror_list
>> >>
>> >>
>> >> I hope this helps,
>> >> Matthias
>> >
>> >
>> > Thank you, that got me a lot further. But now it is stuck here:
>> >
>> > [matplotlib-2.2.5] running install_egg_info
>> > [matplotlib-2.2.5] running egg_info
>> > [matplotlib-2.2.5] writing lib/matplotlib.egg-info/PKG-INFO
>> > [matplotlib-2.2.5] writing dependency_links to
>> lib/matplotlib.egg-info/dependency_links.txt
>> > [matplotlib-2.2.5] writing namespace_packages to
>> lib/matplotlib.egg-info/namespace_packages.txt
>> > [matplotlib-2.2.5] writing requirements to
>> lib/matplotlib.egg-info/requires.txt
>> > [matplotlib-2.2.5] writing top-level names to
>> lib/matplotlib.egg-info/top_level.txt
>> > [matplotlib-2.2.5] reading manifest file
>> 'lib/matplotlib.egg-info/SOURCES.txt'
>> > [matplotlib-2.2.5] reading manifest template 'MANIFEST.in'
>> > [matplotlib-2.2.5] writing manifest file
>> 'lib/matplotlib.egg-info/SOURCES.txt'
>> > [matplotlib-2.2.5] Copying lib/matplotlib.egg-info to
>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7.egg-info
>>
>> > [matplotlib-2.2.5] Installing
>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7-nspkg.pth
>>
>> > [matplotlib-2.2.5] running install_scripts
>> > [matplotlib-2.2.5] writing list of installed files to
>> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-record-rmt5izi9/install-record.txt'
>>
>> > [matplotlib-2.2.5] Running setup.py install for matplotlib:
>> finished with status 'done'
>> > [matplotlib-2.2.5]   Removing source in
>> /private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-build-l19fxrx8
>>
>> > [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5
>> > [matplotlib-2.2.5] Cleaning up...
>> > [matplotlib-2.2.5] Removed build tracker
>> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-tracker-rxz0bq3j'
>>
>> > [matplotlib-2.2.5]
>> > [matplotlib-2.2.5] real6m10.218s
>> > [matplotlib-2.2.5] user0m35.266s
>> > [matplotlib-2.2.5] sys0m4.548s
>> > [matplotlib-2.2.5] Copying package files from temporary location
>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst to
>> /Applications/sage/local
>> > [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5
>> > [matplotlib-2.2.5] Deleting temporary build directory
>> > [matplotlib-2.2.5]
>> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5
>> > [matplotlib-2.2.5] Finished installing matplotlib-2.2.5.spkg
>> > make[2]: *** [all-start] Error 2
>> >
>> > real48m47.186s
>> > user162m58.074s
>> > sys27m3.413s
>> > ***
>> > Error building Sage.
>> >
>> > The following package(s) may have failed to build (not necessarily
>> > during this run of 'make all-start'):
>> >
>> > * package: r-3.6.2.p0
>> >   last build time: May 24 23:28
>> >   log file:/Applications/sage/logs/pkgs/r-3.6.2.p0.log
>> >   build directory:
>> /Applications/sage/local/var/tmp/sage/build/r-3.6.2.p0
>> >
>> > * documentation: dochtml
>> >   last build time: May 24 22:43
>> >   log file:/Applications/sage/logs/pkgs/../dochtml.log
>> >
>> > It is safe to delete any log files and build directories, but they
>> > contain information that is helpful for debugging build problems.
>> > WARNING: If you now r

Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Anne Schilling
Hi Dima,

I pulled the changes using git in the master branch and started make (or 
make distclean).
This is running on MacOS 10.12.6 .

https://www.math.ucdavis.edu/~anne/config.log
https://www.math.ucdavis.edu/~anne/r-3.6.2.p0.log
https://www.math.ucdavis.edu/~anne/dochtml.log

Thank you!

Anne

On Monday, May 25, 2020 at 1:29:33 AM UTC-7, Dima Pasechnik wrote:
>
> On Mon, May 25, 2020 at 7:44 AM Anne Schilling 
> > wrote: 
> > 
> > 
> > 
> > On Sunday, May 24, 2020 at 10:27:19 PM UTC-7, Matthias Koeppe wrote: 
> >> 
> >> Hi Anne, 
> >> 
> >> On Sunday, May 24, 2020 at 9:40:42 PM UTC-7, Anne Schilling wrote: 
> >>> 
> >>> Downloading the Sage mirror list 
> >>> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax 
> error: error code: 1010 
> >>> Searching fastest mirror 
> >>> ERROR [mirror_list|_rank_mirrors:145]: Could not reach any mirror 
> directly and no proxy set 
> >> 
> >> 
> >> Here's a workaround: 
> >> 
> >> echo '["http://files.sagemath.org/";]' > upstream/mirror_list 
> >> 
> >> 
> >> I hope this helps, 
> >> Matthias 
> > 
> > 
> > Thank you, that got me a lot further. But now it is stuck here: 
> > 
> > [matplotlib-2.2.5] running install_egg_info 
> > [matplotlib-2.2.5] running egg_info 
> > [matplotlib-2.2.5] writing lib/matplotlib.egg-info/PKG-INFO 
> > [matplotlib-2.2.5] writing dependency_links to 
> lib/matplotlib.egg-info/dependency_links.txt 
> > [matplotlib-2.2.5] writing namespace_packages to 
> lib/matplotlib.egg-info/namespace_packages.txt 
> > [matplotlib-2.2.5] writing requirements to 
> lib/matplotlib.egg-info/requires.txt 
> > [matplotlib-2.2.5] writing top-level names to 
> lib/matplotlib.egg-info/top_level.txt 
> > [matplotlib-2.2.5] reading manifest file 
> 'lib/matplotlib.egg-info/SOURCES.txt' 
> > [matplotlib-2.2.5] reading manifest template 'MANIFEST.in' 
> > [matplotlib-2.2.5] writing manifest file 
> 'lib/matplotlib.egg-info/SOURCES.txt' 
> > [matplotlib-2.2.5] Copying lib/matplotlib.egg-info to 
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7.egg-info
>  
>
> > [matplotlib-2.2.5] Installing 
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7-nspkg.pth
>  
>
> > [matplotlib-2.2.5] running install_scripts 
> > [matplotlib-2.2.5] writing list of installed files to 
> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-record-rmt5izi9/install-record.txt'
>  
>
> > [matplotlib-2.2.5] Running setup.py install for matplotlib: finished 
> with status 'done' 
> > [matplotlib-2.2.5]   Removing source in 
> /private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-build-l19fxrx8
>  
>
> > [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5 
> > [matplotlib-2.2.5] Cleaning up... 
> > [matplotlib-2.2.5] Removed build tracker 
> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-tracker-rxz0bq3j'
>  
>
> > [matplotlib-2.2.5] 
> > [matplotlib-2.2.5] real6m10.218s 
> > [matplotlib-2.2.5] user0m35.266s 
> > [matplotlib-2.2.5] sys0m4.548s 
> > [matplotlib-2.2.5] Copying package files from temporary location 
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst to 
> /Applications/sage/local 
> > [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5 
> > [matplotlib-2.2.5] Deleting temporary build directory 
> > [matplotlib-2.2.5] 
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5 
> > [matplotlib-2.2.5] Finished installing matplotlib-2.2.5.spkg 
> > make[2]: *** [all-start] Error 2 
> > 
> > real48m47.186s 
> > user162m58.074s 
> > sys27m3.413s 
> > *** 
> > Error building Sage. 
> > 
> > The following package(s) may have failed to build (not necessarily 
> > during this run of 'make all-start'): 
> > 
> > * package: r-3.6.2.p0 
> >   last build time: May 24 23:28 
> >   log file:/Applications/sage/logs/pkgs/r-3.6.2.p0.log 
> >   build directory: 
> /Applications/sage/local/var/tmp/sage/build/r-3.6.2.p0 
> > 
> > * documentation: dochtml 
> >   last build time: May 24 22:43 
> >   log file:/Applications/sage/logs/pkgs/../dochtml.log 
> > 
> > It is safe to delete any log files and build directories, but they 
> > contain information that is helpful for debugging build problems. 
> > WARNING: If you now run 'make' again, the build directory of the 
> > same version of the package will, by default, be deleted. Set the 
> > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. 
> > 
> > make[1]: *** [all-start] Error 1 
> > make: *** [all] Error 2 
> > 
> >  I can provide the log files if necessary. 
> > 
>
> Are you building from scratch? 
> What is your setup? (Sage nowadays supports building with Homebrew 
> packages) 
>
> Yes, nat

Re: [sage-devel] Re: Have you considered having a Sage Journal?

2020-05-25 Thread Ursula Whitcher
It might also be worth looking at the Journal of Software in Algebra and 
Geometry:



https://msp.org/jsag/about/journal/about.html


Their current focus is Macaulay2, but as I recall, some of the editors 
have previously expressed interest in including Sage-based articles as well.



UAW


On 5/25/2020 9:11 AM, kcrisman wrote:



On Sunday, May 24, 2020 at 2:44:12 AM UTC-4, Diego Sejas wrote:

Hello, Sage Community!

I am not completely sure that this is the correct place to propose
an idea like this, but I think that here it can be upvoted or
downvoted, and commented.

I have been thinking for a long time that the Sage Community
should have a Journal for everyone of us being able to read what
is going on with Sage; how it is being used in research,
education, etc.; what improvements have been made; etc., etc.,
etc. Perhaps an annual publication, so it is not so much of a
burden for the editors (?).

Since the *Global Virtual SageDays 109* is approaching (yay!!!),
it could be a good moment to discuss this idea with the community.
Actually, I can see that somebody already asked about how people
is using Sage in research, education, etc.

(https://ask.sagemath.org/question/51524/how-do-you-use-sagemath-in-research-education/)


That could evolve into a small journal with a few articles about
the use of Sage, if enough people collaborate.


There was actually a proposal like this quite a long time ago:

https://web.archive.org/web/20100615075428/https://www.sagemath.org/jsage/ref.html

The idea was to have a place where people could publish code in a 
refereed sense.  To my recollection, at that time there wasn't enough 
interest from academic departments (and perhaps still isn't) in 
awarding promotion based on such code.


Other groups do have such publications, e.g. the TuGboat 
(https://tug.org/tugboat/) for TeX or the R Journal 
(https://journal.r-project.org).  I think those that do may have an 
order of magnitude higher number of "power users", though.  But it 
would be great to have something like this for Sage.  An annual 
edition would seem reasonable, and certainly would be great for 
visibility/publicity (see the moribund 
https://groups.google.com/forum/#!forum/sage-marketing for one of many 
attempts at this).

--
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...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/a5ac24e2-76bc-482e-b65d-90c9f9e3c4fd%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 sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/40b10edb-d351-5c72-c2c0-de31e6b09e32%40umich.edu.


[sage-devel] Re: Have you considered having a Sage Journal?

2020-05-25 Thread kcrisman


On Sunday, May 24, 2020 at 2:44:12 AM UTC-4, Diego Sejas wrote:
>
> Hello, Sage Community!
>
> I am not completely sure that this is the correct place to propose an idea 
> like this, but I think that here it can be upvoted or downvoted, and 
> commented.
>
> I have been thinking for a long time that the Sage Community should have a 
> Journal for everyone of us being able to read what is going on with Sage; 
> how it is being used in research, education, etc.; what improvements have 
> been made; etc., etc., etc. Perhaps an annual publication, so it is not so 
> much of a burden for the editors (?).
>
> Since the *Global Virtual SageDays 109* is approaching (yay!!!), it could 
> be a good moment to discuss this idea with the community. Actually, I can 
> see that somebody already asked about how people is using Sage in research, 
> education, etc. (
> https://ask.sagemath.org/question/51524/how-do-you-use-sagemath-in-research-education/)
>  
> 
>  
> That could evolve into a small journal with a few articles about the use of 
> Sage, if enough people collaborate.
>

There was actually a proposal like this quite a long time ago:

https://web.archive.org/web/20100615075428/https://www.sagemath.org/jsage/ref.html

The idea was to have a place where people could publish code in a refereed 
sense.  To my recollection, at that time there wasn't enough interest from 
academic departments (and perhaps still isn't) in awarding promotion based 
on such code.

Other groups do have such publications, e.g. the TuGboat 
(https://tug.org/tugboat/) for TeX or the R Journal 
(https://journal.r-project.org).  I think those that do may have an order 
of magnitude higher number of "power users", though.  But it would be great 
to have something like this for Sage.  An annual edition would seem 
reasonable, and certainly would be great for visibility/publicity (see the 
moribund https://groups.google.com/forum/#!forum/sage-marketing for one of 
many attempts at this).

-- 
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...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/a5ac24e2-76bc-482e-b65d-90c9f9e3c4fd%40googlegroups.com.


Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Dima Pasechnik
On Mon, May 25, 2020 at 7:44 AM Anne Schilling
 wrote:
>
>
>
> On Sunday, May 24, 2020 at 10:27:19 PM UTC-7, Matthias Koeppe wrote:
>>
>> Hi Anne,
>>
>> On Sunday, May 24, 2020 at 9:40:42 PM UTC-7, Anne Schilling wrote:
>>>
>>> Downloading the Sage mirror list
>>> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax error: 
>>> error code: 1010
>>> Searching fastest mirror
>>> ERROR [mirror_list|_rank_mirrors:145]: Could not reach any mirror directly 
>>> and no proxy set
>>
>>
>> Here's a workaround:
>>
>> echo '["http://files.sagemath.org/";]' > upstream/mirror_list
>>
>>
>> I hope this helps,
>> Matthias
>
>
> Thank you, that got me a lot further. But now it is stuck here:
>
> [matplotlib-2.2.5] running install_egg_info
> [matplotlib-2.2.5] running egg_info
> [matplotlib-2.2.5] writing lib/matplotlib.egg-info/PKG-INFO
> [matplotlib-2.2.5] writing dependency_links to 
> lib/matplotlib.egg-info/dependency_links.txt
> [matplotlib-2.2.5] writing namespace_packages to 
> lib/matplotlib.egg-info/namespace_packages.txt
> [matplotlib-2.2.5] writing requirements to 
> lib/matplotlib.egg-info/requires.txt
> [matplotlib-2.2.5] writing top-level names to 
> lib/matplotlib.egg-info/top_level.txt
> [matplotlib-2.2.5] reading manifest file 
> 'lib/matplotlib.egg-info/SOURCES.txt'
> [matplotlib-2.2.5] reading manifest template 'MANIFEST.in'
> [matplotlib-2.2.5] writing manifest file 
> 'lib/matplotlib.egg-info/SOURCES.txt'
> [matplotlib-2.2.5] Copying lib/matplotlib.egg-info to 
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7.egg-info
> [matplotlib-2.2.5] Installing 
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7-nspkg.pth
> [matplotlib-2.2.5] running install_scripts
> [matplotlib-2.2.5] writing list of installed files to 
> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-record-rmt5izi9/install-record.txt'
> [matplotlib-2.2.5] Running setup.py install for matplotlib: finished with 
> status 'done'
> [matplotlib-2.2.5]   Removing source in 
> /private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-build-l19fxrx8
> [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5
> [matplotlib-2.2.5] Cleaning up...
> [matplotlib-2.2.5] Removed build tracker 
> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-tracker-rxz0bq3j'
> [matplotlib-2.2.5]
> [matplotlib-2.2.5] real6m10.218s
> [matplotlib-2.2.5] user0m35.266s
> [matplotlib-2.2.5] sys0m4.548s
> [matplotlib-2.2.5] Copying package files from temporary location 
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst to 
> /Applications/sage/local
> [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5
> [matplotlib-2.2.5] Deleting temporary build directory
> [matplotlib-2.2.5] 
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5
> [matplotlib-2.2.5] Finished installing matplotlib-2.2.5.spkg
> make[2]: *** [all-start] Error 2
>
> real48m47.186s
> user162m58.074s
> sys27m3.413s
> ***
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):
>
> * package: r-3.6.2.p0
>   last build time: May 24 23:28
>   log file:/Applications/sage/logs/pkgs/r-3.6.2.p0.log
>   build directory: /Applications/sage/local/var/tmp/sage/build/r-3.6.2.p0
>
> * documentation: dochtml
>   last build time: May 24 22:43
>   log file:/Applications/sage/logs/pkgs/../dochtml.log
>
> It is safe to delete any log files and build directories, but they
> contain information that is helpful for debugging build problems.
> WARNING: If you now run 'make' again, the build directory of the
> same version of the package will, by default, be deleted. Set the
> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>
> make[1]: *** [all-start] Error 1
> make: *** [all] Error 2
>
>  I can provide the log files if necessary.
>

Are you building from scratch?
What is your setup? (Sage nowadays supports building with Homebrew packages)

Yes, naturally, without the log files for R and dochtml one cannot say
what went wrong.
Also, the top-level config.log woud be useful.

Best
Dima

> Best,
>
> Anne
>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sage-devel/9c5525a4-9486-41f9-80f9-8c064fc3be5d%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this gro

Re: [sage-devel] Re: trouble upgrading to latest stable version

2020-05-25 Thread Furkan Semih Dündar
Dear Anne,

I tried to compile the source code on Windows Subsystem for Linux (Ubuntu)
and could not go through the compilation process. Then I installed Fedora
32 as a separate OS. I installed all the packages listed on the following
website:
https://doc.sagemath.org/html/en/installation/source.html#prerequisites

Then I let my computer compile the source code at night, when I woke up it
was compiled successfully.

Hope this might help.

Best wishes,
Furkan.

On Mon, May 25, 2020 at 9:44 AM Anne Schilling 
wrote:

>
>
> On Sunday, May 24, 2020 at 10:27:19 PM UTC-7, Matthias Koeppe wrote:
>>
>> Hi Anne,
>>
>> On Sunday, May 24, 2020 at 9:40:42 PM UTC-7, Anne Schilling wrote:
>>>
>>> Downloading the Sage mirror list
>>> CRITICAL [mirror_list|_load:91]: Downloaded mirror list has syntax
>>> error: error code: 1010
>>> Searching fastest mirror
>>> ERROR [mirror_list|_rank_mirrors:145]: Could not reach any mirror
>>> directly and no proxy set
>>>
>>
>> Here's a workaround:
>>
>> echo '["http://files.sagemath.org/";]' > upstream/mirror_list
>>
>>
>> I hope this helps,
>> Matthias
>>
>
> Thank you, that got me a lot further. But now it is stuck here:
>
> [matplotlib-2.2.5] running install_egg_info
> [matplotlib-2.2.5] running egg_info
> [matplotlib-2.2.5] writing lib/matplotlib.egg-info/PKG-INFO
> [matplotlib-2.2.5] writing dependency_links to
> lib/matplotlib.egg-info/dependency_links.txt
> [matplotlib-2.2.5] writing namespace_packages to
> lib/matplotlib.egg-info/namespace_packages.txt
> [matplotlib-2.2.5] writing requirements to
> lib/matplotlib.egg-info/requires.txt
> [matplotlib-2.2.5] writing top-level names to
> lib/matplotlib.egg-info/top_level.txt
> [matplotlib-2.2.5] reading manifest file
> 'lib/matplotlib.egg-info/SOURCES.txt'
> [matplotlib-2.2.5] reading manifest template 'MANIFEST.in'
> [matplotlib-2.2.5] writing manifest file
> 'lib/matplotlib.egg-info/SOURCES.txt'
> [matplotlib-2.2.5] Copying lib/matplotlib.egg-info to
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7.egg-info
> [matplotlib-2.2.5] Installing
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst/Applications/sage/local/lib/python3.7/site-packages/matplotlib-2.2.5-py3.7-nspkg.pth
> [matplotlib-2.2.5] running install_scripts
> [matplotlib-2.2.5] writing list of installed files to
> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-record-rmt5izi9/install-record.txt'
> [matplotlib-2.2.5] Running setup.py install for matplotlib: finished
> with status 'done'
> [matplotlib-2.2.5]   Removing source in
> /private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-build-l19fxrx8
> [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5
> [matplotlib-2.2.5] Cleaning up...
> [matplotlib-2.2.5] Removed build tracker
> '/private/var/folders/sq/gx2hlzhj315g48j_8r39s8p8gp/T/pip-req-tracker-rxz0bq3j'
> [matplotlib-2.2.5]
> [matplotlib-2.2.5] real6m10.218s
> [matplotlib-2.2.5] user0m35.266s
> [matplotlib-2.2.5] sys0m4.548s
> [matplotlib-2.2.5] Copying package files from temporary location
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5/inst to
> /Applications/sage/local
> [matplotlib-2.2.5] Successfully installed matplotlib-2.2.5
> [matplotlib-2.2.5] Deleting temporary build directory
> [matplotlib-2.2.5]
> /Applications/sage/local/var/tmp/sage/build/matplotlib-2.2.5
> [matplotlib-2.2.5] Finished installing matplotlib-2.2.5.spkg
> make[2]: *** [all-start] Error 2
>
> real48m47.186s
> user162m58.074s
> sys27m3.413s
> ***
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):
>
> * package: r-3.6.2.p0
>   last build time: May 24 23:28
>   log file:/Applications/sage/logs/pkgs/r-3.6.2.p0.log
>   build directory: /Applications/sage/local/var/tmp/sage/build/r-3.6.2.p0
>
> * documentation: dochtml
>   last build time: May 24 22:43
>   log file:/Applications/sage/logs/pkgs/../dochtml.log
>
> It is safe to delete any log files and build directories, but they
> contain information that is helpful for debugging build problems.
> WARNING: If you now run 'make' again, the build directory of the
> same version of the package will, by default, be deleted. Set the
> environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this.
>
> make[1]: *** [all-start] Error 1
> make: *** [all] Error 2
>
>  I can provide the log files if necessary.
>
> Best,
>
> Anne
>
> --
> 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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-de