Hi,

you are using a python from miniforge,
not the system python.

If you really want to using miniforge (i.e. conda), it needs a special 
treatment.

You cannot freely mix system packages and conda, you either activate a conda 
environment and do everything there.

Otherwise, make sure that conda doesn't interfere. (make sure there is nothing 
related to  it in PATH).

HTH,
Dima



On 15 November 2024 18:03:46 GMT-06:00, Kyrie <slilver3...@gmail.com> wrote:
>Hi,
>
>Thank you for the suggestion. I've attached the config.log.
>
>On Tuesday, November 12, 2024 at 2:39:03 PM UTC-5 dim...@gmail.com wrote:
>
>> 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 <slilv...@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+...@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/e8f70b5c-9cf5-4ed7-9b4f-d2d63b28b01cn%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/CB593C1F-1C61-46DD-BF1B-47D1BB98947D%40gmail.com.

Reply via email to