Trying to build the plplot OCaml bindings from the latest SVN failed with a build error:
Scanning dependencies of target target_lib_plplot_stubs
[ 56%] Generating plplot_core.idl, plplot_core.h, plplot_core.ml, plplot_core.mli, plplot_core_stubs.c
File /Users/farr/Documents/code/plplot/build_dir/bindings/ocaml/plplot_core.idl, line 254, column 13: Illegal character #
make: *** [bindings/ocaml/plplot_core.idl] Error 2
make: *** [bindings/ocaml/CMakeFiles/target_lib_plplot_stubs.dir/all] Error 2
make: *** [all] Error 2
The attached patch fixes the problem by removing the RAW_ML macro from plplot_core.idl and manually quoting the offending lines. Let me know if you have any questions.
Log in to post a comment.