caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
To: info@gerd-stolpmann.de
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] GODI available for download
Date: Sat, 02 Aug 2003 18:52:29 +0900	[thread overview]
Message-ID: <20030802185229D.garrigue@kurims.kyoto-u.ac.jp> (raw)
In-Reply-To: <20030802122802N.garrigue@kurims.kyoto-u.ac.jp>

Some more considerations on my experience.

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

I realize now that this configuration problem is going to be very
complicated. BSD packages are OS-oriented: they assume a closed world,
where everything is controlled by the packaging system. So you don't
need to tell them where something is on the system, they already know
it.

With godi, the situation is different. For instance, tcl/tk headers
may be in many places, maybe even several versions of them, and the
user should be able to indicate where to find them. Same thing for
camlimages, lablgl, lablgtk, etc...
My feeling is that there has to be a way to give this information
by hand the first time you install a package, and these parameters
would be reused in following installations. When the package is
installed as a dependency, this may require some interaction from the
user.
Also, the possibility of finishing the work by hand must be left,
otherwise recovering from simple configurations bugs can become
unwieldly.

I'm afraid this is just one example of mismatch between an
OS-oriented packager and a language-oriented multi-platform packager.

Another one is the use of makefiles internally and in packages. While
makefiles are not intrinsically bad, they have one big default: they
depend heavily on the behaviour of external commands on the system. If
you have only platform this is not a problem: you just have to check
once that this works, but if you must handle multiple platforms, it is
very hard to be sure that the Makefile is portable.
I don't know how CPAN handles that, but this is going to be painful.
Using an ocaml only tool like ocamake may be an interesting option, at
least for simple packages.

Just some thoughts.
I certainly believe that godi is a big step in the right direction.

Jacques Garrigue

P.S. A small detail, but would it be hard to replace godi_ftp by
fetch? On my system godi_ftp is 351K whereas fetch is only 18K. I
suppose this is also reflected by the size of the sources.
I wonder also if there is a packaging system based on gmake rather
than bmake. It feels a bit strange to install bmake only for internal
purposes.

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


  parent reply	other threads:[~2003-08-02  9: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
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 [this message]
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=20030802185229D.garrigue@kurims.kyoto-u.ac.jp \
    --to=garrigue@kurims.kyoto-u.ac.jp \
    --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).