From mboxrd@z Thu Jan 1 00:00:00 1970 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 q16HuRpg030640 for ; Mon, 6 Feb 2012 18:56:28 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FACATME/U4xEIk2dsb2JhbABDnm+QVSIBAQEBCQkLCRQDIoFyAQEEAW4LBQsFBiUhRQQBDQYTCQgBDIdeAwa4cIsjAQUBAQEBLAYBKhMCgn4LAgIBBBMLBAZZCggDMoMsBI0yF5o7 X-IronPort-AV: E=Sophos;i="4.73,372,1325458800"; d="scan'208";a="143090575" Received: from moutng.kundenserver.de ([212.227.17.8]) by mail1-smtp-roc.national.inria.fr with ESMTP; 06 Feb 2012 18:56:27 +0100 Received: from office1.lan.sumadev.de (dslb-188-097-006-094.pools.arcor-ip.net [188.97.6.94]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0Lc2V7-1SMPEt246n-00jYU1; Mon, 06 Feb 2012 18:56:27 +0100 Received: from gps.dynxs.de (localhost [127.0.0.1]) by office1.lan.sumadev.de (Postfix) with ESMTP id B6C7AC0714; Mon, 6 Feb 2012 18:56:25 +0100 (CET) Received: from 84.107.248.22 (SquirrelMail authenticated user gerd) by gps.dynxs.de with HTTP; Mon, 6 Feb 2012 18:56:26 +0100 Message-ID: In-Reply-To: <4F300957.5050708@lsv.ens-cachan.fr> References: <4F300957.5050708@lsv.ens-cachan.fr> Date: Mon, 6 Feb 2012 18:56:26 +0100 From: "Gerd Stolpmann" To: "Romain Bardou" Cc: caml-list@inria.fr User-Agent: SquirrelMail/1.4.21 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 (Normal) Importance: Normal X-Provags-ID: V02:K0:ecwSSyho8yiKawRCBFOVHKdCpbAbv3MGxH5ii1Cp7Pd Betade4IOdFASVzJqUAKzv/cbHw674Bl1dr+Ea7SbDSP78wZqd /hFn8r/f/dytN0qHFPhLT3aPg6duLvbFPs8zJYcSyspBxwUr06 vvPYKCc7IZFzIEVJAuTSlARBLpT9/Or9LbW7YuRjcT/udgDKAi 6lPdAHpdrfzRKRVzmWLecsMqeDaayRGZZ2J44kK+YZ3mHvwFVy vYK3XlfMMNZxvr8/33gHbsCd2JKDHTu8a/H+hi18RSvt12dP2z zFT2Zjeak7e2v+HPa/yoxQPWb6pL0BuSJ7YAvxUOvGb3K9x0qX 6SKNLe/OSiAA+LMLQCDQtka6oLf/5dkuntT33mOdtGQ0v+zAHc j6SKxSqnhAWBw== Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by walapai.inria.fr id q16HuRpg030640 Subject: Re: [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." This URL points to an archived web page, starting with "This is the archived Findlib page. The new homepage can be found here!", plus a link to more recent information. Maybe this can be overlooked. The new link is http://projects.camlcity.org/projects/findlib.html. Findlib is fully supported on Win32. > 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. I'd call this a self-made trap. I'd never install Unixish software into a path with spaces. (I know Windows people think differently about that, but that's how it is.) > 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 it was renamed to libocamlrun.a. But this is wrong for Win32 anyway, because the suffix should be .lib. > I think I'll try cross-compiling now, or maybe editing "setup.ml" to put > quotes around the command. Yes, it's not a pleasure to build Ocaml software on Windows. Gerd > Cheers, > > -- > Romain Bardou > > -- > Caml-list mailing list. Subscription management and archives: > https://sympa-roc.inria.fr/wws/info/caml-list > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > > > -- Gerd Stolpmann, Darmstadt, Germany gerd@gerd-stolpmann.de Creator of GODI and camlcity.org. Contact details: http://www.camlcity.org/contact.html Company homepage: http://www.gerd-stolpmann.de *** Searching for new projects! Need consulting for system *** programming in Ocaml? Gerd Stolpmann can help you.