You are not logged in.
I need to install the package itc (https://www.gap-system.org/Packages/itc.html) in GAP. I installed packages gap and gap-packages, the latter contains the package PackageManager. But I have troubles with any package installation:
$ gap
┌───────┐ GAP 4.10.2 of 19-Jun-2019
│ GAP │ https://www.gap-system.org
└───────┘ Architecture: x86_64-pc-linux-gnu-default64-kv3
Configuration: gmp 6.1.2, readline
Loading the library and packages ...
Packages: AClib 1.3.1, Alnuth 3.1.1, AtlasRep 2.1.0, AutoDoc 2019.05.20, AutPGrp 1.10, Browse 1.8.8, Carat 2.2.3, CRISP 1.4.4, Cryst 4.1.19, CrystCat 1.1.9,
CTblLib 1.2.2, FactInt 1.6.2, FGA 1.4.0, Forms 1.2.5, GAPDoc 1.6.2, genss 1.6.5, IO 4.6.0, IRREDSOL 1.4, LAGUNA 3.9.3, orb 4.8.2, Polenta 1.3.8,
Polycyclic 2.14, PrimGrp 3.3.2, RadiRoot 2.8, recog 1.3.2, ResClasses 4.7.2, SmallGrp 1.3, Sophus 1.24, SpinSym 1.5.1, TomLib 1.2.8, TransGrp 2.0.4,
utils 0.63
Try '??help' for help. See also '?copyright', '?cite' and '?authors'
gap> LoadPackage("PackageManager");
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Loading curlInterface 2.1.1 (Simple Web Access)
by Christopher Jefferson (http://caj.host.cs.st-andrews.ac.uk/) and
Michael Torpey (http://www-groups.mcs.st-andrews.ac.uk/~mct25/).
Homepage: https://gap-packages.github.io/curlInterface/
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Loading PackageManager 0.4 (Easily download and install GAP packages)
by Michael Torpey (http://www-groups.mcs.st-andrews.ac.uk/~mct25/).
Homepage: https://gap-packages.github.io/PackageManager/
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
true
gap> InstallPackage("xgap");
#I Getting PackageInfo URLs...
#I Retrieving PackageInfo.g from https://gap-packages.github.io/xgap/PackageInfo.g ...
#I PackageInfo.g validated successfully
#I Downloading archive from URL https://github.com/gap-packages/xgap/releases/download/v4.30/xgap-4.30.tar.gz ...
#I Saved archive to /tmp/tmpQ3Tka/xgap-4.30.tar.gz
#I Extracting to /home/boris/.gap/pkg/xgap-4.30 ...
#I Extracted successfully
#I No bin/BuildPackages.sh script available
#I Package could not be compiled properly
#I Removed directory /home/boris/.gap/pkg/xgap-4.30
There is no BuildPackages.sh in my system. How can I solve this problem?
Offline
Both the itc and the xgap package are already part of the gap-packages package (and probably all the packages, FWIW)
It does look like the package does not explicitly provide the BuildPackages.sh for reasons I'm unsure of, however all of the packages are built as part of the gap-packages package.
Offline
Thanks you, you are right. I found the xgap executable file. But why I can't start it?
$ /usr/lib/gap/pkg/xgap-4.30/bin/x86_64-unknown-linux-gnu-gcc/xgap
Panic: cannot establish communication with gap.%
$ gap
┌───────┐ GAP 4.10.2 of 19-Jun-2019
│ GAP │ https://www.gap-system.org
└───────┘ Architecture: x86_64-pc-linux-gnu-default64-kv3
Configuration: gmp 6.1.2, readline
Loading the library and packages ...
Packages: AClib 1.3.1, Alnuth 3.1.1, AtlasRep 2.1.0, AutoDoc 2019.05.20, AutPGrp 1.10, Browse 1.8.8, Carat 2.2.3, CRISP 1.4.4, Cryst 4.1.19, CrystCat 1.1.9,
CTblLib 1.2.2, FactInt 1.6.2, FGA 1.4.0, Forms 1.2.5, GAPDoc 1.6.2, genss 1.6.5, IO 4.6.0, IRREDSOL 1.4, LAGUNA 3.9.3, orb 4.8.2, Polenta 1.3.8,
Polycyclic 2.14, PrimGrp 3.3.2, RadiRoot 2.8, recog 1.3.2, ResClasses 4.7.2, SmallGrp 1.3, Sophus 1.24, SpinSym 1.5.1, TomLib 1.2.8, TransGrp 2.0.4,
utils 0.63
Try '??help' for help. See also '?copyright', '?cite' and '?authors'
gap> LoadPackage("xgap");
#I XGAP package is not available. To see further details, enter
#I SetInfoLevel(InfoPackageLoading,4); and try to load the package again.
fail
gap> SetInfoLevel(InfoPackageLoading,4);
gap> LoadPackage("xgap");
#I XGAP: entering LoadPackage
#I XGAP: PackageAvailabilityInfo for version 4.30
#I XGAP: PackageAvailabilityInfo: the AvailabilityTest function returned false
#I XGAP: PackageAvailabilityInfo: no installed version fits
#I XGAP: return from LoadPackage, package is not available
fail
gap>
Last edited by borgch (2019-10-14 16:26:14)
Offline
Please open a bug report on bugs.archlinux.org
Offline
Please open a bug report on bugs.archlinux.org
Thanks you very much for solving, now it works.
Offline