https://github.com/sagemath/sage#relocation
"It is not supported to move the SAGE_ROOT or SAGE_LOCAL directory after 
building Sage. If you do move the directories, you will have to run make 
distclean and build Sage again from scratch."


On Tuesday, May 31, 2022 at 10:15:57 AM UTC-7 hohoa...@gmail.com wrote:

> Dear All,
>
> A plain vanilla Sage 9.7 Beta1 was built from "~/sage-9.7$/beta1" which 
> then is renamed to "~/sage-9.7$/beta1_"
> "root.beta1" is a symlink to "$SAGE_ROOT/sage" and "local.beta1" is a 
> symlink to "$SAGE_LOCAL/bin/sage".
>
> Please find appended below the scenario when some of the 'sage' options 
> were tried.
> Is the outcome expected or is it just something that happens only on this 
> machine?
>
> Please note that "--coverageall" and "--testall"  are available, according 
> to "sage --advanced" which does not show "--sdist" (but this user is 
> familiar with it and has been using it)
>
> Thank you for your help.
>    
> Regards,
>
> phiho
>
> ~/sage-9.7$ mv beta1 beta1_
> ~/sage-9.7$ root.beta1
> -bash: /home/hph/bin/root.beta1: No such file or directory
>
> ~/sage-9.7$ local.beta1 --coverageall
> Traceback (most recent call last):
>   File "/mnt/g/Maths/sage-9.7/beta1/bin/sage-coverage", line 60, in 
> <module>
>     coverage_all(os.path.join(os.environ["SAGE_SRC"], 'sage'))
>   File "/usr/lib/python3.10/os.py", line 679, in __getitem__
>     raise KeyError(key) from None
> KeyError: 'SAGE_SRC'
>
> ~/sage-9.7$ local.beta1 --sdist
> /home/hph/bin/local.beta1: line 994: exec: sage-sdist: not found
>
> ~/sage-9.7$ local.beta1 --testall
> too many failed tests, not using stored timings
> Running doctests with ID 2022-05-31-12-38-54-59a8fb70.
> Using --optional=pip,sage
> Features to be detected: 
> 4ti2,benzene,bliss,buckygen,conway_polynomials,csdp,database_cremona_ellcurve,database_cremona_mini_ellcurve,database_jones_numfield,database_knotinfo,dvipng,gfan,graphviz,imagemagick,jupymake,kenzo,latte_int,lrslib,mcqd,meataxe,nauty,palp,pandoc,pdf2svg,pdftocairo,phitigra,plantri,polytopes_db,polytopes_db_4d,pynormaliz,python_igraph,rubiks,sage.combinat,sage.geometry.polyhedron,sage.graphs,sage.groups,sage.plot,sage.rings.number_field,sage.rings.padics,sage.rings.real_double,sage.symbolic,sage_numerical_backends_coin,sagemath_doc_html,sphinx,tdlib
> Doctesting entire Sage library.
> Traceback (most recent call last):
>   File "/mnt/g/Maths/sage-9.7/beta1/bin/sage-runtests", line 151, in 
> <module>
>     err = DC.run()
>   File 
> "/mnt/g/Maths/sage-9.7/beta1/lib/python3.10/site-packages/sage/doctest/control.py",
>  
> line 1343, in run
>     self.add_files()
>   File 
> "/mnt/g/Maths/sage-9.7/beta1/lib/python3.10/site-packages/sage/doctest/control.py",
>  
> line 840, in add_files
>     all_files()
>   File 
> "/mnt/g/Maths/sage-9.7/beta1/lib/python3.10/site-packages/sage/doctest/control.py",
>  
> line 823, in all_files
>     import sage_docbuild
>   File 
> "/mnt/g/Maths/sage-9.7/beta1/lib/python3.10/site-packages/sage_docbuild/__init__.py",
>  
> line 59, in <module>
>     from .build_options import (LANGUAGES, SPHINXOPTS, OMIT,
>   File 
> "/mnt/g/Maths/sage-9.7/beta1/lib/python3.10/site-packages/sage_docbuild/build_options.py",
>  
> line 9, in <module>
>     LANGUAGES = [d for d in os.listdir(SAGE_DOC_SRC) if 
> re.match('^[a-z][a-z]$', d)]
> FileNotFoundError: [Errno 2] No such file or directory: 'src/doc'
> ~/sage-9.7$
>
>
> On Tue, May 10, 2022 at 4:46 PM Michael Orlitzky <mic...@orlitzky.com> 
> wrote:
>
>> On Tue, 2022-05-10 at 09:54 -0700, John H Palmieri wrote:
>> > Regarding the very last question: the decision many years ago was that 
>> the 
>> > startup scripts for Sage should be shell scripts, because using Python 
>> > scripts seemed to add to the startup time. If anyone wants to change 
>> this, 
>> > they need to do some careful evaluations and comparisons regarding 
>> startup 
>> > times.
>> > > > > > 
>>
>> Keep in mind also the recent thread about "make build". Many people
>> still believe that "sage -i" should be able to install python for them.
>>
>> -- 
>> 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 view this discussion on the web visit 
>> https://groups.google.com/d/msgid/sage-devel/298a04c7a9808fd8f61a0588ce1ae014e4a53db7.camel%40orlitzky.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/07b2aa47-7707-43a1-ae4e-62b26bf23049n%40googlegroups.com.

Reply via email to