| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM |
| X-Spam-Check-By: | sourceware.org |
| MIME-Version: | 1.0 |
| From: | "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net> |
| Date: | Thu, 15 Dec 2011 18:34:50 -0600 |
| Message-ID: | <CAGvSfeytcUjqGa5VRTVu1frKzqMHh8f33Y2K96tWSHr9dioV7Q@mail.gmail.com> |
| Subject: | ocaml: 3.12.1-1 missing HAS_SOCKETS |
| To: | cygwin AT cygwin DOT com |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |