Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Aqua ocamlbrowser on Mac OS X
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-02-06 (19:30)
From: Shivkumar Chandrasekaran <shiv@e...>
Subject: Re: [Caml-list] Aqua ocamlbrowser on Mac OS X
I should add that I can still only get it to run from the Terminal via

open -a Ocamlbrowser


On Feb 6, 2004, at 11:11 AM, Shivkumar Chandrasekaran wrote:

> Following Trevor's suggestions (see 
> I am now able to 
> get *my* labltk programs to run in native Mac OS X Aqua mode (using 
> TclTkAquaBI- from 
> Thanks, 
> Trevor!!
> What follows is what I did to get ocamlbrowser to run as a native Aqua 
> app. First I followed Trevor's suggestions. That did not work if I 
> double-clicked on I then tried from the command line
> open -a Ocamlbrowser
> That at least let ocamlbrowser display its error message that the 
> options to the command line were at fault. All the Console showed in 
> the log was a dreaded "RegisterProcess failed (error -50)" message.
> So I edited the source file ..../otherlibs/labltk/browser/ and 
> essentially commented out the command line argument parsing step. I 
> did "make" and moved the new binary into 
> and everything works pretty nicely 
> now. The only problem I have noticed is that clicking in the scroll 
> bar does not work. You have to catch the scroll-button and move it 
> with the mouse. Everything else seems to work too.
> If somebody needs the modified source I can email it. I hope some 
> similar hack can make labltk work too.
> To make this complete we must find some way of passing the command 
> line options, but that is for somebody else to do.
> --shiv--
>> I managed to get labltk working in Mac OS 10 with the Aqua (non-X)
>> version of Tk.  It's a bit clunky but maybe someone who knows more
>> about these things can clean it up.
> -------------------
> To unsubscribe, mail Archives: 
> Bug reports: FAQ: 
> Beginner's list:

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: