Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-25 Thread Lucas Tan
Thanks all. I will simply leave the error unsolved. Thank you for your time. Sincerely, Lucas On Monday, 25 July 2022 at 04:17:48 UTC+8 John H Palmieri wrote: > I don't have any insights on how to fix this, but the error doesn't looks > particularly specific to the documentation: > > Traceba

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-24 Thread John H Palmieri
I don't have any insights on how to fix this, but the error doesn't looks particularly specific to the documentation: Traceback (most recent call last): File "sage/libs/singular/function.pyx", line 1814 ... NameError: Singular kernel function 'freeAlgebra' is not defined On Sunday, July 24, 20

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-24 Thread Dima Pasechnik
On Sun, 24 Jul 2022, 12:24 Lucas Tan, wrote: > Hi Dima, > > Thanks. Sage can be started. > Is there no way to resolve or complete the build? > not sure if it ever reliably worked on Cygwin, cf e.g. https://trac.sagemath.org/ticket/25089 Given that Cygwin isn't really supported by CPython, it's

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-24 Thread Lucas Tan
Hi Dima, Thanks. Sage can be started. Is there no way to resolve or complete the build? Sincerely, Lucas On Sunday, 24 July 2022 at 17:49:08 UTC+8 dim...@gmail.com wrote: > It could be something obscure, Cygwin only. > Can you start Sage, can you run tests via > ./sage -t ? > > On Sun, 24 J

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-24 Thread Dima Pasechnik
It could be something obscure, Cygwin only. Can you start Sage, can you run tests via ./sage -t ? On Sun, 24 Jul 2022, 11:40 Lucas Tan, wrote: > > Yes,I tried a few times. Each time I tried, I always run "make doc-clean > doc-uninstall" first. > On Sunday, 24 July 2022 at 15:10:09 UTC+8 dim...@g

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-24 Thread Lucas Tan
Yes,I tried a few times. Each time I tried, I always run "make doc-clean doc-uninstall" first. On Sunday, 24 July 2022 at 15:10:09 UTC+8 dim...@gmail.com wrote: > Did you try clearing the docs? > >make doc-clean > > as recommended by the builder, > > and re-running make ? > > On Sun, 24 Jul

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-24 Thread Dima Pasechnik
Did you try clearing the docs? make doc-clean as recommended by the builder, and re-running make ? On Sun, 24 Jul 2022, 03:09 Lucas Tan, wrote: > Hi Dima and Matthias, > > The build has failed again. I have attached the relevant logs. > Thank you. > > > On Friday, 22 July 2022 at 18:34:44

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-22 Thread Dima Pasechnik
yes On Fri, 22 Jul 2022, 11:32 Lucas Tan, wrote: > There is both "singular" and "singular-devel", should I uninstall both? > > Sincerely, > Lucas > > On Friday, 22 July 2022 at 17:53:25 UTC+8 dim...@gmail.com wrote: > >> >> >> On Fri, 22 Jul 2022, 10:46 Lucas Tan, wrote: >> >>> Do I run by "mak

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-22 Thread Lucas Tan
There is both "singular" and "singular-devel", should I uninstall both? Sincerely, Lucas On Friday, 22 July 2022 at 17:53:25 UTC+8 dim...@gmail.com wrote: > > > On Fri, 22 Jul 2022, 10:46 Lucas Tan, wrote: > >> Do I run by "make singular-clean"? >> > > no, no, I am talking about Cygwin package

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-22 Thread Dima Pasechnik
On Fri, 22 Jul 2022, 10:46 Lucas Tan, wrote: > Do I run by "make singular-clean"? > no, no, I am talking about Cygwin package Singular. You'd need to use apt-cyg or whatever the Cygwin package manager is called. > On Friday, 22 July 2022 at 17:19:34 UTC+8 dim...@gmail.com wrote: > >> Could you

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-22 Thread Lucas Tan
Do I run by "make singular-clean"? On Friday, 22 July 2022 at 17:19:34 UTC+8 dim...@gmail.com wrote: > Could you uninstall Cygwin's Singular package (which is too old to be used > by Sage, but can still conflict with Sage's Singular) > > and run > > make > > again? > > On Fri, 22 Jul 2022,

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-22 Thread Dima Pasechnik
Could you uninstall Cygwin's Singular package (which is too old to be used by Sage, but can still conflict with Sage's Singular) and run make again? On Fri, 22 Jul 2022, 02:11 Lucas Tan, wrote: > Sure, thanks Dima. > > > > On Friday, 22 July 2022 at 09:09:56 UTC+8 dim...@gmail.com wrote:

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-21 Thread Dima Pasechnik
your log appears to show that Singular was not built correctly. Can you look at logs/pkg/singular*.log, or just post it here? On Fri, 22 Jul 2022, 01:39 Lucas Tan, wrote: > Hi Matthias, > > I restarted the installation from scratch and verified that python3 has > been accepted. This issue has b

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-21 Thread Matthias Koeppe
By reading the configure messages On Thursday, July 21, 2022 at 12:37:08 AM UTC-7 lucas@gmail.com wrote: > How do I verify that Cygwin python3 is accepted? > > On Thursday, 21 July 2022 at 15:12:29 UTC+8 Matthias Koeppe wrote: > >> No, these system packages need to be installed. Otherwise you

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-21 Thread Lucas Tan
How do I verify that Cygwin python3 is accepted? On Thursday, 21 July 2022 at 15:12:29 UTC+8 Matthias Koeppe wrote: > No, these system packages need to be installed. Otherwise you won't get > Cygwin's python package accepted. > > I recommend to start from scratch. Run configure, read what it rec

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-21 Thread Matthias Koeppe
No, these system packages need to be installed. Otherwise you won't get Cygwin's python package accepted. I recommend to start from scratch. Run configure, read what it recommends to install via Cygwin, do this installation, then run configure again. Before running "make", verify that it accepts

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Lucas Tan
Hi Matthias, Yes, they are. I have just uninstalled them via Cygwin setup. Should I uninstall libffi as well? On Thursday, 21 July 2022 at 13:22:48 UTC+8 Matthias Koeppe wrote: > Are these cygwin packages installed? bzip2 libbz2-devel xz liblzma-devel > > On Wednesday, July 20, 2022 at 10:01:

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Matthias Koeppe
Are these cygwin packages installed? bzip2 libbz2-devel xz liblzma-devel On Wednesday, July 20, 2022 at 10:01:30 PM UTC-7 lucas@gmail.com wrote: > Apologies, my log files are here > > > > On Thursday, 21 July 2022 at 12:47:16 UTC+8 Lucas Tan wrote: > >> Hi Matthias, >> >> I ran "make bzip

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Lucas Tan
Hi Matthias, I ran "make bzip2-clean liblzma-clean libffi-clean xz-clean" twice to ensure that the files are removed. I check for the following message: "No legacy uninstaller found for 'xz'; nothing to do", for all files. I have also ensured that I have python3.9 installed with "python3 --v

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Lucas Tan
Hi Matthias, I would believe so. ``` $ apt-cyg install python39 Package python39 is already installed, skipping $ apt-cyg install python3 Package python3 is already installed, skipping ``` On Thursday, 21 July 2022 at 11:08:50 UTC+8 Matthias Koeppe wrote: > Did you install the cygwin python3.9

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Matthias Koeppe
Your config.log is still saying: ## ## # # Checking whether SageMath should install SPKG python3... ## # # ## configure:32387: checking whether any of bzip2 liblzma libffi is installed

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Matthias Koeppe
Did you install the cygwin python3.9 packages? On Wednesday, July 20, 2022 at 8:05:47 PM UTC-7 lucas@gmail.com wrote: > Hi Matthias, > > I keep receiving the error: package: python3-3.10.3 failed to build. > How do I restrict "make" to python 3.9? > > Sincerely, > Lucas > > On Thursday, 21

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Lucas Tan
Hi Matthias, I keep receiving the error: package: python3-3.10.3 failed to build. How do I restrict "make" to python 3.9? Sincerely, Lucas On Thursday, 21 July 2022 at 10:34:41 UTC+8 Matthias Koeppe wrote: > On Wednesday, July 20, 2022 at 7:26:06 PM UTC-7 lucas@gmail.com wrote: > >> >> I

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Matthias Koeppe
On Wednesday, July 20, 2022 at 7:26:06 PM UTC-7 lucas@gmail.com wrote: > > I could not install several packages using "apt-cyg". Some packages could > not be found, and some packages are not of the same build or version (e.g. > apt-cyg install python3 -> python 3.9, not python 3.10 as used b

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread John H Palmieri
I don't think anyone has said this explicitly: after installing the packages recommended by ./configure, then you need to run ./configure again. Then run make. On Wednesday, July 20, 2022 at 9:25:07 AM UTC-7 dim...@gmail.com wrote: > and once you have the needed python3 packages installed, you

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Dima Pasechnik
and once you have the needed python3 packages installed, you don't need to build python3 from source anymore. On Wed, 20 Jul 2022, 16:59 Lucas Tan, wrote: > Hi, > > I have installed all the files that I could and ran "make". > I could not install some files, the error returned was "Unable to loc

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Dima Pasechnik
do you have the corr. Cygwin packages (e.g. openblas) installed? Do you run make in a native shell, rather than a cygwin shell? On Wed, 20 Jul 2022, 16:59 Lucas Tan, wrote: > Hi, > > I have installed all the files that I could and ran "make". > I could not install some files, the error returned

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Matthias Koeppe
>From config.log: ## ## ## Checking whether SageMath should install SPKG python3... ## ## ## configure:32387: checking whether any of bzip2 liblzma libffi is installed as or will be

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Dima Pasechnik
On Wed, 20 Jul 2022, 11:28 Lucas Tan, wrote: > Hi, > > Thank you. > > I have now installed all the packages recommended ./configure > Do I run "make" again? > > (I have decided to use Cygwin as I hope to (1) add Sage to PATH, (2) use > as a kernel/interpreter in VSCode, and (3) to later upload so

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Dima Pasechnik
On Wed, 20 Jul 2022, 11:28 Lucas Tan, wrote: > Hi, > > Thank you. > > I have now installed all the packages recommended ./configure > Do I run "make" again? > of course > > (I have decided to use Cygwin as I hope to (1) add Sage to PATH, (2) use > as a kernel/interpreter in VSCode, and (3) to l

Re: [sage-devel] Error building Sage 9.6 on Cygwin

2022-07-20 Thread Dima Pasechnik
On Wed, Jul 20, 2022 at 10:12 AM Lucas Tan wrote: > > Good day, > > I have encountered an error when building Sage 9.6 on the Cygwin Terminal. I > am very new to Sage and am unfamiliar with debugging methods. > > It seems that Python3 could not be built, I suppose. I have attached the > relevant