Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Won't build on Debian Jessie #21

Open
Metal-Mighty opened this issue Nov 4, 2016 · 1 comment
Open

Won't build on Debian Jessie #21

Metal-Mighty opened this issue Nov 4, 2016 · 1 comment
Labels

Comments

@Metal-Mighty
Copy link

Metal-Mighty commented Nov 4, 2016

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
Copy link
Member

toots commented Jan 11, 2017

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

@toots toots added the question label Jan 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants