[Omake] bug with ocamldep?

Anastasia Gornostaeva ermine at ermine.pp.ru
Tue Jun 19 14:12:43 PDT 2007


Hello.

USE_OCAMLFIND = true
OCAMLFINDFLAGS = -syntax camlp4o
OCAMLPACKS[] =
   ulex
   xml
FILES[] =
   xmlstring
LIB = xmlstring
.DEFAULT: $(OCamlLibrary $(LIB), $(FILES))


omake rev 11022

$ omake 
*** omake: THIS VERSION OF OMAKE IS UNDERGOING CHANGES!
*** omake: It may act differently from what you expect.
*** omake: If you encounter problems,
*** omake: consider using a released version,
*** omake: ---
*** omake: reading OMakefiles
*** omake: finished reading OMakefiles (0.0 sec)
- scan . scan-ocaml-xmlstring.ml
+ ocamlfind ocamldep -syntax camlp4o -modules xmlstring.ml
     | Shell.ocamldep-postproc()
ocamlfind: When using -syntax, the META variable 'preprocessor' must be set
*** omake: 12/19 targets are up to date
*** omake: failed (0.0 sec, 1/1 scans, 0/0 rules, 0/36 digests)
*** omake: targets were not rebuilt because of errors:
   <scanner scan-ocaml-xmlstring.ml>
      depends on: xmlstring.ml

The problem is that here is not used OCAMLPACKS.
On my memory it worked with omake 0.9.8.3
omake 0.9.8.4.1 does not call ocamlfind in this position at all.


Thanks.

ermine


More information about the Omake mailing list