savonet / liquidsoap-full

[DEPRECATED] Former main repository with all in-house bindings
GNU General Public License v2.0
49 stars 26 forks source link

Won't build on Debian Jessie #21

Open Metal-Mighty opened 7 years ago

Metal-Mighty commented 7 years ago

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
toots commented 7 years ago

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