From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id AAA11817; Thu, 30 Oct 2003 00:57:20 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id AAA23994 for ; Thu, 30 Oct 2003 00:57:18 +0100 (MET) Received: from kurims.kurims.kyoto-u.ac.jp (kurims.kurims.kyoto-u.ac.jp [130.54.16.1]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h9TNvG125348 for ; Thu, 30 Oct 2003 00:57:17 +0100 (MET) Received: from localhost (suiren.kurims.kyoto-u.ac.jp [130.54.16.25]) by kurims.kurims.kyoto-u.ac.jp (8.9.3p2-20030924/3.7W) with ESMTP id IAA05173; Thu, 30 Oct 2003 08:57:11 +0900 (JST) To: psnively@mac.com Cc: caml-list@inria.fr Subject: Re: [Caml-list] O'Caml 3.07p2 + Tk 8.4.4 on Mac OS X 10.2.8 In-Reply-To: References: X-Mailer: Mew version 1.94.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20031030085710D.garrigue@kurims.kyoto-u.ac.jp> Date: Thu, 30 Oct 2003 08:57:10 +0900 From: Jacques Garrigue X-Dispatcher: imput version 20000228(IM140) X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 3.07:01 jacques:01 shorten:01 -tkdefs:01 frameworks:01 frameworks:01 -tklibs:01 -framework:01 -framework:01 togl:01 widget:01 togl:01 command-line:01 erlang:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk From: Paul Snively > I wish to be able to use the Aqua version of Tk, so of course, I had to > compile the sources following the instructions at > , specifically: IIRC, you can shorten it a bit when the framework is in a standard location: ./configure -tkdefs "-I/Library/Frameworks/Tcl.framework/Headers -I/Library/Frameworks/Tk.framework/Headers" -tk-no-x11 -tklibs "-framework Tcl -framework Tk" Not that this changes much :-) However, my experience with the Aqua Tk is lots of strange behaviour, so my suggestion would be to do yourself a favor, and install the X11 Tk, which works flawlessly. Not also that lablGL's Togl widget works only with the X11 Tk (as Togl does not support Aqua Tk to start with). > Sure enough. Since I didn't feel it was realistic or even necessarily > desirable to create a Mac OS X app bundle for every Tk-using > command-line tool, I set about to see if there was another solution to > the problem. It turns out that there is, and it is described quite > nicely at > msg00148.html>. Briefly, Tk's SetFrontProcess() call needs to be > prepended with a CPSSetProcessName() and CPSEnableForegroundOperation() > pair. Interesting. I'll take a look at this, but your following comments about strange behaviours with ocamlbrowser confirm that it's probably not worth investing too much time in it. By the way, isn't anybody working on a direct interface to Aqua, to be able to write Aqua application ocaml? This would be much nicer than a half-baked Tk interface. Is GNUstep compatible enough to offer some kind of portability? 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