Hello,
the easiest in your case would be to use the Python you already have
installed in WSL.
In principle, the installation (./configure script) should be able to
detect it, and use it, instead of trying to build Python.
Please post config.log (in the main Sage directory, where you run make
etc) - then we can see what's up with it.



On Tue, Nov 12, 2024 at 9:59 AM Kyrie <slilver3...@gmail.com> wrote:
>
> Hi,
>
> I'm trying to build SageMath on my machine -- 16 GB RAM, Windows 11 (build 
> 22631.4317) -- using WSL.
>
> I'm following the instructions at https://github.com/sagemath/sage/#readme. 
> When I get to step 14 and run "make", I get
>
> "Error building Sage.
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):
> * package:         python3-3.12.4
>   last build time: Nov 10 19:02
>   log file:        /home/kyrie/sage/sage/logs/pkgs/python3-3.12.4.log"
>
> The log file is attached.
>
> When I run "sudo apt-get install python3 libpython3-dev python3-setuptools    
>    python3-venv" again, I get
> "python3 is already the newest version (3.12.3-0ubuntu2).
> libpython3-dev is already the newest version (3.12.3-0ubuntu2).
> python3-setuptools is already the newest version (68.1.2-2ubuntu1.1).
> python3-venv is already the newest version (3.12.3-0ubuntu2).
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded."
>
> I had Python on my machine before adding WSL for the purpose of Sage. So I 
> also thought to look back at the environment variables PATH, PKG_CONFIG_PATH, 
> LD_LIBRARY_PATH, CFLAGS, CPPFLAGS, CXXFLAGS, and LDFLAGS to verify that there 
> are no items beginning with "/mnt/c" as in Step 8 of the ReadMe.
>
> I'm deeply grateful for any suggestions for how else to troubleshoot / how to 
> get Sage to build!
>
> With gratitude,
> Kyrie
>
>
>
>
> --
> 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/cfc55b00-6ba5-499b-a425-d989089f614en%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/CAAWYfq0uJ6Rpe64ctnyMBzbeT-y7YGqm2U5LVzF5VE0fvxx2fQ%40mail.gmail.com.

Reply via email to