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: David Marsal <david.marsal@f...>
Subject: [Caml-list] Compiler ActiveDVI (CVS)
Bonjour,

Je me suis promis de faire ma prochaine presentation avec Advi.(dans 3 
semaines). Je suis sous Debian Sid.

Voulant profiter des derniers ajouts (image de fond) j'ai pris la 
version CVS et ... malheurs.

Je ne connait rien à ocaml pour l'instant. et voici le résultat de 
./configure

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

creating cache ./config.cache
checking your compiler package... version 3.04 at /usr/lib/ocaml
checking for cdk_config... nope
checking for kpsexpand... /usr/bin/kpsexpand
checking TeX root path... /usr/share/texmf
checking for kpsewhich... /usr/bin/kpsewhich
checking for gzip... /bin/gzip
checking for camlimages... found
checking for camltk... no
checking for gs... checking for gs... /usr/bin/gs
found
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
updating cache ./config.cache
creating ./config.status
creating Makefile.config
creating config.ml
creating ifdef.ml
------------------------------------------------- Configuration finished
Language:    ocaml version 3.04
cdk_config:  false
Camlimages:  true
CamlTk:      false
GS:           version 6.51 at /usr/bin/gs
Resources:   /usr/local/lib/advi /
------------------------------------------------------------------------


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Comme il va au bout je suis content malgré quelques doutes avec 
cdk_config et CamlTk

Alors makons !

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Makefile:171: .depend: No such file or directory
ocamlc -g -c -I +camlp4 ifdef.ml
camlp4o pa_ifdef.cmo ./ifdef.cmo -impl drawimage.mlp > drawimage.ml
camlp4o pa_ifdef.cmo ./ifdef.cmo -impl dvicolor.mlp > dvicolor.ml
camlp4o pa_ifdef.cmo ./ifdef.cmo -impl ttfont.mlp > ttfont.ml
ocamldep *.mli config.ml timeout.ml graphicsY11.ml misc.ml userfile.ml 
input.ml symbol.ml search.ml shot.ml drawimage.ml dvicolor.ml table.ml 
pkfont.ml ttfont.ml jfm.ml font.ml glyph.ml devfont.ml units.ml 
dimension.ml gs.ml transimpl.ml grdev.ml dvi.ml driver.ml dviview.ml 
main.ml > .depend
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

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

j'ai alors bidouillé pour faire des liens symboliques de /usr/lib/ocaml 
vers /usr/include/caml
ainsi la compilation va un peu plus loin puis me plante sur un -ltiff 
blablabla (un peu comme les erreurs avec -lX11)
J'ai également modif de /etc/ld.so.conf puis ldconfig et pis le truc ne 
marche pas ...  j'ai laissé tombé.

Vous l'avez compris je ne sais pas ce qu'il faut faire.
Alors je sollicite votre aide abondante et généreuse.
Par avance, un grand merci et une très bonne journée.

Pour note, voila les paquets caml installé

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

camlidl                                         install
camlidl-doc                                     install
camlimages                                      install
camlp4-doc                                      install
ocaml                                           install
ocaml-base                                      install
ocaml-core                                      install
ocaml-doc                                       install
ocaml-findlib                                   install
ocaml-tools                                     install
ocamlweb                                        install






-------------------
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