[Omake] Cygwin build stops with lm_debug.ml
Frank J Lhota
Frank_J_Lhota at raytheon.com
Wed Nov 26 11:51:48 PST 2008
omake-bounces at metaprl.org wrote on 11/26/2008 02:22:09 PM:
> Frank,
>
> Are you sure you are using ocaml 3.10.2?
I build ocaml 3.10.2 and installed to specifically to make sure I had a
version of ocaml recent enough to support omake. The command "ocamlc
-version" displays "3.10.2". This build, however, did not create
ocamlfind, as the output below indicates.
> 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
I tried that command, and here is the response I got:
*** omake: reading OMakefiles
--- Checking for gcc... (found /usr/bin/gcc.exe)
--- Checking for g++... (found /usr/bin/g++.exe)
--- Checking for ocamlfind... (FAILED - no ocamlfind found)
--- Checking for ocamlc.opt... (found /usr/bin/ocamlc.opt.exe)
--- Checking for ocamlopt.opt... (found /usr/bin/ocamlopt.opt.exe)
--- Checking whether ocamlc understands the "z" warnings... (NO)
--- Checking for ncurses... (NOT found)
--- Checking for FAM... (NOT found)
--- Checking for function snprintf... (found)
--- Checking for optimal filesystem case-sensitivity test... (Generic)
--- Checking for hevea... (FAILED - no hevea found)
--- Checking for date... (found /usr/bin/date.exe)
*** omake: finished reading OMakefiles (1.52 sec)
*** omake: warning: stdout is not a tty, disabling the progress bar
(use --progress to override).
--- Checking if ocamldep understands -modules... (yes)
- 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 (4.47 sec, 0/105 scans, 2/96 rules, 0/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
> 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.
Bingo! The command "/usr/bin/ocamlopt.opt.exe -version" displayed "3.08.1
", so this is undoubtedly a leftover from the previous version of ocaml.
It looks like I need to check my ocaml installation. Thanks for your help.
> 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
> >
>
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
More information about the Omake
mailing list