From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id PAA14805; Fri, 25 Jan 2002 15:07:30 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id PAA15094 for ; Fri, 25 Jan 2002 15:07:29 +0100 (MET) Received: from dpt-info.u-strasbg.fr (dpt-info.u-strasbg.fr [130.79.44.193]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g0PE7Nv10484; Fri, 25 Jan 2002 15:07:23 +0100 (MET) Received: (from luther@localhost) by dpt-info.u-strasbg.fr (8.9.3/8.9.3) id PAA16722; Fri, 25 Jan 2002 15:07:05 +0100 Date: Fri, 25 Jan 2002 15:07:04 +0100 From: Sven To: "Jun P.FURUSE" Cc: david.marsal@free.fr, caml-list@inria.fr, debian-ocaml-maint@lists.debian.org Subject: Re: [Caml-list] Compiler ActiveDVI (CVS) Message-ID: <20020125150704.A16553@dpt-info.u-strasbg.fr> References: <3C5107ED.4030508@free.fr> <20020125121414.A15240@dpt-info.u-strasbg.fr> <20020125.145651.424253831.Jun.Furuse@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20020125.145651.424253831.Jun.Furuse@inria.fr>; from Jun.Furuse@inria.fr on Fri, Jan 25, 2002 at 02:56:51PM +0100 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, Jan 25, 2002 at 02:56:51PM +0100, Jun P.FURUSE wrote: > Bonjour, > > > /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. > > Since I know nothing about the directory layout of O'Caml system in Debian, > I am not sure what is happening... Well, basically, everything is in /usr/lib/ocaml as usual, only i moved the includes in the more logical /usr/include/caml directory. Which may be one of the reason of this causing problems. That said, i built activeDVI 0.3.1 without any kind of major problems. > But I fixed the CFLAGS setting of Advi Makefile so that now ocamlc can use > its default cc include path (usually -I /usr/local/lib/ocaml) correctly. > I hope this may help you... I guess so, will try it out later on. > # The next release of Advi is soon... Cool, ... BTW, i currently ship both mldvi and activedvi as debian package, mldvi being 1.0 and activedvi being 0.3.1. I think this may be overkill, but since i am not entirely sure of what you or alexandre have thinked about it, i prefer to keep it as such (and well, going from 1.0 to 0.3.1 version is not nice for debian packages, i could manage it, but would prefer not to). Also, i have written a small manpage for mldvi (which i send to alexandre i think) and upgraded it for activedvi. You may want to look at it, change things as needed, and integrate it into the cvs archive. (attached here). Also, may you consider adding some small changes to the makefile i need in order to make debianization of it easier ? It is only the following : --- activedvi-0.3.1.orig/Makefile +++ activedvi-0.3.1/Makefile @@ -88,6 +88,15 @@ .depend: *.mli *.ml $(OCAMLDEP) $(INCLUDES) *.mli *.ml > .depend +# debian matters +# +install: mldvi + install mldvi $(DESTDIR)/usr/bin + install mldvi.1 $(DESTDIR)/usr/share/man/man1 +install.opt: mldvi.opt + install mldvi.opt $(DESTDIR)/usr/bin + install mldvi.opt.1 $(DESTDIR)/usr/share/man/man1 + # just for the authors WEBSITEDIR=/net/pauillac/infosystems/www/activedvi As you see, i need a install target, which i can modify the directory prefix with something akin to this $(DESTDIR) variable. Also we could imagine moving all the debian subdir into cvs, so people could build packages directly out of cvs, ... (I still didn't had time to work on the lablgtk frontend to ml/activedvi wanted to do:((() Friendly, Sven Luther ------------------- 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