Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re: O'Caml on MacOS X beta #2591

Closed
vicuna opened this issue Oct 19, 2000 · 1 comment
Closed

Re: O'Caml on MacOS X beta #2591

vicuna opened this issue Oct 19, 2000 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Oct 19, 2000

Original bug ID: 206
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

Hi,

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...

@vicuna
Copy link
Author

vicuna commented Oct 19, 2000

Comment author: administrator

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

@vicuna vicuna closed this as completed Oct 19, 2000
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant