Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", "")
As I have no clear description of how does the code looks for local DB, I cannot debug it myself. The postgres server is up and running; the user, role and db are created. pgocaml.3.2 installed. Still make
fails with that:
File "./src/db/writer.ml", line 34, characters 17-24: Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", "")
Error: [892.1] 'camlp4o' '-I' '/root/.opam/4.07.1/lib/ocaml' '/root/.opam/4.07.1/lib/ocaml/unix.cma' '-I' '/root/.opam/4.07.1/lib/ocaml' '/root/.opam/4.07.1/lib/ocaml/str.cma' '/root/.opam/4.07.1/lib/ocaml/bigarray.cma' '-I' '/root/.opam/4.07.1/lib/calendar' '/root/.opam/4.07.1/lib/calendar/calendarLib.cma' '-I' '/root/.opam/4.07.1/lib/re' '/root/.opam/4.07.1/lib/re/re.cma' '-I' '/root/.opam/4.07.1/lib/csv' '/root/.opam/4.07.1/lib/csv/csv.cma' '-I' '/root/.opam/4.07.1/lib/sexplib' '-I' '/root/.opam/4.07.1/lib/sexplib/0' '-I' '/root/.opam/4.07.1/lib/sexplib/unix' '/root/.opam/4.07.1/lib/sexplib0/sexplib0.cma' '/root/.opam/4.07.1/lib/parsexp/parsexp.cma' '/root/.opam/4.07.1/lib/sexplib/sexplib.cma' '/root/.opam/4.07.1/lib/sexplib/unix/sexplib_unix.cma' '-I' '/root/.opam/4.07.1/lib/bigarray-compat' '/root/.opam/4.07.1/lib/bigarray-compat/bigarray_compat.cma' '-I' '/root/.opam/4.07.1/lib/cstruct' '/root/.opam/4.07.1/lib/cstruct/cstruct.cma' '-I' '/root/.opam/4.07.1/lib/hex' '/root/.opam/4.07.1/lib/hex/hex.cma' '-I' '/root/.opam/4.07.1/lib/pgocaml' '/root/.opam/4.07.1/lib/pgocaml/pgocaml.cma' '-I' '/root/.opam/4.07.1/lib/pgocaml' '/root/.opam/4.07.1/lib/pgocaml/pa_pgsql.cma' './src/db/reader.ml'
File "./src/db/reader.ml", line 102, characters 6-224 (end at line 105, character 50): Camlp4: Uncaught exception: Unix.Unix_error (20 | CstTag21, "connect", "")