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)" Date: Thu, 15 Dec 2011 18:34:50 -0600 Message-ID: Subject: ocaml: 3.12.1-1 missing HAS_SOCKETS To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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