Hi Stéphane,
On 2023/10/24 06:31, Stéphane Glondu wrote:
Dear Kyle,
Le 23/10/2023 à 22:01, Kyle Robbertze a écrit :
Liquidsoap has finally moved to Dune as its build system. However, I
am getting the following error when trying to build. Does anyone know
how to fix it?
dh_update_autotools_config -O--buildsystem=ocaml_dune
dh_autoreconf -O--buildsystem=ocaml_dune
dh_ocamlinit -O--buildsystem=ocaml_dune
dh_auto_configure -O--buildsystem=ocaml_dune
dh_auto_build -O--buildsystem=ocaml_dune
dune build -j 5 -p
liquidsoap,liquidsoap-core,liquidsoap-lang,liquidsoap-js,liquidsoap-libs,liquidsoap-libs-extra,liquidsoap-mode,tls-liquidsoap,sdl-liquidsoap
File "src/runtime/dune", line 4, characters 7-17:
4 | (pps ppx_string))
^^^^^^^^^^
Error: Library "ppx_string" not found.
-> required by library "liquidsoap_runtime" in _build/default/src/runtime
-> required by executable liquidsoap in src/bin/dune:2
-> required by _build/default/src/bin/liquidsoap.exe
-> required by _build/install/default/bin/liquidsoap
-> required by %{bin:liquidsoap} at dune:17
-> required by _build/default/liquidsoap.config
-> required by alias install
You need to build-depend on libppx-string-ocaml-dev (which has just been
accepted!).
Thanks! That and ocaml-metadata were the links I was missing. I'm still
struggling to get it building though and it is reaching the end of my
ocaml knowledge. The libgd-ocaml-dev package ships cmi and cmax files on
amd64, but seems to be missing the cmx native file? The build failure is:
File "_none_", line 1:
Warning 58 [no-cmx-file]: no cmx file was found in path for module Gd,
and its interface was not compiled with -opaque
Any pointers would be greatly appreciated!
Cheers
Kyle
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Kyle Robbertze
⢿⡄⠘⠷⠚⠋⠀ Debian Developer
⠈⠳⣄⠀⠀⠀⠀ https://wiki.debian.org/KyleRobbertze