Hello all, I am trying to upgrade dune to 3.8.0, but I keep getting a flexlink/flexdll error.
[ERROR] The compilation of ocaml-variants.5.2.1+options failed at "./configure --prefix=/home/kali/.opam/br-2025-02-26
--docdir=/home/kali/.opam/br-2025-02-26/doc/ocaml -C --enable-flambda --enable-frame-pointers --disable-warn-error".
#=== ERROR while compiling ocaml-variants.5.2.1+options =======================#
# context 2.3.0 | linux/x86_64 | | https://opam.ocaml.org#a8a89f62d8abd2a9f0cbb04826bfec1ef6b563e7
# path ~/.opam/br-2025-02-26/.opam-switch/build/ocaml-variants.5.2.1+options
# command ~/.opam/opam-init/hooks/sandbox.sh build ./configure --prefix=/home/kali/.opam/br-2025-02-26 --docdir=/home/kali/.opam/br-2025-02-26/doc/ocaml -C --enable-flambda --enable-frame-pointers --disable-warn-error
# exit-code 1
# env-file ~/.opam/log/ocaml-variants-26799-6bd3a5.env
# output-file ~/.opam/log/ocaml-variants-26799-6bd3a5.out
### output ###
# [...]
# checking whether stripping libraries is possible... yes
# checking if libtool supports shared libraries... yes
# checking whether to build shared libraries... yes
# checking whether to build static libraries... yes
# checking how to run the C preprocessor... gcc -E
# checking C compiler vendor... gcc-11-4
# checking whether host executables can be run in the build... yes
# checking whether #! works in shell scripts... yes
# checking whether C compiler accepts -Wold-style-declaration... yes
# checking for flexdll sources... checking for flexlink... flexlink
# checking whether flexlink works... no
# configure: error: flexlink does not work
However, I do have flexlink installed
$ flexlink
Please specify an output file (-help to get some usage information)
Any help is appreciated, thanks in advance.