caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamlbuild native linux failure
@ 2007-06-20 16:10 Sean McLaughlin
  2007-06-21  7:28 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 2+ messages in thread
From: Sean McLaughlin @ 2007-06-20 16:10 UTC (permalink / raw)
  To: Caml List

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

Hello,

  I'm using ocamlbuild on a Mac and it's working fine.
When I moved my project to a linux machine, the native
compilation stopped working.
E.g.

$ cat a.ml
type t = int

$ ocamlbuild a.cmx
Lexical analysis error: Expecting colon-separated strings (2)
Compilation unsuccessful after building 2 targets (0 cached) in 00:00:00.

Any ideas about this?

Thanks,

Sean

[-- Attachment #2: Type: text/html, Size: 470 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] ocamlbuild native linux failure
  2007-06-20 16:10 ocamlbuild native linux failure Sean McLaughlin
@ 2007-06-21  7:28 ` Nicolas Pouillard
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Pouillard @ 2007-06-21  7:28 UTC (permalink / raw)
  To: seanmcl; +Cc: Caml List

Arg, the error message is really too weak....

My bad, I forgot about a case in the lexer, look at your $PATH, there
is two successive colons, right?

On 6/20/07, Sean McLaughlin <seanmcl@gmail.com> wrote:
> Hello,
>
>   I'm using ocamlbuild on a Mac and it's working fine.
> When I moved my project to a linux machine, the native
> compilation stopped working.
> E.g.
>
> $ cat a.ml
>  type t = int
>
> $ ocamlbuild a.cmx
> Lexical analysis error: Expecting colon-separated strings (2)
> Compilation unsuccessful after building 2 targets (0 cached) in 00:00:00.
>
> Any ideas about this?
>
> Thanks,
>
> Sean
>

-- 
Nicolas Pouillard


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-21  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-20 16:10 ocamlbuild native linux failure Sean McLaughlin
2007-06-21  7:28 ` [Caml-list] " Nicolas Pouillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).