PGOCaml compilation tip

OPAM sandboxing may bite you.

You got a strange build failure of OCaml applications with the error message following?: Unix.Unix_error (20 | CstTag, "connect", "") Yeah, cryptic. But you are not alone. Recently we have experienced this error and took some time to find out the cause. Why it happens? (You can just skip this part.) It was due to OPAM sandboxing in our case. Quite likely your case is the same. OPAM sandboxing compiles softwares in a sandboxed environment where file system is chroot’ed. [Read More]