On 04/27/2012 08:29 PM, Markus Mottl wrote:
> Hi,
> 
> even the following should work if everything is installed correctly:
> 
>   ocamlfind ocamlc -linkpkg -package sexplib.syntax,bin_prot.syntax
> -syntax camlp4o main.ml

If I try this command, I get the same error:

        Camlp4: Uncaught exception: Not_found

        File "main.ml", line 1, characters 0-1:
        Error: Preprocessor error

Now, I am not sure what should be the conclusion.

I hesitate to claim that versions of (sexplib+bin_prot) libraries
published in GODI are faulty---if I do not use ocamlfind, I can use
those libraries just fine.

Do not you think that camlp4 is never expected (for any kind of input)
throw an exception? Are we sure that the reported steps do not simply
trigger a camlp4 bug?

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to