Try "./configure --with-python=$CONDA_PREFIX/bin/python --prefix=$CONDA_PREFIX"
On Sunday, June 26, 2022 at 4:09:36 AM UTC-7 rutge...@gmail.com wrote: > I'm trying to compile sage9.6 on Ubuntu installed on Windows11 via WSL > using Conda according to these instructions: > https://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda > > > Apparently Conda wants to install and compile Python3.10.3 as after step: > *./configure > --prefix=$CONDA_PREFIX* I see: *python3-3.10.3: no suitable system > package; standard, will be installed as an SPKG* > > Then when I do : *make* I get error compiling Python to the effect of : > *sys/auxv.h > not found when compiling Modules/faulthandler.c* > > Now I read here that there's a patch for this : > https://github.com/python/cpython/commit/6fd9737373f2bed03f409440b4fd50b9f8f121cb > > The problem is that when i apply these changes in the source the next > *make* just overwrites my changes. So I get the same error again. > > In Makefile I see something like: > > */# Preemptively download all source tarballs of normal packages. > download: export SAGE_ROOT= (pwd) & \ export PATH= SAGE_ROOT/build/bin: > PATH & \ sage-package download :all:* > > Suggesting that maybe there is a way to patch the Python source and run > *make* again without overwriting. But so far nothing works. > > Is there a way to solve this problem? Many thanks in advance!! > > =============================================================== > -- 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/56298407-ac03-4556-85c3-c96018e7d024n%40googlegroups.com.