From 16d981e9eeb2dab7b59c08b0f9a7f63826499fa5 Mon Sep 17 00:00:00 2001 From: Anthony Scemama Date: Fri, 18 Aug 2017 15:07:54 +0200 Subject: [PATCH] Fix ZMQ installation problem --- install/scripts/install_ocaml.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/scripts/install_ocaml.sh b/install/scripts/install_ocaml.sh index e2d28926..486ead4a 100755 --- a/install/scripts/install_ocaml.sh +++ b/install/scripts/install_ocaml.sh @@ -70,12 +70,12 @@ ${QP_ROOT}/bin/opam config setup -a -q || exit 1 export LD_LIBRARY_PATH=${QP_ROOT}/lib:${LD_LIBRARY_PATH} export LIBRARY_PATH=${QP_ROOT}/lib:${LIBRARY_PATH} -export C_INCLUDE_PATH=${QP_ROOT}/lib:${QP_ROOT}/include:$(ocamlopt -where)/../../include/ocaml_stdint:${C_INCLUDE_PATH} +export C_INCLUDE_PATH=${QP_ROOT}/lib:${QP_ROOT}/include:${C_INCLUDE_PATH} source ${HOME}/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true NCPUs=$(cat /proc/cpuinfo | grep -i MHz | wc -l) -${QP_ROOT}/bin/opam install -j ${NCPUs} ZMQ -y -q || exit 1 +${QP_ROOT}/bin/opam install -j ${NCPUs} stdint.0.4.2 ZMQ -y -q || exit 1 ${QP_ROOT}/bin/opam install -j ${NCPUs} ${PACKAGES} -y -q || exit 1 rm -f ../_build/ocaml.log