You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be great if the repo can be patched to work with the cygwin packages out of the box.
If the opam.exe is patched in some way, I will see if it is possible to include the patch in the cygwin package.
The text was updated successfully, but these errors were encountered:
Sorry, I don't think it would be worth the effort. There are too many problems, if you intend to use a opam.exe that is linked against cygwin1.dll with this repo:
opam will use path expressions like /home/user/.opam/switch/bin that are only understood by cygwin, not native windows applications.
"os" will be "cygwin", so all windows specific patches won't be applied:
patches: [
"patch-zarith-1.4" { os = "win32" }
"patch-configure" { os = "win32" }
]
Ummm, so the opam.exe used in this repo is compiled with mingw? How did you build that? Was that building a mingw ocaml compiler first and use that to compile opam?
Yes,
it was build with the mingw port of OCaml and the original bootstrapping was annoying because of the long dependency chain. (The patches for opam are available here: https://bitbucket.org/fdopen/ But they are not longer maintained. dra27 will hopefully be able to produce something usable for opam 2.0 and later)
Hi,
I'm packaging opam for cygwin, and I believe it will be accepted into the cygwin repo soon. It works nicely with the ocaml cygwin package, but not so much with https://github.com/fdopen/opam-repository-mingw.
I ran the commands as follow:
It might be due to flexdll is installed in a layout that the ocaml makefile didn't expect.
If I
cp /usr/lib/flexdll/* /usr/bin/
, I can go a bit further, but got another issue:It would be great if the repo can be patched to work with the cygwin packages out of the box.
If the opam.exe is patched in some way, I will see if it is possible to include the patch in the cygwin package.
The text was updated successfully, but these errors were encountered: