Error during Configuration with WSL

asked 2024-10-12 17:09:59 +0200

anonymous user

Anonymous

updated 2024-10-13 09:56:15 +0200

Hi to everyone, i am trying to install SageMath with WSL I'm following this guide: https://doc.sagemath.org/html/en/installation/source.html#wsl-post-installation-notes (doc.sagemath.org/html/en/installation/source.html#wsl-post-installation-notes)

During the compilation i find this error:

make[4]: *** [Makefile:3425: giac-SAGE_LOCAL-no-deps] Error 1
make[3]: *** [Makefile:3425: /home/momo/sage/sage-10.4/local/var/lib/sage/installed/giac-1.9.0.15p0] Error 2
make[2]: *** [Makefile:3043: all-start] Error 2
make[2]: Leaving directory '/home/momo/sage/sage-10.4/build/make'

Here the log file: alabaster-0.7.16.log ecl-24.5.10.time idna-3.7.log pari-2.15.4.log requests-* 2.32.2.log babel-2.14.0.log eclib-20231212.log imagesize-1.4.1.log pari-2.15.4.time setuptools-69.5.1.log beniget-0.4.1.log eclib-20231212.time info-7.0.3.log pari_galdata-20080411.p0.log setuptools_scm-8.1.0.log boost_cropped-1.66.0.p0.log ecm-7.0.5.log info-7.0.3.time pari_seadata_small-20090618.p0.log * snowballstemmer-2.2.0.log boost_cropped-1.66.0.p0.time ecm-7.0.5.time jinja2-3.1.4.log pathspec-0.12.1.log sphinx-7.2.6.log brial-1.2.8.log editables-0.5.log libatomic_ops-7.8.2.log pip-24.0.log sphinxcontrib_applehelp-1.0.8.log brial-1.2.8.time flit_core-3.9.0.log libgd-2.3.3.log pluggy-1.3.0.log sphinxcontrib_devhelp-1.0.6.log calver-2022.6.26.log gap-4.12.2.log libgd-2.3.3.time ply-3.11.log sphinxcontrib_htmlhelp-2.0.5.log certifi-2024.2.2.log gap-4.12.2.time m4ri-20200125.log ppl-1.2.p1.log sphinxcontrib_jsmath-1.0.1.log charset_normalizer-3.3.2.log gast-0.5.4.log m4ri-20200125.time ppl-1.2.p1.time sphinxcontrib_qthelp-1.0.7.log cliquer-1.22.log gc-8.2.6.log markupsafe-2.1.5.log pplpy-0.8.9.log sphinxcontrib_serializinghtml-1.1.10.log config.log gc-8.2.6.time mpc-1.3.1.log pplpy-0.8.9.time sphinxcontrib_websupport-1.2.7.log curl-7.84.0.log gf2x-1.3.0.log mpc-1.3.1.time pplpy_doc-0.8.9.log sqlite-3.36.0.log curl-7.84.0.time gf2x-1.3.0.time mpfi-1.5.2.log pygments-2.18.0.log sqlite-3.36.0.time cypari-2.1.5.log giac-1.9.0.15p0.log mpfi-1.5.2.time pyproject_hooks-1.0.0.log tomli-2.0.1.log cypari-2.1.5.time glpk-5.0.p1.log ntl-11.5.1.log python3-3.12.4.log trove_classifiers-2024.4.10.log cysignals-1.11.4.log glpk-5.0.p1.time ntl-11.5.1.time python3-3.12.4.time urllib3-2.1.0.log cysignals-1.11.4.time gmpy2-2.2.0a1.log openblas-0.3.26.log python_build-1.2.1.log wheel-0.43.0.log cython-3.0.10.log gmpy2-2.2.0a1.time openblas-0.3.26.time pythran-0.15.0.log cython-3.0.10.time gsl-2.7.1.log openssl-3.2.2.log pythran-0.15.0.time docutils-0.20.1.log gsl-2.7.1.time openssl-3.2.2.time pytz-2023.3.post1.log ecl-24.5.10.log hatchling-1.22.5.log packaging-24.0.log pytz-2023.3.post1.time Anyone have some idea for fix it?

edit retag flag offensive close merge delete

Comments

You quoted only a fragment of the error message. I think that looking at the full message (at the end of $(SAGE_ROOT)/logs/install.log), you'll see a note directing you to $(SAGE_ROOT)/logs/pkgs/giac-xxxx.log, which should give you (the start of) an explanation.

HTH,

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2024-10-13 07:14:29 +0200 )edit

The errors come from the spkg, gfortran, g++ example: :gcc: fatal error: cannot execute 'cc1obj': execvp: No such file or directory :gcc: fatal error: cannot execute 'cc1obj': execvp: No such file or directory

momo__t gravatar imagemomo__t ( 2024-10-13 09:49:18 +0200 )edit

Here the messagge of error in the file that linked me: Error installing package giac-1.9.0.15p0

momo__t gravatar imagemomo__t ( 2024-10-13 10:12:24 +0200 )edit

The errors come from the spkg, gfortran, g++ example: :gcc: fatal error: cannot execute 'cc1obj': execvp: No such file or directory :gcc: fatal error: cannot execute 'cc1obj': execvp: No such file or directory

Check your gcc installation...

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2024-10-14 08:02:44 +0200 )edit