[Omake] Cygwin build stops with lm_debug.ml

Aleksey Nogin nogin at metaprl.org
Wed Nov 26 11:22:09 PST 2008


Frank,

Are you sure you are using ocaml 3.10.2?

Could you please try doing the following:

cd /usr/src/omake-0.9.8.5
env OMAKEFLAGS= OMAKEPATH=lib ./omake-boot --dotomake .omake
--force-dotomake -j2 --configure main

When it runs, it redo the configure tests and will tell you where it
found ocamlopt.opt. Run that ocamlopt.opt with the -version flag to
double-check which version it is.

Aleksey

On 26.11.2008 09:53, Frank J Lhota wrote:

> I tried building omake under Cygwin, using the following tools:
> 
> GNU Make 3.81
> gcc version 3.4.4
> ocaml version 3.10.2
> 
> Here is the output from the 'make all' command:
> 
> make[1]: Entering directory `/usr/src/omake-0.9.8.5/boot'
> make[1]: `Makefile.dep' is up to date.
> make[1]: Leaving directory `/usr/src/omake-0.9.8.5/boot'
> make[1]: Entering directory `/usr/src/omake-0.9.8.5/boot'
> make[1]: `omake' is up to date.
> make[1]: Leaving directory `/usr/src/omake-0.9.8.5/boot'
> touch .config
> OMAKEFLAGS= OMAKEPATH=lib ./omake-boot --dotomake .omake --force-dotomake 
> -j2 main
> *** omake: reading OMakefiles
> *** omake: finished reading OMakefiles (0.81 sec)
> *** omake: warning: stdout is not a tty, disabling the progress bar
>    (use --progress to override).
> - build src/libmojave lm_debug.cmx
> + ocamlopt.opt -warn-error A -w Ae -I . -c lm_debug.ml
> File "lm_debug.ml", line 127, characters 14-30:
> This expression has type string but is here used with type
>   ('a -> 'b -> 'c -> 'd, out_channel, unit) format =
>     ('a -> 'b -> 'c -> 'd, out_channel, unit, unit, unit, unit) format6
> - build src/libmojave lm_printf.o
> + ocamlopt.opt -warn-error A -w Ae -I . -c lm_printf.ml
> File "lm_printf.ml", line 99, characters 45-53:
> This expression has type string but is here used with type
>   ('a -> 'b, unit, string) format =
>     ('a -> 'b, unit, string, string, string, string) format6
> *** omake: 429/1149 targets are up to date
> *** omake: failed (3.73 sec, 0/105 scans, 2/96 rules, 1/889 digests)
> *** omake: targets were not rebuilt because of errors:
>    src/libmojave/lm_debug.cmx
>    src/libmojave/lm_debug.o
>    src/libmojave/lm_printf.cmx
>    src/libmojave/lm_printf.o
> make: *** [all] Error 2
> 
> What caused this problem? Is there an easy fix?
> 
> Sincerely,
> Frank J. Lhota
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
> 



More information about the Omake mailing list