From: Kenneth Adam Miller <kennethadammiller@gmail.com>
To: caml users <caml-list@inria.fr>
Subject: [Caml-list] Fatal error: algorithm file not found
Date: Sat, 28 Dec 2024 18:18:54 -0600 [thread overview]
Message-ID: <CAK7rcp_yMfOUazq7D38fOr6GVnydk9M5g4EiWKxuwkTvpoUzag@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 849 bytes --]
I'm trying to install bap, and I ran into this error:
lib/bap_disasm/disasm.cpp:2:10: fatal error: 'algorithm' file not found
#include <algorithm>
^~~~~~~~~~~
1 error generated.
Command exited with code 1.
+ ocamlfind ocamlopt -package unix -package ocamlbuild -linkpkg -package
findlib myocamlbuild.ml
/home/kennethadammiller/.opam/4.14.1+flambda/lib/ocamlbuild/ocamlbuild.cmx
-o myocamlbuild
My llvm version is 14, I think and I'm on Ubuntu 22.04. I think what this
has to do with is the default list of include directories that clang
searches when compiling. You would think that C++ ought to know where its
own stdlib is, but apparently not. I think I am looking for a environment
variable option to allow to pass in to ocaml builds some include directory.
Either that, or a downgrade to an llvm version that works. Can anyone help?
[-- Attachment #2: Type: text/html, Size: 1012 bytes --]
next reply other threads:[~2024-12-29 0:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-29 0:18 Kenneth Adam Miller [this message]
2024-12-29 0:22 ` Kenneth Adam Miller
2024-12-29 0:49 ` Kenneth Adam Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK7rcp_yMfOUazq7D38fOr6GVnydk9M5g4EiWKxuwkTvpoUzag@mail.gmail.com \
--to=kennethadammiller@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox