Hi,
On Sun, Nov 17, 2024 at 10:36:24AM -0500, Kairi Black wrote:
>
> Thank you for the help/suggestions. I am still receiving a Python build
> error when running "make".
Your ./configure run ended with an error, and you didn't notice.
Namely, it complained that you don't have m4 installed (previously you
had one in conda, I suppose).
No wonder you then get strange errors trying to run make.
Please remove everything starting from /usr/local/ from your PATH
(from the PATH in for the WSL prompt you will build and run Sage)
Please run (in the WSL prompt)
the following, as specified in
https://doc.sagemath.org/html/en/installation/source.html#sec-installation-from-sources
make distclean # to start from scratch
sudo apt-get install bc binutils bzip2 ca-certificates cliquer cmake curl \
ecl eclib-tools fflas-ffpack g++ gap gcc gengetopt gfan gfortran \
glpk-utils gmp-ecm lcalc libatomic-ops-dev libboost-dev \
libbraiding-dev libbrial-dev libbrial-groebner-dev libbz2-dev \
libcdd-dev libcdd-tools libcliquer-dev libcurl4-openssl-dev libec-dev \
libecm-dev libffi-dev libflint-dev libfplll-dev libfreetype-dev \
libgap-dev libgc-dev libgd-dev libgf2x-dev libgiac-dev libgivaro-dev \
libglpk-dev libgmp-dev libgsl-dev libhomfly-dev libiml-dev \
liblfunction-dev liblinbox-dev liblrcalc-dev liblzma-dev libm4ri-dev \
libm4rie-dev libmpc-dev libmpfi-dev libmpfr-dev libncurses5-dev \
libntl-dev libopenblas-dev libpari-dev libplanarity-dev libppl-dev \
libprimecount-dev libprimesieve-dev libpython3-dev libqhull-dev \
libreadline-dev librw-dev libsingular4-dev libsqlite3-dev libssl-dev \
libsuitesparse-dev libsymmetrica2-dev libz-dev libzmq3-dev m4 make \
maxima maxima-sage meson nauty ninja-build openssl palp pari-doc \
pari-elldata pari-galdata pari-galpol pari-gp2c pari-seadata patch \
patchelf perl pkg-config planarity ppl-dev python3 python3-setuptools \
python3-venv qhull-bin singular singular-doc sqlite3 sympow tachyon \
tar texinfo tox xcas xz-utils
(some of these are already installed, but not all). Then run
./configure
make
>
> I tried the following:
>
> 1. Remove any references to miniforge from my PATH variable. (get Python
> build error when run "make")
> 2. Uninstall miniforge using the instructions at
>
https://github.com/conda-forge/miniforge. (get Python build error when run
> "make")
> 3. Uninstall and reinstall Python3.12 in WSL using
>
https://gist.github.com/zhensongren/811dcf2471f663ed3148a272f1faa957, then
> running
>
> sudo apt-get install libpython3-dev python3-setuptools python3-venv
>
> as in
https://doc.sagemath.org/html/en/reference/spkg/python3.html. (Then
> still get Python build error when run "make" and "configure")
>
> I've attached the python build log, and the config log.
>
> I'm grateful for your patience with me (a person new to Linux, who is using
> WSL for the first time in an effort to use Sage on my Windows machine).
>
> And appreciative of any additional recommendations or clarifications on
> what isn't working!
>
> -Kyrie