Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Xavier Leroy <xavier.leroy@inria.fr>
To: David Chase <chase@world.std.com>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Proselytizing
Date: Fri, 19 Apr 2002 09:58:44 +0200	[thread overview]
Message-ID: <20020419095844.A12080@pauillac.inria.fr> (raw)
In-Reply-To: <5.1.0.14.0.20020418151206.01ec4098@pop.theWorld.com>; from chase@world.std.com on Thu, Apr 18, 2002 at 04:10:07PM -0400

> I am trying, as hard as possible in my non-copious free time,
> to get past my own inflection point, and one sticking point is
> confusion with CamlTk.  I thought it worked -- it's clearly
> "here" enough to run the browser, and I did the load and execute
> game in the scripting window, but when I try the examples, it
> fails to find it:

I agree the situation is a bit confusing: there are two OCaml GUI
libraries based on Tk.  One (Labltk) is part of the standard
distribution, and used by the interface browser.  The other (Camltk)
is distributed separately and used in the demo that didn't compile.

> I'm sure this is some sort of pilot error on my part, but it's 
> not getting me to where I want to be.  I tried to modify the makefile
> to use labltk instead of camltk, but it failed there with

Sorry for the scary error message, but it just says that Camltk and
Labltk have different interfaces!

> I also tried to install camltk separately, but that was an
> almighty mess (among other things, the configuration uses
> obsolete macros to check for the existence of Cygwin, never
> mind total confusion about what tools to use to make libraries,
> and what suffixes different sorts of file should have.)
> I am doing all this on Windows 2k, with some recent version
> of Cygwin

Camltk is (for the time being) Unix-only.  Although Cygwin does heroic
efforts to emulate Unix, it's not quite Unix and I'm not surprised
that Camltk doesn't compile right out of the box under Cygwin.

This mess should be cleaned up in the future, as there is an effort in
progress to merge Labltk and Camltk, and install both in the standard
distribution.  In the meantime, I agree a Labltk version of the
examples is in order.

> Remember -- I am getting stumped by one of the demos that
> is supposed to get people started, and I am normally capable
> of installing garbage like Oracle, Apache, mail server
> software, and firewalls, all with my bare hands.

I don't doubt that, but my experience (as a long-time Unix user who
installed quite a bit of garbage of the kind you mention) is that
installing Unix software on Windows machines, even with Cygwin, is
often surprisingly hard.

- Xavier Leroy
-------------------
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:[~2002-04-19  7:58 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-18  7:45 [Caml-list] Using threads in compiled code Noel Welsh
2002-04-18  8:44 ` Remi VANICAT
2002-04-18 14:44 ` Markus Mottl
2002-04-18 17:06   ` [Caml-list] Proselytizing Charles Martin
2002-04-18 20:10     ` David Chase
2002-04-19  2:25       ` Brian Rogoff
2002-04-19  7:58       ` Xavier Leroy [this message]
2002-04-19 14:32         ` David Chase
2002-04-19 15:21         ` Sven
2002-04-22  8:38         ` [Caml-list] CamlTk/Windows Christophe Macabiau
2002-04-18 19:10 ` [Caml-list] Using threads in compiled code james woodyatt
2002-04-18 21:05 ` Oliver Bandel
2002-04-19  7:42 ` Xavier Leroy
2002-04-19 16:09   ` John Max Skaller
2002-04-23 13:16   ` Noel Welsh

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=20020419095844.A12080@pauillac.inria.fr \
    --to=xavier.leroy@inria.fr \
    --cc=caml-list@inria.fr \
    --cc=chase@world.std.com \
    /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