Ah okay, that's good to know. I probably won't need that feature in the 
near future anyway.
But thank you; I ran `make build` and finally the process terminated 
without a fatal error.

I also ran it and it works fine now.
dim...@gmail.com schrieb am Dienstag, 26. Juli 2022 um 18:10:20 UTC+9:

> documentation building is currently broken on Cygwin.
>
> instead of running 'make', run 'make build'.
>
> Anyhow, you probably have mostly functional Sage installation now.
>
>
>
> On Tue, 26 Jul 2022, 10:18 Max Kölbl, <max.w....@gmail.com> wrote:
>
>> Thank you very much for your help!
>>
>> >Install the relevant cygwin packages:
>> >```
>> >$ apt-cyg install bzip2 libbz2-devel liblzma-devel libffi-devel xz
>> >```
>> >Clean up the corresponding Sage packages:
>> >```
>> >$ make bzip2-clean liblzma-clean libffi-clean xz-clean
>> >
>> >Then configure again:
>> >```
>> >$ make configure
>> >$ ./configure
>> >```
>> >
>> >Follow any recommendations at end of configure output.
>> >
>> >Finally decide number of parallel jobs
>> >```
>> >$ export MAKE='make -j8'
>> >```
>> >and run make again:
>> >```
>> >$ make -s V=0
>>
>> That helped. Sage is now *almost* completely installed.
>> However, now a different problem appeared. 
>> While installing the docs, the following error occured:
>>
>> >[reference] /home/Ray/sage/sage/src/doc/en/reference/index.rst:34: 
>> WARNING: unknown document: categories/index
>> >[reference] /home/Ray/sage/sage/src/doc/en/reference/index.rst:76: 
>> WARNING: unknown document: groups/index
>> >[reference] /home/Ray/sage/sage/src/doc/en/reference/index.rst:79: 
>> WARNING: unknown document: algebras/index
>> >[reference] /home/Ray/sage/sage/src/doc/en/reference/index.rst:84: 
>> WARNING: unknown document: combinat/index
>> >[reference] /home/Ray/sage/sage/src/doc/en/reference/index.rst:85: 
>> WARNING: unknown document: graphs/index
>> >[reference] /home/Ray/sage/sage/src/doc/en/reference/index.rst:89: 
>> WARNING: unknown document: coding/index
>> >[reference] /home/Ray/sage/sage/src/doc/en/reference/index.rst:105: 
>> WARNING: unknown document: knots/index
>> >[reference] /home/Ray/sage/sage/src/doc/en/reference/index.rst:157: 
>> WARNING: unknown document: libs/index
>> >[reference] The inventory files are in 
>> ../../local/share/doc/sage/inventory/en/reference.
>> >Error building the documentation.
>> >Traceback (most recent call last):
>> >  File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
>> >    return _run_code(code, main_globals, None,
>> >  File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
>> >    exec(code, run_globals)
>> >  File 
>> "/home/Ray/sage/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/__main__.py",
>>  
>> line 500, in <module>
>> >    sys.exit(main())
>> >  File 
>> "/home/Ray/sage/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/__main__.py",
>>  
>> line 497, in main
>> >    builder()
>> >  File 
>> "/home/Ray/sage/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/builders.py",
>>  
>> line 167, in f
>> >    runsphinx()
>> >  File 
>> "/home/Ray/sage/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/sphinxbuild.py",
>>  
>> line 327, in runsphinx
>> >    sys.stderr.raise_errors()
>> >  File 
>> "/home/Ray/sage/sage/local/var/lib/sage/venv-python3.9/lib/python3.9/site-packages/sage_docbuild/sphinxbuild.py",
>>  
>> line 263, in raise_errors
>> >    raise OSError(self._error)
>> >OSError: /home/Ray/sage/sage/src/doc/en/reference/index.rst:34: WARNING: 
>> unknown document: categories/index
>> >
>> >    Note: incremental documentation builds sometimes cause spurious
>> >    error messages. To be certain that these are real errors, run
>> >    "make doc-clean doc-uninstall" first and try again.
>> >make[6]: *** [Makefile:27: doc-inventory--reference_top] Error 1
>> >make[5]: *** [Makefile:45: doc-inventory-reference] Error 2
>>
>> I tried
>> ```
>> $make doc-clean doc-uninstall
>> $make configure
>> $./configure
>> $make -s V=0
>> ```
>> and it raised the same error (log file is attached).
>> It appears that some of the docs are not building completely; this is a 
>> part of the log:
>> >[knots    ] building [inventory]: targets for 4 source files that are 
>> out of date
>> >[knots    ] updating environment: [new config] 4 added, 0 changed, 0 
>> removed
>> >[lfunction] building [inventory]: targets for 5 source files that are 
>> out of date
>> >[lfunction] updating environment: [new config] 5 added, 0 changed, 0 
>> removed
>> >[lfunction] The inventory files are in 
>> ../../local/share/doc/sage/inventory/en/reference/lfunctions.
>> >Build finished. The built documents can be found in 
>> /home/Ray/sage/sage/local/share/doc/sage/inventory/en/reference/lfunctions
>> And later I get this:
>> >[reference] /home/Ray/sage/sage/src/doc/en/reference/index.rst:105: 
>> WARNING: unknown document: knots/index 
>>
>> What is the best thing to do there?
>> It's the same packages that cause the trouble in both runs.
>>
>> Thank you very much in advance!
>>
>> Max
>>
>> Samuel Lelievre schrieb am Montag, 25. Juli 2022 um 09:17:47 UTC+9:
>>
>>> Install the relevant cygwin packages:
>>> ```
>>> $ apt-cyg install bzip2 libbz2-devel liblzma-devel libffi-devel xz
>>> ```
>>> Clean up the corresponding Sage packages:
>>> ```
>>> $ make bzip2-clean liblzma-clean libffi-clean xz-clean
>>>
>>> Then configure again:
>>> ```
>>> $ make configure
>>> $ ./configure
>>> ```
>>>
>>> Follow any recommendations at end of configure output.
>>>
>>> Finally decide number of parallel jobs
>>> ```
>>> $ export MAKE='make -j8'
>>> ```
>>> and run make again:
>>> ```
>>> $ make -s V=0
>>> ```
>>>
>>> -- 
>> 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/b97b4623-d9e1-4201-b34b-badd26309386n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/sage-devel/b97b4623-d9e1-4201-b34b-badd26309386n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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/b9990e2c-fbe3-426a-bad5-47c41802024an%40googlegroups.com.

Reply via email to