Closed waclena closed 6 years ago
The syntax extension became optional in the 0.8 release. Are camlp4 and estring installed?
Didn't know about estring; installed it: works! Thanks!
I'm in the process of releasing 0.9.0, where it is now recommended to use pa_sqlexpr (or better yet, switch to ppx_sqlexpr altogether), which depends explicitly on estring. (For backwards compatibility, sqlexpr itself still provides sqlexpr.syntax
if estring is installed, but this will be dropped in the future.)
I've installed sqlexpr v0.8.0 via opam.
Attempting to compile your tests/example.ml according to the example fails:
ocamlfind ocamlc -package sqlexpr,sqlexpr.syntax -syntax camlp4o -linkpkg -thread -o ex ex.ml ocamlfind: Package sqlexpr.syntax not found
(ex.ml is a copy of your tests/example.ml).Any idea what I'm doing wrong? Thanks!