Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000206OCamlOCaml generalpublic2000-10-19 13:182000-10-19 16:47
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000206: Re: O'Caml on MacOS X beta
DescriptionHi,

Thank you for your message to the Caml mailing list.

However your message seems to be a bug report; hence I send it to the
relevant mailing list

caml-bugs@inria.fr

Thank again for your interest in Caml.

Pierre Weis

INRIA, Projet Cristal, Pierre.Weis@inria.fr, http://cristal.inria.fr/~weis/ [^]

> I tried to compile O'Caml 3.00 on MacOS X beta, but had an error with the
> file otherlibs/unix/socketaddr.c (*)
>
> After having #undefined HAS_SOCKETS in config/s.h, it compiled and
> bootstrapped successfully, but I understood HAS_SOCKETS indicates BSD
> sockets presence, and MacOS X is a 4.4 BSD...
>
> Probably a file date problem ?: make install says 'install' is up-to-date
> and stops.
>
>
> I own a beige G3 and used make / gnumake / cc from Apple development tools.
>
> Thanks,
> Damien Pollet
>
> (*)
> particularly at line 53 (about 10 similar errors in the file) :
> if (len >= sizeof(addr->s_unix.sun_path)) {
> ^^^
> cc complains about sizeof and wants a right parenthesis after addr...


TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000454)
administrator (administrator)
2000-10-19 16:46

>> From: Damien.Pollet@ens.insa-rennes.fr

>> I tried to compile O'Caml 3.00 on MacOS X beta, but had an error with the
>> file otherlibs/unix/socketaddr.c

Yes, there's a name clash that I don't quite understand on "addr". It is
fixed in our working version; I'm including a patch at the end of this mail.

>> After having #undefined HAS_SOCKETS in config/s.h, it compiled and
>> bootstrapped successfully, but I understood HAS_SOCKETS indicates BSD
>> sockets presence, and MacOS X is a 4.4 BSD...

After applying the patch, you should make clean, and re-do the installation,
starting from ./configure.

>> Probably a file date problem ?: make install says 'install' is up-to-date
>> and stops.

This is not normal. Is there a file or a directory called "install" in
the main O'Caml directory ? There should not be any such file.

-- Damien

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker