Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>
To: a_valverde@ctima.uma.es
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] labltk and MacOS X
Date: Wed, 29 May 2002 12:22:59 +0900	[thread overview]
Message-ID: <20020529122259U.garrigue@kurims.kyoto-u.ac.jp> (raw)
In-Reply-To: <p05111701b9194b156cd2@[150.214.57.249]>

From: Agustín Valverde Ramos <a_valverde@ctima.uma.es>

> I want to use ocaml to create program for MacOS X in native mode and 
> I am not using fink. I have no expirience with C, but I have followed 
> the example in the ocaml-3.04 reference manual (section 17.8) to 
> create a program in CLI mode and, additionally, I have achived to use 
> the c library created with ocamlc in a ProjectBuilder program.
> 
> Now,... I want to use labltk! There is a 'native' version of Tcl/Tk for macosx:
> 
> http://www.apple.com/downloads/macosx/unix_apps_utilities/tcltk.html
> 
> It contains the headers and the necesary frameworks (dynamic 
> libraries). I have tried to recompile caml in order to generate the 
> labltk libraries for this tcl/tk, but I  have not been able. How can 
> I to recompile just the labltk libraries? Is it possible to make this 
> with a simple line of commands? Is it possible to write a small 
> make-file for this simple purpose?

I gave a try at it today, with the latest binary snapshot (TclTk-8.4a4-2),
and the MacOSX port looks very much alpha quality.
After a lot of tweaking, I could succeed in building an executable
of ocamlbrowser without X11, and run it.
However it looks stranges (menus are not menus but selectors), and
doesn't work: I get lots of "SetFrontProcess failed" errors, and
cannot do anything with the application.

So, this doesn't look like it is going to be usable very soon.

On the other hand, installing Xdarwin is easy, and then you can just
use the standard Tcl/Tk, which works fine. I suppose this will be the
supported way in ocaml for some time.

Jacques Garrigue-------------------
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:[~2002-05-29  3:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-28 15:00 Agustín Valverde Ramos
2002-05-29  3:22 ` Jacques Garrigue [this message]
2002-05-29 12:03   ` Agustín Valverde Ramos

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=20020529122259U.garrigue@kurims.kyoto-u.ac.jp \
    --to=garrigue@kurims.kyoto-u.ac.jp \
    --cc=a_valverde@ctima.uma.es \
    --cc=caml-list@inria.fr \
    /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