Closed olexandr-konovalov closed 6 years ago
Hmmm, I don't know how to debug this, since I don't have access to a Windows computer.
Just to double check the file reported as not found is actually there?
yes, the binary is there, built under Cygwin. I suspect there maybe something about the initial part of the path (/proc/cygdrive/C
vs /cygdrive/C
). I can help to debug this from next week, mainly saving this so it's not forgotten. @jdebeule also sees this.
proc/cygdrive is the “modern” way of access files in cygwin.
Chris
On 4 Sep 2017, at 17:24, Alexander Konovalov notifications@github.com wrote:
yes, the binary is there, built under Cygwin. I suspect there maybe something about the initial part of the path (/proc/cygdrive/C vs /cygdrive/C). I can help to debug this from next week, mainly saving this so it's not forgotten. @jdebeule also sees this.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/gap-packages/Digraphs","title":"gap-packages/Digraphs","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/gap-packages/Digraphs"}},"updates":{"snippets":[{"icon":"PERSON","message":"@alex-konovalov in #86: yes, the binary is there, built under Cygwin. I suspect there maybe something about the initial part of the path (
/proc/cygdrive/C
vs/cygdrive/C
). I can help to debug this from next week, mainly saving this so it's not forgotten. @jdebeule also sees this."}],"action":{"name":"View Issue","url":"https://github.com/gap-packages/Digraphs/issues/86#issuecomment-326987381"}}}
How did you build this?
I tried just building master digraphs with master gap, and everything was fine.
This is GAP 4.8.8 installation, with official digraphs release included there. Build with ../bin/BuildPackages.sh
under Cygwin, and then installed on a Cygwin-free machine.
@alex-konovalov @jdebeule @ChrisJefferson is this still an issue? Can anyone provide some more information that might help us resolve the issue if it persists?
Dear James, dear Chris and Alexander,
I am unable to reproduce this problem on my installation of windows 10. In other words, digraphs loads fine.
Cheers,
Jan
Op 24 okt. 2017, om 10:14 heeft James Mitchell notifications@github.com het volgende geschreven:
@alex-konovalov @jdebeule @ChrisJefferson is this still an issue? Can anyone provide some more information that might help us resolve the issue if it persists?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
@jdebeule do you install GAP and packages in Windows 10 Linux bash shell? If so, I would not be surprised if it works. But the issue is when it is started on Windows with one of the bat
-file in the bin
directory.
P.S. I have just checked that the same happens with digraphs-0.10.1 and GAP as in the master branch.
Hi Alexander,
I just downloaded the pre-compiled version of GAP and all packages.
Best regards,
Jan
The reason was in missing cygstdc++-6.dll
, as suggested by @ChrisJefferson. I have now added this to the -win.zip archive, and both Digraphs and JSON now can be loaded on Windows. So for these two packages the problem will disappear in the next GAP distribution.
For the record, I am going to warp and publish GAP 4.8.10 with missing dll, that will provide working Digraphs for Windows. @james-d-mitchell if you can review https://github.com/gap-system/gap/pull/2089 to ensure that your packages are handled and described correctly, that would be helpful. Thanks!
Thanks @alex-konovalov, everything looks great.
The following happens, despite the digraphs.so file is there: