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 FAA29798; Sat, 2 Aug 2003 05:27:31 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id FAA19328 for ; Sat, 2 Aug 2003 05:27:30 +0200 (MET DST) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h723RSf20990 for ; Sat, 2 Aug 2003 05:27:28 +0200 (MET DST) Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3p2/3.7W) with ESMTP id MAA10355; Sat, 2 Aug 2003 12:27:19 +0900 (JST) In-Reply-To: <1059601286.9556.8.camel@ice.gerd-stolpmann.de> References: <1059601286.9556.8.camel@ice.gerd-stolpmann.de> Subject: Re: [Caml-list] GODI available for download To: info@gerd-stolpmann.de Cc: caml-list@inria.fr X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20030802122802N.garrigue@kurims.kyoto-u.ac.jp> Date: Sat, 02 Aug 2003 12:28:02 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; jacques:01 caml-list:01 gerd:01 mkdir:01 usr:01 bootstrap:01 cleanup:01 ocamlopt:01 personnally:01 reasonnable:01 cygwin:01 --prefix:01 bindir:01 manpage:01 bin:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi Gerd, I attempted to install godi on FreeBSD 5.1, but my first attempt lamentably failed. The error I got was ===> Creating sample godi.conf ===> Installing BSD compatible install script ===> Installing bmake mkdir: /usr/opt/godi/man/man1: File exists Failure! This seems to come from a missing -p argument to mkdir in bootstrap. I join a patch. The fix was easy, but getting it to work difficult, as you have to erase the godi directory, and use the cleanup script in the distribution before recompiling everything (strange for such a small detail). Also, godi_build and godi_info were not installed, and I had to install them by hand. Next, building godi-ocaml and godi-ocaml-labltk. godi-ocaml went fine, but godi-ocaml-labltk failed, because it needs some configuration options (I see no way to pass them). Since I'm used to BSD packages, I go to the godi-ocaml-labltk/work directory, and reconfigure by hand. Build goes fine, but it uses ocamlopt rather than the faster ocamlopt.opt. I was also a bit wondering why it installs so many utilities, as they are all there already on FreeBSD :-) But compatibility can be a pain. I have two questions concerning godi itself: - is it a good idea to use a small tgz by package? we might en up with lots of them! personnally I would rather go for updating directly from a CVS repository, and eventually distribute a big tgz containing all instruction corresponding to a specific version of ocaml. but you may have your reasons. - what about windows? Do you think it is reasonnable to have a binary distribution of godi with all the necessary commands (not depending on cygwin)? Or a distribution on top of cygwin. Not depending on cygwin would be a big plus for occasional users. Regards, Jacques Garrigue --- bootstrap.orig Thu Jul 31 23:34:07 2003 +++ bootstrap Sat Aug 2 11:37:10 2003 @@ -339,7 +339,7 @@ (cd bmake; $shprog ./configure --prefix=$prefix --with-default-sys-path=$prefix/share/mk $configargs && make -f makefile.boot bootstrap && env BINDIR=$prefix/bin $BSTRAP_ENV ./bmake -f Makefile install) 2>&1 ln -s bmake $prefix/bin/godi_make # The manpage is not installed. Why? -mkdir $prefix/man/man1 +$mkdirprog -p $prefix/man/man1 cp bmake/make.1 $prefix/man/man1/godi_bmake.1 # bootstrap lukemftp @@ -415,7 +415,7 @@ # Move pkgsrc in place pkgsrcdir=$prefix/build -mkdir $pkgsrcdir +$mkdirprog -p $pkgsrcdir cpio=$prefix/bin/godi_cpio ( cd pkgsrc ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners