You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of today, there is an incompatibility between OCaml and ocpkg -rdpcav -l default.
In consequence, any ubuntu 22 system with ocaml installed from apt will fail to cooperate with ocpkg -rdpcav -l default. A workaround I use is to perform the invocation in an lxc container, as follows:
This should unfold and build fine. But as ocaml is not installed, it is not detected, and the problem is bypassed. When ocaml is already installed as an ubuntu package, we get the following error:
[ 55%] Building CXX object opencog/ocaml/CMakeFiles/camlatoms.dir/CamlWrap.cc.o/tmp/atomspace-master/opencog/ocaml/CamlWrap.cc:25:10: fatal error: caml/alloc.h: No such file or directory 25 | #include <caml/alloc.h> | ^~~~~~~~~~~~~~compilation terminated.make[2]: *** [opencog/ocaml/CMakeFiles/camlatoms.dir/build.make:92: opencog/ocaml/CMakeFiles/camlatoms.dir/CamlWrap.cc.o] Error 1make[1]: *** [CMakeFiles/Makefile2:4089: opencog/ocaml/CMakeFiles/camlatoms.dir/all] Error 2
The text was updated successfully, but these errors were encountered:
As of today, there is an incompatibility between OCaml and
ocpkg -rdpcav -l default
.In consequence, any ubuntu 22 system with ocaml installed from apt will fail to cooperate with
ocpkg -rdpcav -l default
. A workaround I use is to perform the invocation in an lxc container, as follows:This should unfold and build fine. But as ocaml is not installed, it is not detected, and the problem is bypassed. When ocaml is already installed as an ubuntu package, we get the following error:
The text was updated successfully, but these errors were encountered: