Ask Your Question

soogst's profile - activity

2021-11-27 08:10:58 +0100 received badge  Famous Question (source)
2021-04-09 17:20:07 +0100 received badge  Notable Question (source)
2020-04-21 17:00:02 +0100 received badge  Popular Question (source)
2019-11-07 17:06:42 +0100 received badge  Supporter (source)
2019-11-01 14:38:49 +0100 received badge  Student (source)
2019-11-01 14:36:37 +0100 asked a question Installing packages on windows 10

I just did a fresh install of SageMath 8.9 (Windows installer 0.5.1).

I want to use "The Normaliz backend for polyhedral computations"

doc.sagemath.org/html/en/reference/discrete_geometry/sage/geometry/polyhedron/backend_normaliz.html


I run the sage -i pynormaliz inside SageMath 8.9 Shell. It starts acquiring yasm, and halts:

[yasm-1.3.0.p0] checking whether we are cross compiling... configure: error: in `/opt/sagemath-8.9/local/var/tmp/sage/build/yasm-1.3.0.p0/src':
[yasm-1.3.0.p0] configure: error: cannot run C compiled programs.

The config.log seems to indicate the problem is in permissions? We have in console.log:

configure:3758: ./conftest.exe
./configure: line 3760: ./conftest.exe: Permission denied
configure:3762: $? = 126
configure:3769: error: in `/opt/sagemath-8.9/local/var/tmp/sage/build/yasm-1.3.0.p0/src':
configure:3771: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

I do not know how to circumvent this.


I'm not sure what I'm doing exactly as I was trying things, like install yasm via Chocolately

stackoverflow.com/a/47883530

The sage still tries to fetch [yasm-1.3.0.p0] and halts due to the same error, when trying to run sage -i pynormaliz inside SageMath 8.9 Shell. - and I do not know why.