From: Jon Harrop <jon@jdh30.plus.com>
To: stef@payrard.net, Ocaml <caml-list@inria.fr>
Subject: Re: [Caml-list] (no subject)
Date: Tue, 18 Jan 2005 08:09:14 +0000 [thread overview]
Message-ID: <200501180809.15056.jon@jdh30.plus.com> (raw)
In-Reply-To: <20050118073327.GA8298@cachan-2-82-67-232-89.fbx.proxad.net>
On Tuesday 18 January 2005 07:33, Stéphane Payrard wrote:
> Hi,
>
> I am an ocaml beginner and I try to compile the last snapshot of
> camelon. I am using mandrake with the following rpms:
> ocaml-lablgtk-1.2.7-1mdk
> ocaml-3.08.2-1mdk
>
> I get the following message when trying to compile:
>
> Files /usr/lib/ocaml/lablgtk/gtkThread.cmx
> and /usr/lib/ocaml/threads/threads.cmxa
> make inconsistent assumptions over implementation Thread
>
> Should I use different versiosn of either lablgtk or ocaml?
> The INSTALL file suggest OCaml 3.07 and LablGtk 1.2.6 .
> Or is there an easy way to tweak cameleon to get it to compile
> with the ocaml and lablgtk versions I have.
I think this problem is due to different ocaml versions being used to generate
lablgtk and threads.
Interfaces between OCaml compilation units are *very* brittle. This is being
discussed on the list at the moment, as even a minor version change of the
compiler (e.g. 3.08.2 -> 3.08.3) breaks compatibility.
The good news is that this binary incompatibility is because the compiler is
very pedantic about interfaces and guarantees that everything will work.
Your best bet is either to compile all of the packages yourself or to use
someone else's packages. I find Debian to be excellent in this respect.
Cheers,
Jon.
PS: 3.08 has some useful additions which you may well find that people use in
their code now (e.g. immediate objects).
next prev parent reply other threads:[~2005-01-18 8:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-18 7:33 Stéphane Payrard
2005-01-18 8:09 ` Jon Harrop [this message]
2005-01-18 8:25 ` dependancy problems? Stéphane Payrard
2005-01-18 12:27 ` [Caml-list] " Sven Luther
2005-02-06 16:06 ` Pixel
-- strict thread matches above, loose matches on Subject: below --
2009-04-08 11:59 DESMONS Bertrand
2009-04-08 12:18 ` [Caml-list] (no subject) Alain Frisch
2009-04-08 12:38 ` David Allsopp
2006-01-23 19:37 Kathleen Fisher
2006-01-24 6:44 ` [Caml-list] (no subject) skaller
2004-06-09 6:12 Nicolas Tacheny
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=200501180809.15056.jon@jdh30.plus.com \
--to=jon@jdh30.plus.com \
--cc=caml-list@inria.fr \
--cc=stef@payrard.net \
/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