v0.11.2 fails to build on Arch Linux
basus opened this issue · 1 comments
basus commented
Using the command opam pin add core https://github.com/janestreet/core -k git
to build Core v0.11.2 with OCaml 4.06.1 on Arch Linux fails with the following error:
#=== ERROR while installing core.v0.11.2 ======================================#
# opam-version 1.2.2
# os linux
# command jbuilder build -p core -j 1
# path /home/basus/.opam/4.06.1/build/core.v0.11.2
# compiler 4.06.1
# exit-code 1
# env-file /home/basus/.opam/4.06.1/build/core.v0.11.2/core-14434-2c871f.env
# stdout-file /home/basus/.opam/4.06.1/build/core.v0.11.2/core-14434-2c871f.out
# stderr-file /home/basus/.opam/4.06.1/build/core.v0.11.2/core-14434-2c871f.err
### stderr ###
# File "src/jbuild", line 4, characters 16-107:
# Error: Public library "core_kernel.config_h" not found
Deleted user commented
That's expected, if you want to use the development version of one of our packages, you need to use the development version of all of them. To help with that, you can use our development opam repository:
$ opam repo add janestreet-bleeding https://ocaml.janestreet.com/opam-repository