# Revision history [back]

### Compile errors Ubuntu on WSL with Conda

I'm trying to compile sage9.6 on Ubuntu installed on Windows via WSL using Conda according to these instructions: internet://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda (sorry I have no permission to post links you'll have to fill in the https yourself)

Aparantly 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 : internet://github.com/python/cpython/commit/6fd9737373f2bed03f409440b4fd50b9f8f121cb (sorry I have no permission to post links you'll have to fill in the https yourself) 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, this is driving me crazy ### Compile errors Ubuntu on WSL with Conda I'm trying to compile sage9.6 on Ubuntu installed on Windows via WSL using Conda according to these instructions: internet://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda (sorry I have no permission to post links you'll have to fill in the https yourself) Aparantly 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 : internet://github.com/python/cpython/commit/6fd9737373f2bed03f409440b4fd50b9f8f121cb (sorry I have no permission to post links you'll have to fill in the https yourself)

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:

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, this is driving me crazy

### Compile errors Ubuntu on WSL with Conda

I'm trying to compile sage9.6 on Ubuntu installed on Windows via WSL using Conda according to these instructions: internet://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda (sorry I have no permission to post links you'll have to fill in the https yourself)

Aparantly 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 : internet://github.com/python/cpython/commit/6fd9737373f2bed03f409440b4fd50b9f8f121cb (sorry I have no permission to post links you'll have to fill in the https yourself) 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, this is driving me crazy ### Compile errors Ubuntu on WSL with Conda I'm trying to compile sage9.6 on Ubuntu installed on Windows via WSL using Conda according to these instructions: internet://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda (sorry I have no permission to post links you'll have to fill in the https yourself) Aparantly 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 : internet://github.com/python/cpython/commit/6fd9737373f2bed03f409440b4fd50b9f8f121cb (sorry I have no permission to post links you'll have to fill in the https yourself)

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:

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, this is driving me crazy

### Compile errors Ubuntu on WSL with Conda

I'm trying to compile sage9.6 on Ubuntu installed on Windows via WSL using Conda according to these instructions: internet://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda (sorry I have no permission to post links you'll have to fill in the https yourself)

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 : internet://github.com/python/cpython/commit/6fd9737373f2bed03f409440b4fd50b9f8f121cb (sorry I have no permission to post links you'll have to fill in the https yourself) The problem is that when i apply these changes in the source the next make 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, this is driving me crazy  6 None FrédéricC 4791 ●3 ●39 ●100 ### Compile errors Ubuntu on WSL with Conda I'm trying to compile sage9.6 on Ubuntu installed on Windows via WSL using Conda according to these instructions: internet://doc.sagemath.org/html/en/installation/conda.html#sec-installation-conda (sorry I have no permission to post links you'll have to fill in the https yourself)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 : internet://github.com/python/cpython/commit/6fd9737373f2bed03f409440b4fd50b9f8f121cb (sorry I have no permission to post links you'll have to fill in the https yourself)

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: