Esy: Windows Support - esyi: 'yaml' library not supported on Windows

Created on 22 Jun 2018  路  3Comments  路  Source: esy/esy

I was experimenting with building esyi on Windows, and ran into the following issue:

bryph@DESKTOP-RE9FFOM ~/esy.bootstrap
$ jbuilder build esyi/EsyInstaller.cma
File "esyi/jbuild", line 17, characters 14-18:
Error: Library "yaml" not found.
Hint: try: jbuilder external-lib-deps --missing esyi/EsyInstaller.cma

bryph@DESKTOP-RE9FFOM ~/esy.bootstrap
$ opam install yaml
[ERROR] yaml is not available because your system doesn't comply with
        ocaml-version >= "4.06.0" & os != "win32".

Some details tracked here: https://github.com/fdopen/opam-repository-mingw/commit/1ad7a87f5ce8529ec9302b741cc09155ef14c560#commitcomment-29059282 and here: https://github.com/avsm/ocaml-yaml/issues/11

We should see if we can help get this library working on Windows, or find an alternative library.

For the meantime - I'll use the js-based installer.

windows

Most helpful comment

avsm/ocaml-yaml#11 is now fixed in case you need it back again on windows

All 3 comments

An alternate plan Jordan mentioned was we could potentially convert our config overrides to json, and scrap the yaml parser - then we wouldn't need the yaml parser anymore.

Dependency on yaml removed.

avsm/ocaml-yaml#11 is now fixed in case you need it back again on windows

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lessp picture lessp  路  7Comments

ulrikstrid picture ulrikstrid  路  5Comments

bryphe picture bryphe  路  7Comments

dejanr picture dejanr  路  6Comments

bryphe picture bryphe  路  6Comments