Я пытаюсь установить Owl на машине, работающей на Manjaro (я ранее устанавливал ее на машине, работающей на Ubuntu без проблем).
Однако, похоже, что BLAS не распознается (следующий вывод отображается независимо от того, использую я blas
или openblas
, я пытался заменить один на другой)
$ opam install owl
The following actions will be performed:
∗ install conf-openblas 0.2.0 [required by owl]
∗ install owl 0.5.0
===== ∗ 2 =====
Do you want to continue? [Y/n] Y
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[owl.0.5.0] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of conf-openblas failed at "/home/xxxx/.opam/opam-init/hooks/sandbox.sh build sh -exc cc $CFLAGS test.c -lopenblas".
#=== ERROR while compiling conf-openblas.0.2.0 ================================#
# context 2.0.3 | linux/x86_64 | base-bigarray.base base-threads.base base-unix.base ocaml-system.4.07.1 | https://opam.ocaml.org#6f407d9b
# path ~/.opam/system/.opam-switch/build/conf-openblas.0.2.0
# command ~/.opam/opam-init/hooks/sandbox.sh build sh -exc cc $CFLAGS test.c -lopenblas
# exit-code 1
# env-file ~/.opam/log/conf-openblas-26648-05296d.env
# output-file ~/.opam/log/conf-openblas-26648-05296d.out
### output ###
# + cc test.c -lopenblas
# test.c:1:10: fatal error: cblas.h: No such file or directory
# #include <cblas.h>
# ^~~~~~~~~
# compilation terminated.
Использование зависимостей не помогло:
$ opam depext conf-openblas.0.2.0
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=manjaro, os-family=arch
# No extra OS packages requirements found.