ocaml: 3.12.1-1 missing HAS_SOCKETS

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Fri Dec 16 00:35:00 GMT 2011


Damien,

There is a problem with the Unix library in the new ocaml-3.12.1-1:

$ ocaml
        Objective Caml version 3.12.1

# #load "unix.cma" ;;
Exception: Invalid_argument "inet_addr_of_string not implemented".

Looking at the sources[1], it seems you compiled ocaml without
HAS_SOCKETS.  This needs to be fixed and 3.12.1-2 released ASAP.

In particular, this commit[2] needs to be reversed, although I don't
know if that is the cause.  While you're at it, you could fix the
false negative in the bfd detection[3] by adding -lintl to the
libraries in the second hasgot test.


Yaakov

[1] http://caml.inria.fr/cgi-bin/viewvc.cgi/ocaml/release/3.12.1/otherlibs/unix/addrofstr.c?view=markup
[2] http://caml.inria.fr/cgi-bin/viewvc.cgi/ocaml/release/3.12.1/configure?r1=11064&r2=11106
[3] http://caml.inria.fr/cgi-bin/viewvc.cgi/ocaml/release/3.12.1/configure?r1=10619&r2=10626

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list