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 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 the Cygwin python3. >> >> >> On Wednesday, July 20, 2022 at 11:47:41 PM UTC-7 lucas....@gmail.com >> wrote: >> >>> 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: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 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 >>>>>> --version" >>>>>> After running the above, I run "./configure" once more as suggested >>>>>> by John H Palmieri above. >>>>>> >>>>>> I'm not sure if this is relevant, but I noticed these messages when >>>>>> running "make": >>>>>> *(first line of xz)* >>>>>> [xz-5.2.5] Using cached file >>>>>> /home/Lucas/sage/sage-9.6/upstream/xz-5.2.5.tar.gz >>>>>> [xz-5.2.5] xz-5.2.5 >>>>>> [xz-5.2.5] ==================================================== >>>>>> [xz-5.2.5] Setting up build directory for xz-5.2.5 >>>>>> [xz-5.2.5] Finished extraction >>>>>> *(similarly for libffi, the cached file is used)* >>>>>> >>>>>> *(first line of python3)* >>>>>> [python3-3.10.3] Using cached file >>>>>> /home/Lucas/sage/sage-9.6/upstream/Python-3.10.3.tar.xz >>>>>> [python3-3.10.3] python3-3.10.3 >>>>>> [python3-3.10.3] ==================================================== >>>>>> [python3-3.10.3] Setting up build directory for python3-3.10.3 >>>>>> [python3-3.10.3] Finished extraction >>>>>> *(shortly later...)* >>>>>> [python3-3.10.3] Thread model: posix >>>>>> [python3-3.10.3] Supported LTO compression algorithms: zlib zstd >>>>>> [python3-3.10.3] gcc version 11.3.0 (GCC) >>>>>> [python3-3.10.3] **************************************************** >>>>>> [python3-3.10.3] Package 'python3' is currently not installed >>>>>> [python3-3.10.3] Uninstalling 'python3' with legacy uninstaller >>>>>> [python3-3.10.3] Cleaning out old python / python3 / python3 venv >>>>>> binaries >>>>>> [python3-3.10.3] Configuring python3-3.10.3 >>>>>> >>>>>> On Thursday, 21 July 2022 at 11:11:42 UTC+8 Lucas Tan wrote: >>>>>> >>>>>>> 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 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 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 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 by "make"). >>>>>>>>>>> >>>>>>>>>> >>>>>>>>>> That's normal. There's no python 3.10 for Cygwin. Use Cygwin's >>>>>>>>>> python 3.9 package. >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> -- 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/0478d791-6169-4689-90a6-ddb60e00331an%40googlegroups.com.