caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Fred Yankowski <fred@ontosys.com>
To: Gerd Stolpmann <info@gerd-stolpmann.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] GODI available for download
Date: Thu, 31 Jul 2003 11:51:06 -0500	[thread overview]
Message-ID: <20030731165106.GA1754@ontosoft.com> (raw)
In-Reply-To: <1059601286.9556.8.camel@ice.gerd-stolpmann.de>

On Wed, Jul 30, 2003 at 11:41:27PM +0200, Gerd Stolpmann wrote:
> In the past days I have worked on GODI, an experimental source-based
> O'Caml distribution, and I think it is now worth a try.
> 
> You can get the current bootstrap tarball here:
> 
> http://www.ocaml-programming.de/packages/godi-bootstrap-20030730.tar.gz

I gave it a try on a Linux 2.4.20 / Debian 3.0 machine, where (as far
as I can recall) I have never installed ocaml.  Although I have lots
of experience with Debian package management, I've never BSD-style
package management tooks before.  So here's what ensued:

The godi-ocaml package built and installed easily.

To build godi-ocaml-graphics I had to first install the Debian
xdev-libs package to get the needed Xlib.h and Xutil.h files.  No big
deal.

Building godi-ocaml-labltk was a minor pain.  I had to install the
Debian tcl8.3-dev and tk8.3-dev packages to get the tcl.h and tk.h
files.  But building godi-ocaml-labtl would still fail to find those
headers.  I saw the note in the main README about "So if your tcl/tk
libraries are not found, you have to fix the problem in
godi-ocaml-src" and I eventually saw the note in the DESCR file for
godi-ocaml-src saying that tcl/tk should be installed first.

So then it was a bit of a mystery, how to rebuild godi-ocaml-src and
whatever depends on it.  Nothing much happened when I ran 'godi_build
godi-ocaml-src' again, so I ran 'godi_delete godi-ocaml-src' and tried
again, whereupon it rebuilt from source and finished OK.

Now, presumably, godi-caml and godi-caml-graphics need to be rebuilt
as well.  Doing "godi_build godi-ocaml" reports that the package is
already up-to-date.  Doing "godi_delete godi-ocaml" fails because the
godi-ocaml-graphics package depends on it, so I did "godi_delete -f
godi-ocaml" to force the delete.  That worked, mostly, but gave some
warnings about directories that could not be removed because they aren't
empty, because of files still there for godi-ocaml-graphics.  (OK,
that wasn't my brightest move, but I thought using -f would
recursively remove any packages that depend on godi-ocaml -- and that
did not happen).  Run "godi_delete godi-ocaml-graphics".  Now doing
"godi_build godi-ocaml" rebuilds from source ... but it fails near the
end because a lib/ocaml/std-lib/ directory already exists.  Remove
that and try again; now the build finishes OK.

Build godi-ocaml-graphics again; OK.  And now building
godi-ocaml-labltk works just fine.  Minimal testing suggests that the
executables are working well.  ocamlbrowser runs OK.

So, that's how it went for someone who knows Linux system admin well,
but has no experience with BSD packaging tools and almost no
experience with ocaml distribution/packaging.  The "GODI" tools work
well, but I need a bit more information about their theory of
operation to understand how to recover when things go wrong.  I'd also
like to understand the role of the godi-ocaml-src package better, and
what sort of implicit dependencies other GODI ocaml packages have on
it.

Overall, it's an impressive first cut at an easy to use package
management system for Ocaml.

-- 
Fred Yankowski      fred@ontosys.com           tel: +1.630.879.1312
OntoSys, Inc	    PGP keyID: 7B449345        fax: +1.630.879.1370
www.ontosys.com     38W242 Deerpath Rd, Batavia, IL 60510-9461, USA

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


  reply	other threads:[~2003-07-31 16:51 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30 21:41 Gerd Stolpmann
2003-07-31 16:51 ` Fred Yankowski [this message]
2003-08-01 21:24   ` Gerd Stolpmann
2003-08-03 17:11   ` Sven Luther
2003-08-04 21:36     ` Fred Yankowski
2003-08-05  1:56       ` Sven Luther
2003-08-02  3:28 ` Jacques Garrigue
2003-08-02  3:40   ` Alexander V. Voinov
2003-08-02  9:52   ` Jacques Garrigue
2003-08-05  2:30     ` prashanth
2003-08-04  0:37   ` Gerd Stolpmann
2003-08-02 11:54 ` [Caml-list] " Alain
2003-08-03 15:26   ` David Brown
2003-08-04  0:49     ` Gerd Stolpmann
2003-08-04  5:21       ` David Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030731165106.GA1754@ontosoft.com \
    --to=fred@ontosys.com \
    --cc=caml-list@inria.fr \
    --cc=info@gerd-stolpmann.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).