On Fri, 25 Jan 2002, Sven wrote: > On Fri, Jan 25, 2002 at 08:23:25AM +0100, David Marsal wrote: > > Bonjour, > > > > Je me suis promis de faire ma prochaine presentation avec Advi.(dans 3 > > semaines). Je suis sous Debian Sid. > > Mmm, ... > > 1) il existe un package debian de mldvi, mais qui n'inclut peut-etre pas > toutes les nouveautes de Advi. Il faudrait que je package Advi, ou que je > remplace mldvi par ActiveDvi. Je ne sais pas ce qu'il en est exactement. > > 2) j'aimerait savroi quelle version des packages camlimages et ocaml tu > utilise, la derniere version de ocaml est 3.04-5 et la derniere version de > camlimages est 2.00-1. > > > 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 > > Arg, ... > > /usr/include/caml est l'emplacement correct pour les fichier d'include caml, > comme il se doit. C'est une idee bizarre de mettre des fichiers d'include dans > /usr/lib, bien que je comprenne pourquoi ocaml fait cela, pour le package > debian on a la chance de pouvoir placer les fichier au bon endroit. > > L'ideal aurrait ete de pouvoir changer les chemins des includes dans le > configure ou le makefile de Advi. J'ai eu le meme probleme que j'ai resolu en ajoutant "-I/usr/include/caml" dans le Makefile. Je ne sais pas pourquoi ld se refusait a trouver tout seul les headers caml. Clement Renard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

