[GAP Forum] Package Digraphs on Windows

Alexander Konovalov alexander.konovalov at st-andrews.ac.uk
Tue May 25 20:58:43 BST 2021


Hi Hebert,

in addition to my previous reply (quoted below in case it's of an interest to the Forum),

> Just tried it one more time on Windows 10 VM, GAP 4.11.1 installed from https://github.com/gap-system/gap/releases/download/v4.11.1/gap-4.11.1.exe and it loads.
> 
>> #W dlopen() error: Permission denied
> 
> looks suspicious. Are you running it as the same user who installed it? Do you have pop up window asking you to confirm some exception to allow running it?
> 
> You can build it with Cygwin, yes, but then perhaps you have to rebuild everything else, if you have a different Cygwin version from the one that was used here.
> 
> Maybe the problem is in something else?

there is also another option: you can also use GAP with Digraphs online at https://github.com/gap-system/try-gap-in-jupyter - click on the "launch binder" button for GAP 4.11.1 and wait till you will see Jupyter window. Further information is there in the README file - please ask me if you've never used Jupyter before.

Note also that the notebook will not be preserved after the browse window is closed, but you will be able to download the notebook in various formats by going to "File" -> "Download as" in the Jupyter menu. If you need to use Digraphs only from time to time, that may be a suitable way to get it working remotely without installing Cygwin.

Best wishes
Alexander

> On 24 May 2021, at 23:33, Hebert Pérez-Rosés <hebert.perez at gmail.com> wrote:
> 
> Thank you very much, Alexander. I do have GAP 4.11.1, but when I tried to load the Digraphs package, GAP returned the error message that I attach below. From what you say, I understand that I would have to build it in Cygwin, and then I can use it normally, right? 
> 
> =============================
> 
> #W dlopen() error: Permission denied
> Error, module '/proc/cygdrive/C/gap-4.11.1/pkg/digraphs-1.3.1/bin/x86_64-pc-cygwin-default64-kv7/digraphs.so' not found in
>   LOAD_DYN( arg[1], false ) at /proc/cygdrive/C/gap-4.11.1/lib/files.gd:587 called from
> <function "LoadDynamicModule">( <arguments> )
>  called from read-eval loop at /proc/cygdrive/C/gap-4.11.1/pkg/digraphs-1.3.1/init.g:24
> Error, was not in any namespace at /proc/cygdrive/C/gap-4.11.1/lib/variable.g:292 called from
> LEAVE_NAMESPACE(  ); at /proc/cygdrive/C/gap-4.11.1/lib/package.gi:1303 called from
> ReadPackage( pkgname, "init.g" ); at /proc/cygdrive/C/gap-4.11.1/lib/package.gi:1670 called from
> <function "LoadPackage">( <arguments> )
>  called from read-eval loop at *stdin*:8
> 
> El lun, 24 may 2021 a las 18:03, Alexander Konovalov (<alexander.konovalov at st-andrews.ac.uk>) escribió:
> Hi Hebert,
> 
> It requires compilation - we build it with Cygwin when wrapping up GAP distribution
> for Windows. GAP 4.11.1 comes with Digraphs in working order - do you need to use
> the latest version which is not in GAP 4.11.1?
> 
> Best wishes
> Alexander
> 
> > On 24 May 2021, at 16:04, Hebert Pérez-Rosés <hebert.perez at gmail.com> wrote:
> > 
> > Hi all,
> > 
> > Is it possible to install the package 'Digraphs' on Windows?
> > I have already unzipped the installation file into the pkg folder, but it
> > still doesn't work. The package manual says I have to compile the package,
> > and I don't see how I can do that in Windows.
> > 
> > Thanks in advance,
> > Hebert
> > 
> > -------------------------------
> > Dr. Hebert Pérez-Rosés
> > Universitat "Rovira i Virgili"
> > Tarragona, Spain
> > _______________________________________________
> > Forum mailing list
> > Forum at gap-system.org
> > https://mail.gap-system.org/mailman/listinfo/forum
> 
> 
> 
> -- 
> -------------------------------
> Dr. Hebert Pérez-Rosés
> Universitat "Rovira i Virgili" 
> Tarragona, Spain



More information about the Forum mailing list