liquidsoap-full icon indicating copy to clipboard operation
liquidsoap-full copied to clipboard

Won't build on Debian Jessie

Open Metal-Mighty opened this issue 7 years ago • 1 comments

Having issues while building on Debian Jessie (The version in Debian's package manager throws a segfault)

ocamlfind ocamlc -c -package camlp4 -package camlp4.quotations.o -package camlp4.extend -syntax camlp4o pa_duppy.mli
Fatal error: cannot load shared library dllunix
Reason: /usr/local/lib/ocaml/stublibs/dllunix.so: undefined symbol: caml_strdup
File "pa_duppy.mli", line 1:
Error: Error while running external preprocessor
Command line: camlp4 '-I' '/usr/local/lib/ocaml/camlp4' '-I' '/usr/local/lib/ocaml/camlp4' '-I' '/usr/local/lib/ocaml/camlp4' '-parser' 'o' '-parser' 'op' '-printer' 'p' '-parser' 'Camlp4QuotationCommon' '-parser' 'Camlp4OCamlOriginalQuotationExpander' '-parser' 'Camlp4GrammarParser'  'pa_duppy.mli' > /tmp/ocamlppb9e8c0

Makefile:51: recipe for target 'pa_duppy.cmi' failed
make[2]: *** [pa_duppy.cmi] Error 2
make[2]: Leaving directory '/home/Users/mighty/github_projects/liquidsoap-full/ocaml-duppy/src'
Makefile:12: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/Users/mighty/github_projects/liquidsoap-full/ocaml-duppy'
Makefile:11: recipe for target 'all' failed
make: *** [all] Error 1

Metal-Mighty avatar Nov 04 '16 22:11 Metal-Mighty

Your OCaml install seems to have issues. How are you trying to build the code exactly?

toots avatar Jan 11 '17 05:01 toots