List Info

Thread: Re: "ocaml_beginners"::[] Does ocamlnet work on Mac? Various problems...




Re: "ocaml_beginners"::[] Does ocamlnet work on Mac? Various problems...
country flaguser name
United States
2007-06-04 11:33:11

--- In ocaml_beginners%40yahoogroups.com">ocaml_beginnersyahoogroups.com, Joel Reymont <joelr1...> wrote:
&gt;
> On Jun 4, 2007, at 10:15 AM, Mike wrote:
&gt;
> > When I run netplex, I get various Unix/networking errors. Example:
>
> This has nothing to do with Godi. Search for ocamlnet in the archives
> of caml-list, I recommend the fa.caml Google Group.
&gt;
> > I have a full-time job that's *not* ocaml-related... is there any hope
>; > for me to use ocamlnet/netplex on Mac, or should I start over on Linux
&gt; > (Ubuntu)? Will my experience be better in Linux?
&gt;
> Most definitely.

For the benefit of future searches of the ocaml-beginners list:

Relevant threads are: (April, May 2007(
http://groups.google.com/group/fa.caml/browse_thread/thread/ab1fe49813c561c3/33f54a001ab18b20?lnk=gst&amp;q=ocamlnet+mac&rnum=2#33f54a001ab18b20
http://caml.inria.fr/pub/ml-archives/caml-list/2007/05/478d7439b36a67efb1011090dd3ee38f.en.html

and the "conclusion"; was that Joel and others suggested some changes
to make ocamlnet more mac-compatible, but there's been no announced
resolution. For the beginner, use Linux to have fewer headaches.

(What's ironic for me is that I have Linux at work and I have linux at
home, but my laptop is Mac and I wanted to code on the couch and
around town )

Maybe this week I'll try again on Linux and be much happier.

-Mike

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Does ocamlnet work on Mac? Various problems...
country flaguser name
Belgium
2007-06-07 12:34:27

On Mon, 04 Jun 2007, "Mike" < yahoo%40mrbb.org">yahoomrbb.org&gt; wrote:
&gt;
> Relevant threads are: (April, May 2007(
&gt; http://groups.google.com/group/fa.caml/browse_thread/thread/ab1fe49813c561c3/33f54a001ab18b20?lnk=gst&amp;q=ocamlnet+mac&rnum=2#33f54a001ab18b20
> http://caml.inria.fr/pub/ml-archives/caml-list/2007/05/478d7439b36a67efb1011090dd3ee38f.en.html
>;
> and the "conclusion"; was that Joel and others suggested some changes
> to make ocamlnet more mac-compatible, but there's been no announced
> resolution.

For the record, Gerd fixed it a month ago
(https://gps.dynxs.de/svn/lib-ocamlnet2/trunk/code/ChangeLog) so it
will be in the next GODI release. If you are in a hurry, download the
SVN version: https://gps.dynxs.de/svn/lib-ocamlnet2/

Cheers,
ChriS

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Does ocamlnet work on Mac? Various problems...
country flaguser name
Belgium
2007-06-07 15:47:56

On Thu, 7 Jun 2007, Joel Reymont < joelr1%40gmail.com">joelr1gmail.com> wrote:
&gt;
>
> On Jun 7, 2007, at 6:34 PM, Christophe TROESTLER wrote:
&gt;
> > For the record, Gerd fixed it a month ago
> > (https://gps.dynxs.de/svn/lib-ocamlnet2/trunk/code/ChangeLog) so it
> > will be in the next GODI release. If you are in a hurry, download the
> > SVN version: https://gps.dynxs.de/svn/lib-ocamlnet2/
>
> It wasn't fully fixed last time I checked. netplex programs were
> still giving me exceptions upon startup.

Right but, unless I am mistaken, your error was

$ [Sun May 20 22:36:18 2007] [netplex.controller] [crit]
Uncaught exception preparing service netcgi: Unix.Unix_error(50, "bind", "&quot;)

and

(Obj.magic 50 : Unix.error);;
- : Unix.error = Unix.EADDRINUSE

So the socket you are trying to use is already taken by some process.
Did you sort that out?

ChriS

__._,_.___
.

__,_._,___
Re: "ocaml_beginners"::[] Does ocamlnet work on Mac? Various problems...
country flaguser name
United States
2007-06-07 16:58:11

That I did sort out, a while ago. There's another exception coming up
from someplace.

~/work/ocaml/ocamlnet/examples/cgi/netcgi2-plex

Fatal error: exception Unix.Unix_error(49, "&quot;, "&quot;)

# (Obj.magic 49: Unix.error);;
- : Unix.error = Unix.EAFNOSUPPORT

On Jun 7, 2007, at 9:47 PM, Christophe TROESTLER wrote:

> Right but, unless I am mistaken, your error was
>
> $ [Sun May 20 22:36:18 2007] [netplex.controller] [crit]
&gt; Uncaught exception preparing service netcgi: Unix.Unix_error(50,
> "bind", "&quot;)
>

--
http://topdog.cc - EasyLanguage to C# translator
http://wagerlabs.com - Blog

__._,_.___
.

__,_._,___
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )