Yes in the configure script cmt is enabled only for certain ocaml versions. The problem is that the caml AST format (stored in the .cmt) has changed in every versions … I would have hoped for a more stable type. #TODO: not yet ported to 4.02 if($ocaml_version >= 4000 && $ocaml_version < 4020) { $cmt=1; > On Jan 23, 2015, at 6:52 AM, Arnaud Spiwack wrote: > > No, I actually just downloaded the sources and compiled them. Maybe it's because I compiled pfff with ocaml 4.02.1, I notice there isn't a package for pfff in the corresponding opam switch. I'll have to try other versions. > > On 23 January 2015 at 15:26, Daniel Bünzli > wrote: > > > Le vendredi, 23 janvier 2015 à 15:02, Arnaud Spiwack a écrit : > > > I'm confused. I've got a version of pfff compiled from today's github version. I get the following: > > > > $ codegraph -lang cmt -build . > > Fatal error: exception Failure("language not supported: cmt") > > Did you get it by pinning opam ? This may explain: > > https://github.com/ocaml/opam-repository/blob/master/packages/pfff/pfff.0.27.3/opam#L5 > > Best, > > Daniel > > > >