caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* camlp4 can't find camlp4/Camlp4Parsers path?
@ 2007-08-02 16:00 Richard Jones
  2007-08-02 16:14 ` [Caml-list] " Gabriel Kerneis
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Jones @ 2007-08-02 16:00 UTC (permalink / raw)
  To: caml-list

I'm getting a bunch of errors like this:

Camlp4: Uncaught exception: DynLoader.Error ("Camlp4OCamlRevisedParser.cmo", "file not found in path")

These can be solved by adding '-I `ocamlc -where`/camlp4/Camlp4Parsers'
to every invocation of camlp4 commands, but I wonder why the path
isn't there already.  Is this a bug?

Rich.

-- 
Richard Jones
Red Hat


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

* Re: [Caml-list] camlp4 can't find camlp4/Camlp4Parsers path?
  2007-08-02 16:00 camlp4 can't find camlp4/Camlp4Parsers path? Richard Jones
@ 2007-08-02 16:14 ` Gabriel Kerneis
  2007-08-02 16:20   ` Richard Jones
  0 siblings, 1 reply; 6+ messages in thread
From: Gabriel Kerneis @ 2007-08-02 16:14 UTC (permalink / raw)
  To: caml-list

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

Le Thu, 2 Aug 2007 17:00:16 +0100, Richard Jones <rich@annexia.org> a
écrit :
> I'm getting a bunch of errors like this:
> 
> Camlp4: Uncaught exception: DynLoader.Error
> ("Camlp4OCamlRevisedParser.cmo", "file not found in path")
> 
> These can be solved by adding '-I `ocamlc
> -where`/camlp4/Camlp4Parsers' to every invocation of camlp4 commands,
> but I wonder why the path isn't there already.  Is this a bug?

-I +camlp4 doesn't work?

Regards,
-- 
Gabriel

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: [Caml-list] camlp4 can't find camlp4/Camlp4Parsers path?
  2007-08-02 16:14 ` [Caml-list] " Gabriel Kerneis
@ 2007-08-02 16:20   ` Richard Jones
  2007-08-09 18:30     ` Nicolas Pouillard
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Jones @ 2007-08-02 16:20 UTC (permalink / raw)
  To: Gabriel Kerneis; +Cc: caml-list

On Thu, Aug 02, 2007 at 06:14:32PM +0200, Gabriel Kerneis wrote:
> Le Thu, 2 Aug 2007 17:00:16 +0100, Richard Jones <rich@annexia.org> a
> écrit :
> > I'm getting a bunch of errors like this:
> > 
> > Camlp4: Uncaught exception: DynLoader.Error
> > ("Camlp4OCamlRevisedParser.cmo", "file not found in path")
> > 
> > These can be solved by adding '-I `ocamlc
> > -where`/camlp4/Camlp4Parsers' to every invocation of camlp4 commands,
> > but I wonder why the path isn't there already.  Is this a bug?
> 
> -I +camlp4 doesn't work?

No.  +camlp4 seems to be on the path already, but not that
subdirectory.

Rich.

-- 
Richard Jones
Red Hat


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

* Re: [Caml-list] camlp4 can't find camlp4/Camlp4Parsers path?
  2007-08-02 16:20   ` Richard Jones
@ 2007-08-09 18:30     ` Nicolas Pouillard
  2007-08-10  8:35       ` Richard Jones
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Pouillard @ 2007-08-09 18:30 UTC (permalink / raw)
  To: Richard Jones; +Cc: Gabriel Kerneis, O'Caml Mailing List

When did you get this kind of error?

Is your camlp4 installed in the expected directory (camlp4 -where)?

If it's a manual compilation command the recommended flag is
``-I +camlp4/Camlp4Parsers''.

Excerpts from Richard Jones's message of Thu Aug 02 18:20:11 +0200 2007:
> On Thu, Aug 02, 2007 at 06:14:32PM +0200, Gabriel Kerneis wrote:
> > Le Thu, 2 Aug 2007 17:00:16 +0100, Richard Jones <rich@annexia.org> a
> > écrit :
> > > I'm getting a bunch of errors like this:
> > > 
> > > Camlp4: Uncaught exception: DynLoader.Error
> > > ("Camlp4OCamlRevisedParser.cmo", "file not found in path")
> > > 
> > > These can be solved by adding '-I `ocamlc
> > > -where`/camlp4/Camlp4Parsers' to every invocation of camlp4 commands,
> > > but I wonder why the path isn't there already.  Is this a bug?
> > 
> > -I +camlp4 doesn't work?
> 
> No.  +camlp4 seems to be on the path already, but not that
> subdirectory.
> 
> Rich.
> 

-- 
Nicolas Pouillard aka Ertai


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

* Re: [Caml-list] camlp4 can't find camlp4/Camlp4Parsers path?
  2007-08-09 18:30     ` Nicolas Pouillard
@ 2007-08-10  8:35       ` Richard Jones
  2007-08-13  9:02         ` Nicolas Pouillard
  0 siblings, 1 reply; 6+ messages in thread
From: Richard Jones @ 2007-08-10  8:35 UTC (permalink / raw)
  To: Nicolas Pouillard; +Cc: Gabriel Kerneis, O'Caml Mailing List

On Thu, Aug 09, 2007 at 08:30:10PM +0200, Nicolas Pouillard wrote:
> When did you get this kind of error?
> 
> Is your camlp4 installed in the expected directory (camlp4 -where)?

$ camlp4 -where
/usr/lib/ocaml/camlp4

> If it's a manual compilation command the recommended flag is
> ``-I +camlp4/Camlp4Parsers''.

I don't understand.  Are you saying that I must add this flag?  I've
never had to add this flag manually before when compiling camlp4
stuff, and nor do a lot of the packages I'm trying to install add this
flag.

Rich.

-- 
Richard Jones
Red Hat


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

* Re: [Caml-list] camlp4 can't find camlp4/Camlp4Parsers path?
  2007-08-10  8:35       ` Richard Jones
@ 2007-08-13  9:02         ` Nicolas Pouillard
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Pouillard @ 2007-08-13  9:02 UTC (permalink / raw)
  To: Richard Jones; +Cc: Gabriel Kerneis, O'Caml Mailing List

Excerpts from Richard Jones's message of Fri Aug 10 10:35:04 +0200 2007:
> On Thu, Aug 09, 2007 at 08:30:10PM +0200, Nicolas Pouillard wrote:
> > When did you get this kind of error?
> > 
> > Is your camlp4 installed in the expected directory (camlp4 -where)?
> 
> $ camlp4 -where
> /usr/lib/ocaml/camlp4
> 
> > If it's a manual compilation command the recommended flag is
> > ``-I +camlp4/Camlp4Parsers''.
> 
> I don't understand.  Are you saying that I must add this flag?  I've
> never had to add this flag manually before when compiling camlp4
> stuff, and nor do a lot of the packages I'm trying to install add this
> flag.

Sorry, this flag is required by **ocamlc** when compiling with camlp4 parsers.

However camlp4 itself should not requires this kind of extra flags. It's certainly a bug, what's the exact situation?

-- 
Nicolas Pouillard aka Ertai


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

end of thread, other threads:[~2007-08-13  9:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-02 16:00 camlp4 can't find camlp4/Camlp4Parsers path? Richard Jones
2007-08-02 16:14 ` [Caml-list] " Gabriel Kerneis
2007-08-02 16:20   ` Richard Jones
2007-08-09 18:30     ` Nicolas Pouillard
2007-08-10  8:35       ` Richard Jones
2007-08-13  9:02         ` 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).