Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.