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

ocamlfind < 1.9.5 is not compatible with OCaml 5.0 #21564

Merged
merged 1 commit into from
Jun 18, 2022

Conversation

kit-ty-kate
Copy link
Member

@kit-ty-kate kit-ty-kate commented Jun 18, 2022

#=== ERROR while compiling ocamlfind.1.9.1 ====================================#
# context              2.1.2 | linux/x86_64 | ocaml-variants.5.0.0+trunk | file:///home/opam/opam-repository
# path                 ~/.opam/5.0/.opam-switch/build/ocamlfind.1.9.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build ./configure -bindir /home/opam/.opam/5.0/bin -sitelib /home/opam/.opam/5.0/lib -mandir /home/opam/.opam/5.0/man -config /home/opam/.opam/5.0/lib/findlib.conf -no-custom -no-camlp4
# exit-code            1
# env-file             ~/.opam/log/ocamlfind-23-f1292d.env
# output-file          ~/.opam/log/ocamlfind-23-f1292d.out
### output ###
# Welcome to findlib version 1.9.1
# Configuring core...
# Checking for #remove_directory...
# Testing threading model...
# systhread_supported: true
# Testing DLLs...
# File "_none_", line 1:
# Alert ocaml_deprecated_auto_include: 
# OCaml's lib directory layout changed in 5.0. The unix subdirectory has been
# automatically added to the search path, but you should add -I +unix to the
# command-line to silence this alert (e.g. by adding unix to the list of
# libraries in your dune file, or adding use_unix to your _tags file for
# ocamlbuild, or using -package unix for ocamlfind).
# Testing whether ppxopt can be supported...
# Checking for ocamlc -opaque...
# Querying installation: found list of findlib-generated META files
# Installation has: bytes,compiler-libs,dynlink,ocamldoc,runtime_events,stdlib,str,threads,unix
# Configuring libraries...
# unix: not present (possible since 4.08)
# configure: ocamlfind requires OCaml's Unix library

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

Successfully merging this pull request may close these issues.

1 participant