Hello *,
I gave it a try on WSL2 on Windows 11 professional, using the
procedure described here:
https://doc.sagemath.org/html/en/installation/source.html#linux-system-package-installation
I have not used or even read specific things related to WSL source
installation, only the Linux specified procedure.
└─$ wslinfo --wsl-version
2.3.24
I also have a modified WSL2 configuration, by default WSL2 uses half
the ram you have.
In my _Windows_ user "home" my .wslconfig is:
└─$ cat /mnt/c/Users/gregv/.wslconfig
[wsl2]
memory=16GB
My giac related packages are:
dpkg -l '*giac*'
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom Version Architecture Description
+++-=================-===================-============-=======================================================
un giac-doc <aucune> <aucune> (aucune
description n'est disponible)
ii libgiac-dev 1.9.0.93+dfsg2-2+b1 amd64 Computer
Algebra System C++ library - Development files
un libgiac0 <aucune> <aucune> (aucune
description n'est disponible)
ii libgiac0t64:amd64 1.9.0.93+dfsg2-2+b1 amd64 Computer
Algebra System C++ library
At the ./configure stage I have read something like "system giac will be used"
After, as suggested by the documentation I installed the following
packages using apt:
sudo apt-get install bc binutils bzip2 ca-certificates cliquer cmake curl \
ecl eclib-tools fflas-ffpack g++ gap gcc gengetopt gfan gfortran \
glpk-utils gmp-ecm lcalc libatomic-ops-dev libboost-dev \
libbraiding-dev libbrial-dev libbrial-groebner-dev libbz2-dev \
libcdd-dev libcdd-tools libcliquer-dev libcurl4-openssl-dev libec-dev \
libecm-dev libffi-dev libflint-dev libfplll-dev libfreetype-dev \
libgap-dev libgc-dev libgd-dev libgf2x-dev libgiac-dev libgivaro-dev \
libglpk-dev libgmp-dev libgsl-dev libhomfly-dev libiml-dev \
liblfunction-dev liblinbox-dev liblrcalc-dev liblzma-dev libm4ri-dev \
libm4rie-dev libmpc-dev libmpfi-dev libmpfr-dev libncurses5-dev \
libntl-dev libopenblas-dev libpari-dev libplanarity-dev libppl-dev \
libprimecount-dev libprimesieve-dev libpython3-dev libqhull-dev \
libreadline-dev librw-dev libsingular4-dev libsqlite3-dev libssl-dev \
libsuitesparse-dev libsymmetrica2-dev libz-dev libzmq3-dev m4 make \
maxima maxima-sage meson nauty ninja-build openssl palp pari-doc \
pari-elldata pari-galdata pari-galpol pari-gp2c pari-seadata patch \
patchelf perl pkg-config planarity ppl-dev python3 python3-setuptools \
python3-venv qhull-bin singular singular-doc sqlite3 sympow tachyon \
tar texinfo tox xcas xz-utils
Four packages were not available on my Linux distribution:
E: Le paquet « eclib-tools » n'a pas de version susceptible d'être installée
E: Le paquet « libbrial-dev » n'a pas de version susceptible d'être installée
E: Impossible de trouver le paquet libbrial-groebner-dev
E: Le paquet « libec-dev » n'a pas de version susceptible d'être installée
So I removed them from the previous command line. After I installed
the optional packages support:
$ sudo apt-get install 4ti2 clang coinor-cbc coinor-libcbc-dev fricas \
graphviz libfile-slurp-perl libgraphviz-dev libigraph-dev libisl-dev \
libjson-perl libmongodb-perl libnauty-dev libperl-dev libpolymake-dev \
libsvg-perl libtbb-dev libterm-readkey-perl libterm-readline-gnu-perl \
libxml-libxslt-perl libxml-writer-perl libxml2-dev lrslib pari-gp2c \
pdf2svg polymake r-base-dev r-cran-lattice sbcl
Then a './configure && make' did the trick using unpacked
https://github.com/sagemath/sage/releases/download/10.4/sage-10.4.tar.gz.
That takes a while.
Hope that helps.
- Greg
PS: If I could give any advice, start the build from a fresh unpacked
sage-10.4.tar.gz source tarball.
> --
> 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+...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-devel/Zwxtiib9s4Cms_JU%40stitch.