From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sympa.inria.fr (Postfix) with ESMTPS id 76DF27EE80 for ; Sun, 17 Mar 2013 19:12:10 +0100 (CET) Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of bills@emu-bark.com) identity=pra; client-ip=173.201.193.102; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="bills@emu-bark.com"; x-sender="bills@emu-bark.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of bills@emu-bark.com) identity=mailfrom; client-ip=173.201.193.102; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="bills@emu-bark.com"; x-sender="bills@emu-bark.com"; x-conformance=sidf_compatible Received-SPF: None (mail3-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@p3plsmtpa08-01.prod.phx3.secureserver.net) identity=helo; client-ip=173.201.193.102; receiver=mail3-smtp-sop.national.inria.fr; envelope-from="bills@emu-bark.com"; x-sender="postmaster@p3plsmtpa08-01.prod.phx3.secureserver.net"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AikCAKIGRlGtycFmkGdsb2JhbABCxTeBcxYOAQEBARIUFCiCKgEBBThAEQsYCRYPCQMCAQIBRQcMCAEBiBDBcI8cg0ADl32EXo4r X-IPAS-Result: AikCAKIGRlGtycFmkGdsb2JhbABCxTeBcxYOAQEBARIUFCiCKgEBBThAEQsYCRYPCQMCAQIBRQcMCAEBiBDBcI8cg0ADl32EXo4r X-IronPort-AV: E=Sophos;i="4.84,860,1355094000"; d="scan'208";a="6807199" Received: from p3plsmtpa08-01.prod.phx3.secureserver.net ([173.201.193.102]) by mail3-smtp-sop.national.inria.fr with ESMTP; 17 Mar 2013 19:12:09 +0100 Received: from [127.0.0.1] ([173.26.186.224]) by p3plsmtpa08-01.prod.phx3.secureserver.net with id CiC51l00B4qv3b901iC6rx; Sun, 17 Mar 2013 11:12:06 -0700 Message-ID: <5146077A.7000009@emu-bark.com> Date: Sun, 17 Mar 2013 14:12:10 -0400 From: William Smith User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: caml-list@inria.fr, markr@raymonds.org.uk References: <000901ce2286$61eb84b0$25c28e10$@raymonds.org.uk> In-Reply-To: <000901ce2286$61eb84b0$25c28e10$@raymonds.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 130317-0, 03/17/2013), Outbound message X-Antivirus-Status: Clean Subject: Re: [Caml-list] Compiling OCaml on win64 Hi, I had problems like that. One thing that happened was that I wasn't using the right version of flexlink. My Cygwin installed version 0.26 but you need 0.29 or later Another related problem I found was that the README.win32 says to set up PATH="$VCPATH:$FLPATH:$PATH" in .msenv32. I found that the right code for that is PATH="$FLPATH:$VCPATH:$PATH" to help insure that you get the right flexlink. Bill On 3/16/2013 4:39 PM, Mark Raymond wrote: > I am trying to compile OCaml 4.00.1 using MSVC 64-bit. When make tries to > build the ocamlbuild.byte target, I get the following error: > > ''../ocamlcomp.sh -c -I ocamlbuild -I stdlib -o > ocamlbuild/ocamlbuild_unix_plugin.cmo ocamlbuild/ocamlbuild_unix_plugin.ml > File "ocamlbuild/ocamlbuild_unix_plugin.ml", line 20, characters 4-39: > Error: Unbound module Unix > Exit code 2 while executing this command: > ''../ocamlcomp.sh -c -I ocamlbuild -I stdlib -o > ocamlbuild/ocamlbuild_unix_plugin.cmo ocamlbuild/ocamlbuild_unix_plugin.ml > make: *** [ocamlbuild.byte] Error 2 > > The unix files have been built in otherlibs/win32unix, but are not present > in ocamlbuild or stdlib. All the other dependencies listed in > ocamlbuild_unix_plugin.ml.depends are present in either ocamlbuild or > stdlib. Any ideas? > >