Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gapi-ocaml fail to buid with ocaml 5.0.0 and later #44

Closed
sergiomb2 opened this issue Jan 12, 2024 · 3 comments
Closed

gapi-ocaml fail to buid with ocaml 5.0.0 and later #44

sergiomb2 opened this issue Jan 12, 2024 · 3 comments

Comments

@sergiomb2
Copy link

gapi-ocaml fail to buid with ocaml 5.0.0 and later

@sergiomb2
Copy link
Author

cd gapi-ocaml-0.4.2
+ dune build @install
File "src/gapi/gapiJson.mli", line 13, characters 18-34:
13 |   (json_metadata, Yojson.Safe.json) GapiCore.AnnotatedTree.t
                       ^^^^^^^^^^^^^^^^
Error: Unbound type constructor Yojson.Safe.json
File "src/gapi/gapiCore.ml", line 108, characters 26-42:
108 |       let lowercase_key = String.lowercase key in
                                ^^^^^^^^^^^^^^^^
Error: Unbound value String.lowercase
File "src/gapi/gapiMediaResource.ml", line 150, characters 52-68:
150 |     try GapiUtils.string_after_char '.' filename |> String.lowercase
                                                          ^^^^^^^^^^^^^^^^
Error: Unbound value String.lowercase
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Yojson, and its interface was not compiled with -opaque

@astrada
Copy link
Owner

astrada commented Jan 12, 2024

You should upgrade to the latest beta version (0.4.5) that is compatible with OCaml 5.

@sergiomb2
Copy link
Author

thank you building now for Fedora 40 (not yet released)

https://copr.fedorainfracloud.org/coprs/sergiomb/google-drive-ocamlfuse/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants