Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Compiler ActiveDVI (CVS)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Didier Remy <remy@m...>
Subject: Re: [Caml-list] Compiler ActiveDVI (CVS)
David Marsal <david.marsal@free.fr> writes:

> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> creating cache ./config.cache
> checking your compiler package... version 3.04 at /usr/lib/ocaml

Thus. That's the directory where ocaml has installed its library files (It
is bound to CAMLDIR in Makefile.config of advi).  Thus, ocaml should have
copied the files (mlvalues.h, alloc.h, etc.)  in the subdirectory
$CAMLDIR/caml.

> gcc -MM -I/usr/lib/ocaml/caml -I/usr/X11R6/include -O -fno-defer-pop -Wall
> -Wno-unused events.c grY11.c | sed -e 's| /usr/lib/ocaml/caml/[^ ]*||' >>
> .depend
> In file included from events.c:16:
> libgraph.h:19: warning: No include path in which to find mlvalues.h
> events.c:17: warning: No include path in which to find alloc.h
> grY11.c:17: warning: No include path in which to find alloc.h
> grY11.c:20: warning: No include path in which to find fail.h
> In file included from grY11.c:21:
> libgraph.h:19: warning: No include path in which to find mlvalues.h
> ocamlc -g -ccopt "-I/usr/lib/ocaml/caml -I/usr/X11R6/include -O
> -fno-defer-pop -Wall -Wno-unused" -c events.c
> In file included from events.c:16:
> libgraph.h:19: mlvalues.h: No such file or directory
> events.c:17: alloc.h: No such file or directory
> make: *** [events.o] Error 2

These are certainly fatal errors. 
Can you check that the files mlvalues.h, alloc.h fail.h are really in

        /usr/lib/ocaml/caml/

If not, there might be a problem with the ocaml installation.
Otherwise try the simpler command:

        ggc  -I/usr/lib/ocaml/caml -c events.c

on its own.

Didier
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr