From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id q16H9dFQ029720 for ; Mon, 6 Feb 2012 18:09:39 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjwDAIYIME+yIOQFnGdsb2JhbABCr0giAQEBAQEICwkJFCWCMUA9FhgDAgECATcBIAgCBRWHYQaYIJguix8PAQQCAQICCQQBDQQGAQwNBgkfhCYsEIMcBJsijGI X-IronPort-AV: E=Sophos;i="4.73,372,1325458800"; d="scan'208";a="143084318" Received: from mo5.mail-out.ovh.net ([178.32.228.5]) by mail1-smtp-roc.national.inria.fr with ESMTP; 06 Feb 2012 18:09:33 +0100 Received: from mail188.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo5.mail-out.ovh.net (Postfix) with SMTP id C9D0FFFBB32 for ; Mon, 6 Feb 2012 18:11:39 +0100 (CET) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 6 Feb 2012 19:09:32 +0200 Received: from unknown (HELO ?138.231.81.43?) (romain%bardou.fr@138.231.81.43) by ns0.ovh.net with SMTP; 6 Feb 2012 19:09:30 +0200 Message-ID: <4F300957.5050708@lsv.ens-cachan.fr> Date: Mon, 06 Feb 2012 18:09:43 +0100 From: Romain Bardou User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: caml-list@inria.fr X-Ovh-Mailout: 178.32.228.5 (mo5.mail-out.ovh.net) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 669347495934351136 X-Ovh-Remote: 138.231.81.43 () X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 7 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegtddrgedtucetggdotefuucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedmnecuhfhrohhmpeftohhmrghinhcuuegrrhguohhuuceosggrrhguohhusehlshhvrdgvnhhsqdgtrggthhgrnhdrfhhrqeenucffohhmrghinheptggrmhhltghithihrdhorhhgpdhgihhthhhusgdrtghomhenucfjughrpefkfffhfgggvffutgfgsehtjegrtddtfedu X-Spam-Check: DONE|U 0.5/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 7 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegtddrgedtucetggdotefuucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedmnecuhfhrohhmpeftohhmrghinhcuuegrrhguohhuuceosggrrhguohhusehlshhvrdgvnhhsqdgtrggthhgrnhdrfhhrqeenucffohhmrghinheptggrmhhltghithihrdhorhhgpdhgihhthhhusgdrtghomhenucfjughrpefkfffhfgggvffutgfgsehtjegrtddtfedu X-Validation-by: bardou@lsv.ens-cachan.fr Subject: [Caml-list] Compiling Cryptokit on Windows Hi list, There has been some discussion during the last few months were some argued that there was not enough Windows users to test libraries. Well it happens that I need to compile Cryptokit for Windows. Here are my first results, which failed miserably. I'm using OCaml 3.12. 1) With Cryptokit 1.5. INSTALL.txt states that I need findlib. I installed OCaml from: http://protz.github.com/ocaml-installer/ And it seems that ocamlfind is not installed by this tool. After more search I read here: http://www.camlcity.org/archive/programming/findlib.html that "Volunteers are still wanted who port findlib to Windows and Macintosh." So I guess that every OASIS project needs findlib, but findlib does not work on Windows, so all OASIS projects will not be usable on Windows? I thought on the contrary that OASIS was a step towards unification? I tried anyway without findlib, running: ocaml setup.ml -configure I get this error: "'c:\Program' n'est pas reconnu en tant que commande interne" (i.e. "unrecognized internal command"). The command which is supposed to be run is: c:\Program Files\OCaml\bin\ocamlc.opt.EXE -config > somefile.txt It just misses quotes, which seems kind of silly. 2) With Cryptokit 1.3. So I gave up and tried an older version whose INSTALL file explains how to install on Windows. I checked variables in Makefile.win and ran: make -f Makefile.win Now the error I get is that gcc cannot find "C:\Program Files\OCaml\lib/ocamlrun.a", which actually does not exist, so this is not a surprise. This file "ocamlrun.a" does not exist either on my Debian computer, so I'm a little surprised here. I think I'll try cross-compiling now, or maybe editing "setup.ml" to put quotes around the command. Cheers, -- Romain Bardou