[Omake] Syntax errors (from "or" and "&")
Mark Wong-VanHaren
markwvh at gmail.com
Mon Nov 23 00:51:21 PST 2009
Okay, I'm now thinking that my issue may have to do with the presence
of JoCaml on my machine. JoCaml uses not only '&' and 'or' as
keywords, but 'def' as well. (It was running into a syntax error on a
line with 'def' which flipped the light on for me.)
I did not in any way mean for OMake's build system to use the JoCaml's
version of ocamlc, so I'm not sure why it's happening. I'll keep
digging around.
If anyone else out there should happen to be using both JoCaml and
OMake or may otherwise have some insight as to how to handle this
situation, I'd greatly appreciate some pointers.
Thanks!
-m
2009/11/23 Mark Wong-VanHaren <markwvh at gmail.com>:
> I'm encountering problems when building OMake from source
> (omake-0.9.8.5-3.tar.gz -- using OCaml v. 3.11.0 on AMD64, in case
> that matters).
>
> When issuing the command "make bootstrap", I'm presented with syntax
> errors in many of the source files. I've been manually walking
> through the list, editing the source to fix the syntax errors, which
> so far are all due to the use of the deprecated keywords "or" and "&"
> instead of "||" and "&&", respectively.
>
> Do other people have this same issue? (I apologize if this issue has
> been raised before. I saw no mentions in the archives.)
>
> Is there a patched version of the source with "fixed" syntax? Or,
> rather than edit the source files, perhaps there's a flag one can pass
> to ocamlc so that it will allow the deprecated keywords?
>
> Many thanks,
> -Mark
>
More information about the Omake
mailing list