On Sat, Jan 25, 2025 at 12:32 PM Pawani Agarwal
<f20212...@goa.bits-pilani.ac.in> wrote:
>
> Could you tell me what version of python to use? The make is just hanging at 
> sagemath_doc_html-none.log.
I'd recommend either Python 3.12 from python.org (it will "replace"
the system-wide Python 3.9  upon installation), or
python 3.12 from Homebrew.

You can specify which python to use to build Sage by passing it (as
full path) to ./configure script, more precisely in the parameter
--with-system-python3=
or make sure that the python3 you want is 1st in the PATH.

HTH
Dima


>
> On Saturday, January 25, 2025 at 3:49:53 AM UTC+5:30 Pawani Agarwal wrote:
>>
>> yes ./sage works.
>>
>>
>> On Saturday, January 25, 2025 at 1:55:38 AM UTC+5:30 dim...@gmail.com wrote:
>>>
>>> Does ./sage start for you?
>>> If not, please post your config.log
>>>
>>> It seems to me that you're trying to build Sage with outdated Python
>>> 3.9 from macOS Command Line Tools
>>>
>>> On Fri, Jan 24, 2025 at 1:51 PM Pawani Agarwal
>>> <f202...@goa.bits-pilani.ac.in> wrote:
>>> >
>>> > hello.
>>> >
>>> > I have been getting error while building sage via homebrew. Can someone 
>>> > help me out?
>>> >
>>> > [sagemath_doc_html-none] error installing, exit status 1. End of log file:
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] arithgroup: 1216 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] arithmetic_curves: 
>>> > 7724 js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] asymptotic: 1653 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] calculus: 3546 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] categories: 5280 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] coding: 2618 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] coercion: 1401 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] combinat: 16290 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] constants: 292 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] cpython: 610 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] cryptography: 3105 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] curves: 1968 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] data_structures:
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] WARNING: Unable to 
>>> > fetch 
>>> > /Users/pawaniagarwal/SageMath/Git/sage/local/share/doc/sage/html/en/reference/data_structures/searchindex.js
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] databases: 2100 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] 
>>> > diophantine_approximation: 614 js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] discrete_geometry: 
>>> > 4820 js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] doctest: 1507 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] documentation: 1025 
>>> > js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] drinfeld_modules: 726 
>>> > js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] dynamics: 2454 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] euclidean_spaces: 516 
>>> > js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] finite_rings: 1664 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] function_fields: 1165 
>>> > js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] functions: 2533 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] game_theory: 1048 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] games: 745 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] graphs: 7190 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] groups: 3860 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] hecke: 797 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] history_and_license: 
>>> > 801 js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] homology: 1028 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] hyperbolic_geometry: 
>>> > 594 js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] interfaces: 4528 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] knots: 1215 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] lfunctions: 1034 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] libs: 2406 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] logic: 513 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] manifolds: 3560 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] matrices: 4953 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] matroids: 2348 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] misc: 5357 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] modabvar: 1051 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] modfrm: 4349 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] modsym: 1919 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] modules: 2875 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] monoids: 851 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] 
>>> > noncommutative_polynomial_rings: 1047 js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] number_fields: 3989 
>>> > js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] numerical: 2202 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] padics: 2072 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] parallel: 935 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] plot3d: 2273 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] plotting: 2527 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] polynomial_rings: 
>>> > 5331 js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] power_series: 1808 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] probability: 376 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] quadratic_forms: 1738 
>>> > js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] quat_algebras: 846 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] quivers: 910 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] references: 9298 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] repl: 2176 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] resolutions: 245 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] riemannian_geometry: 
>>> > 636 js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] rings: 1616 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] rings_numerical: 3014 
>>> > js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] rings_standard: 2430 
>>> > js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] sat: 605 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] schemes: 2945 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] semirings: 200 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] sets: 1393 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] spkg: 4451 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] stats: 988 js index 
>>> > entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] structure: 2255 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] tensor_free_modules: 
>>> > 1397 js index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] topology: 2094 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] valuations: 987 js 
>>> > index entries
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] [reference] The HTML pages are in 
>>> > ../../local/share/doc/sage/html/en/reference.
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] Error building the documentation.
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] Traceback (most recent call last):
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] File 
>>> > "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py",
>>> >  line 197, in _run_module_as_main
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] return _run_code(code, 
>>> > main_globals, None,
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] File 
>>> > "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py",
>>> >  line 87, in _run_code
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] exec(code, run_globals)
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] File 
>>> > "/Users/pawaniagarwal/SageMath/Git/sage/src/sage_docbuild/__main__.py", 
>>> > line 532, in <module>
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] sys.exit(main())
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] File 
>>> > "/Users/pawaniagarwal/SageMath/Git/sage/src/sage_docbuild/__main__.py", 
>>> > line 528, in main
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] build()
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] File 
>>> > "/Users/pawaniagarwal/SageMath/Git/sage/src/sage_docbuild/builders.py", 
>>> > line 664, in html
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] super().html()
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] File 
>>> > "/Users/pawaniagarwal/SageMath/Git/sage/src/sage_docbuild/builders.py", 
>>> > line 163, in f
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] runsphinx()
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] File 
>>> > "/Users/pawaniagarwal/SageMath/Git/sage/src/sage_docbuild/sphinxbuild.py",
>>> >  line 324, in runsphinx
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] sys.stderr.raise_errors()
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] File 
>>> > "/Users/pawaniagarwal/SageMath/Git/sage/src/sage_docbuild/sphinxbuild.py",
>>> >  line 255, in raise_errors
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] raise OSError(self._error)
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] OSError: WARNING: Unable to fetch 
>>> > /Users/pawaniagarwal/SageMath/Git/sage/local/share/doc/sage/html/en/reference/data_structures/searchindex.js
>>> >
>>> > [sagemath_doc_html-none] [spkg-install]
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] Note: incremental documentation 
>>> > builds sometimes cause spurious
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] error messages. To be certain 
>>> > that these are real errors, run
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] "make doc-clean doc-uninstall" 
>>> > first and try again.
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] make[6]: *** 
>>> > [doc-html--reference_top] Error 1
>>> >
>>> > [sagemath_doc_html-none] [spkg-install] make[5]: *** [doc-html-reference] 
>>> > Error 2
>>> >
>>> > [sagemath_doc_html-none] 
>>> > ************************************************************************
>>> >
>>> > [sagemath_doc_html-none] Error installing package sagemath_doc_html-none
>>> >
>>> > [sagemath_doc_html-none] 
>>> > ************************************************************************
>>> >
>>> >
>>> >
>>> > On Tuesday, January 21, 2025 at 9:07:29 PM UTC+5:30 dim...@gmail.com 
>>> > wrote:
>>> >>
>>> >> On Mon, Jan 20, 2025 at 6:57 PM Pawani Agarwal
>>> >> <f202...@goa.bits-pilani.ac.in> wrote:
>>> >> >
>>> >> > Hi.
>>> >> >
>>> >> > I had initially built sage from source on my Mac but after running 
>>> >> > some command, later running ./sage wasn't working. So I tried to 
>>> >> > rebuild it again but it's giving errors. I am also trying to maybe 
>>> >> > delete everything and then doing the process from start.
>>> >> > How do I go about removing everything and then rebuilding sage from 
>>> >> > source from the very start without any errors?
>>> >>
>>> >> assuming you cloned the source from our github repo, you can run
>>> >>
>>> >> git clean -fdx
>>> >>
>>> >> to remove everything that was not in the clone. A slightly less
>>> >> complete cleanup is done by running
>>> >>
>>> >> make distclean
>>> >>
>>> >> HTH
>>> >>
>>> >>
>>> >> >
>>> >> > Thanks a lot for your time
>>> >> > Pawani
>>> >> >
>>> >> > The information contained in this electronic communication is intended 
>>> >> > solely for the individual(s) or entity to which it is addressed. It 
>>> >> > may contain proprietary, confidential and/or legally privileged 
>>> >> > information. Any review, retransmission, dissemination, printing, 
>>> >> > copying or other use of, or taking any action in reliance on the 
>>> >> > contents of this information by person(s) or entities other than the 
>>> >> > intended recipient is strictly prohibited and may be unlawful. If you 
>>> >> > have received this communication in error, please notify us by 
>>> >> > responding to this email or telephone and immediately and permanently 
>>> >> > delete all copies of this message and any attachments from your 
>>> >> > system(s). The contents of this message do not necessarily represent 
>>> >> > the views or policies of BITS Pilani.
>>> >> >
>>> >> > --
>>> >> > 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 visit 
>>> >> > https://groups.google.com/d/msgid/sage-devel/e7abe54e-71bd-4ec5-8b2f-525e3a109709n%40googlegroups.com.
>>> >
>>> >
>>> > The information contained in this electronic communication is intended 
>>> > solely for the individual(s) or entity to which it is addressed. It may 
>>> > contain proprietary, confidential and/or legally privileged information. 
>>> > Any review, retransmission, dissemination, printing, copying or other use 
>>> > of, or taking any action in reliance on the contents of this information 
>>> > by person(s) or entities other than the intended recipient is strictly 
>>> > prohibited and may be unlawful. If you have received this communication 
>>> > in error, please notify us by responding to this email or telephone and 
>>> > immediately and permanently delete all copies of this message and any 
>>> > attachments from your system(s). The contents of this message do not 
>>> > necessarily represent the views or policies of BITS Pilani.
>>> >
>>> > --
>>> > 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 visit 
>>> > https://groups.google.com/d/msgid/sage-devel/0bdac852-9e4c-43db-8e6e-b55f1d02aafan%40googlegroups.com.
>>
>>
>> The information contained in this electronic communication is intended 
>> solely for the individual(s) or entity to which it is addressed. It may 
>> contain proprietary, confidential and/or legally privileged information. Any 
>> review, retransmission, dissemination, printing, copying or other use of, or 
>> taking any action in reliance on the contents of this information by 
>> person(s) or entities other than the intended recipient is strictly 
>> prohibited and may be unlawful. If you have received this communication in 
>> error, please notify us by responding to this email or telephone and 
>> immediately and permanently delete all copies of this message and any 
>> attachments from your system(s). The contents of this message do not 
>> necessarily represent the views or policies of BITS Pilani.
>
>
> The information contained in this electronic communication is intended solely 
> for the individual(s) or entity to which it is addressed. It may contain 
> proprietary, confidential and/or legally privileged information. Any review, 
> retransmission, dissemination, printing, copying or other use of, or taking 
> any action in reliance on the contents of this information by person(s) or 
> entities other than the intended recipient is strictly prohibited and may be 
> unlawful. If you have received this communication in error, please notify us 
> by responding to this email or telephone and immediately and permanently 
> delete all copies of this message and any attachments from your system(s). 
> The contents of this message do not necessarily represent the views or 
> policies of BITS Pilani.
>
> --
> 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 visit 
> https://groups.google.com/d/msgid/sage-devel/b5c54dbb-b319-4345-a114-6632ee609770n%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 visit 
https://groups.google.com/d/msgid/sage-devel/CAAWYfq1Ao0Sk6ureOJh2fiDNaE8xKv20wT-NfSgma8F3tvb5Ew%40mail.gmail.com.

Reply via email to