You are not logged in.
camlc src/config/.flags.eobjs/byte/dune__exe__Flags.{cmi,cmo,cmt} (exit 2)
(cd _build/default && /usr/bin/ocamlc.opt -w -40 -g -bin-annot -I src/config/.flags.eobjs/byte -I /home/morta/.opam/default/lib/csexp -I /home/morta/.opam/default/lib/dune-configurator -I /home/morta/.opam/default/lib/result -no-alias-deps -open Dune__exe -o src/config/.flags.eobjs/byte/dune__exe__Flags.cmo -c -impl src/config/flags.ml)
File "src/config/flags.ml", line 1:
Error: /home/morta/.opam/default/lib/dune-configurator/configurator.cmi
is not a compiled interface for this version of OCaml.
It seems to be for an older version of OCaml.
-> error making: ocaml-cryptokitHow can I upgrade ocaml to a newer version that ocaml-cryptokit runs?
Last edited by Morta (2021-10-30 18:15:49)
Offline
What version of ocaml is installed on the system? How have you tried to update it? Have you tried building the package as a different user to avoid locally install files?
Offline
[morta@lapt0p ~]$ ocaml
OCaml version 4.12.0
No have I to build own PKGBUILD with the newest ocaml version? Why they doesn't upgrade it?
I have only tried to install over yay with a superuser yay -S ocaml-cryptokit
Offline
OK,
https://archlinux.org/packages/extra/x86_64/ocaml/
It's a package of pacman and is flagged out of date. So no PKGBUILD exist. I have to wait till the pacman package will be upgraded
Offline
archlinux repo packages use PKGBUILD files just like AUR packages, for ocaml see https://github.com/archlinux/svntogit-p … caml/trunk .
Keep in mind though that ocaml is tricky to update and you'll have to rebuild several other packages including llvm .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
How do you mean rebuild? Or what I have to rebuild exactly? Where is a list of these packages? Can i simply reinstall it?
Offline
Everything on archlinux that uses ocaml is build against a specific version of ocaml . If the installed ocaml version changes, all those packages need to be rebuilt to work with the new ocaml version .
If you look in the PKGBUILD I linked you see that its pkgname array holds 2 names : ocaml and ocaml-compiler-libs .
ocaml-compiler-libs depends on ocaml .
run
$ pacman -Qi ocamlEvery package that is listed under Required By or Optional For uses ocaml for something and will stop working correctly when th einstalled ocaml version is not what it was when they were build .
To ensure those packages work correctly they need to be rebuilt against a new ocaml version .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline