Skip to content

build / install fails on FreeBSD #68

@tpltnt

Description

@tpltnt

Hi there,

I tried installing iocaml via opam (i.e. opam install iocaml), but it failed

=-=- Gathering sources =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[iocaml] Archive in cache
[iocaml-kernel] Archive in cache

=-=- Processing actions -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
[ERROR] The compilation of iocaml-kernel failed at "gmake all".
Processing  1/2: [iocaml-kernel: gmake uninstall]
#=== ERROR while installing iocaml-kernel.0.4.8 ===============================#
# opam-version 1.2.2
# os           freebsd
# command      gmake all
# path         /usr/home/foo/.opam/system/build/iocaml-kernel.0.4.8
# compiler     system (4.02.3)
# exit-code    2
# env-file     /usr/home/foo/.opam/system/build/iocaml-kernel.0.4.8/iocaml-kernel-54283-e7966f.env
# stdout-file  /usr/home/foo/.opam/system/build/iocaml-kernel.0.4.8/iocaml-kernel-54283-e7966f.out
# stderr-file  /usr/home/foo/.opam/system/build/iocaml-kernel.0.4.8/iocaml-kernel-54283-e7966f.err
### stdout ###
# atdgen -t Ipython_json.atd
# atdgen -j Ipython_json.atd
# ocamlfind c iocaml_zmq_stubs.c
### stderr ###
# iocaml_zmq_stubs.c:1:10: fatal error: 'zmq.h' file not found
# #include <zmq.h>
#          ^
# 1 error generated.
# gmake: *** [Makefile:10: stub] Fehler 2

Libzmq is installed and zmq.h can be found in the directory /usr/local/include/. This directory does not seem to get searched when running ocamlfind c iocaml_zmq_stubs.c. I haven't found any (quick) fix, otherwise I would have provided a patch/pull request. Thank you for providing an OCaml kernel for Jupyter and I hope this issues gets fixed.

Cheers,
tpltnt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions