Closed gl-yziquel closed 9 months ago
I see this error: I get
atomspace-git/build/opencog/ocaml/storewrappers.cc:10:10: fatal error: caml/memory.h: No such file or directory
10 | #include <caml/memory.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
The memory.h
file seems to be located at /usr/lib/ocaml/caml/memory.h
on my system, which clearly is not in the conventional /usr/include
file search path. The correct fix is to plumb the depths of https://github.com/opencog/cogutil/blob/master/cmake/FindOCaml.cmake and tweak it so that it sets up the correct include path.
I don't have the energy to do this; instead, I'm in the process of stubbing out the OCaml build. I'll push that workaround in the next 10-20 minutes.
quick-hack work-around in #3039
Makes sense.
I merged #3039, so I'm closing this. (I'm still twerking other, unrelated issues.)
Building atomspace from source on an ubuntu 22 with ocaml installed via apt is broken.
This issue has been reported here: https://github.com/opencog/ocpkg/issues/173