Hi there! Any Ocaml experts around who managed to install 'owl'? Installation of owl fails as 'eigen' and 'open-blas' fail to build.
I am running amd64-current. Any suggestions what I might miss??? TIA! Best, STEFAN ~~~~~~~~~~~~~~~~~~~~8<~~~~~~~~~~~~~~~~~~~~~~~ $ opam switch list # switch compiler description default ocaml-system.4.07.1 default → ocaml-base-compiler ocaml-base-compiler.4.09.0 ocaml-base-compiler $ opam install owl The following actions will be performed: ∗ install eigen 0.1.4 [required by owl] ∗ install conf-openblas 0.2.0 [required by owl] ∗ install owl 0.6.0 ===== ∗ 3 ===== Do you want to continue? [Y/n] Y <><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><> [eigen.0.1.4] found in cache [owl.0.6.0] found in cache <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> [ERROR] The compilation of conf-openblas failed at "/bin/sh -exc cc $CFLAGS test.c -lopenblas". [ERROR] The compilation of eigen failed at "/home/sw/.opam/ocaml-base-compiler/bin/dune build -p eigen eigen_cpp/libeigen_cpp_stubs.a". #=== ERROR while compiling eigen.0.1.4 ========================================# # context 2.0.5 | openbsd/x86_64 | ocaml-base-compiler.4.09.0 | https://opam.ocaml.org#e785ffef # path ~/.opam/ocaml-base-compiler/.opam-switch/build/eigen.0.1.4 # command ~/.opam/ocaml-base-compiler/bin/dune build -p eigen eigen_cpp/libeigen_cpp_stubs.a # exit-code 1 # env-file ~/.opam/log/eigen-84391-d0f245.env # output-file ~/.opam/log/eigen-84391-d0f245.out ### output ### # make eigen_cpp/lib/libeigen.{a,so} (exit 1) # (cd _build/default/eigen_cpp/lib && /usr/bin/make) # g++ -O3 -std=c++11 -I. -I./unsupported/ -c -fPIC -ansi -Wno-extern-c-compat -Wno-c++11-long-long -Wno-invalid-partial-specialization -Ofast -march=native -mfpmath=sse -funroll-loops -ffast-math eigen_tensor.cpp -o eigen_tensor.o # cc1plus: error: invalid option argument '-Ofast' # cc1plus: error: unrecognized command line option "-std=c++11" # cc1plus: error: unrecognized command line option "-Wno-invalid-partial-specialization" # *** Error 1 in /home/sw/.opam/ocaml-base-compiler/.opam-switch/build/eigen.0.1.4/_build/default/eigen_cpp/lib (Makefile:8 'all') #=== ERROR while compiling conf-openblas.0.2.0 ================================# # context 2.0.5 | openbsd/x86_64 | ocaml-base-compiler.4.09.0 | https://opam.ocaml.org#e785ffef # path ~/.opam/ocaml-base-compiler/.opam-switch/build/conf-openblas.0.2.0 # command /bin/sh -exc cc $CFLAGS test.c -lopenblas # exit-code 1 # env-file ~/.opam/log/conf-openblas-84391-ad8886.env # output-file ~/.opam/log/conf-openblas-84391-ad8886.out ### output ### # + cc test.c -lopenblas # test.c:1:10: fatal error: 'cblas.h' file not found # #include <cblas.h> # ^~~~~~~~~ # 1 error generated. <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> ┌─ The following actions failed │ λ build conf-openblas 0.2.0 │ λ build eigen 0.1.4 └─ ╶─ No changes have been performed # Run eval $(opam env) to update the current shell environment ~~~~~~~~~~~~~~~~~~~~>8~~~~~~~~~~~~~~~~~~~~~~~ $ pkg_info | grep eigen eigen-1.0.5 lightweight C++ template library for linear algebra $ pkg_info | grep blas- blas-3.8.0p0 Basic Linear Algebra Subprograms cblas-1.0p6 C interface to the BLAS library