From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA23172; Mon, 10 May 2004 13:22:39 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id NAA24288 for ; Mon, 10 May 2004 13:22:38 +0200 (MET DST) Received: from mx7.yandex.ru (mx7.yandex.ru [213.180.200.7]) by nez-perce.inria.fr (8.12.10/8.12.10) with ESMTP id i4ABMbEV028859 for ; Mon, 10 May 2004 13:22:37 +0200 Received: from ppp222-74.dialup.corbina.ru ([213.234.222.74]:33292 "EHLO narod.ru" smtp-auth: "ekot") by mail.yandex.ru with ESMTP id ; Mon, 10 May 2004 15:22:23 +0400 Message-ID: <409F65EE.6000002@narod.ru> Date: Mon, 10 May 2004 15:22:22 +0400 From: Eugene Kotlyarov Reply-To: ekot@narod.ru Organization: home User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7b) Gecko/20040421 MultiZilla/1.5.0.4d X-Accept-Language: ru, en-us, en MIME-Version: 1.0 To: brian donovan , caml-list@inria.fr Subject: Re: [Caml-list] Building findlib/OCamlfind on Win32 system References: <409F1A40.8080407@lophty.com> In-Reply-To: <409F1A40.8080407@lophty.com> Content-Type: multipart/mixed; boundary="------------050503020403000207060105" X-Miltered: at nez-perce with ID 409F65FD.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; ekot:01 caml-list:01 findlib:01 ocamlfind:01 findlib:01 ocamlfind:01 ocamlmgw:01 ocamllib:01 ocamlmgw:01 mingw:01 'make:01 install':01 2004:99 2004:99 topfind:01 X-Attachments: name="configure.diff" name="configure.diff" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk This is a multi-part message in MIME format. --------------050503020403000207060105 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit brian donovan wrote: > Can anyone give me any tips on getting findlib/OCamlfind up and running > properly on Win32? I'd be very grateful. > There is always the same problems with Unix-oriented soft on Win32. 1. Make sure that your ocaml install path contains no spaces e.g. c:\ocamlmgw 2. in your OCAMLLIB variable use forward slashes e.g. c:/ocamlmgw/lib 3. apply following patch to findlib configure script patch &2 echo " -config path set the location of the configuration file" 1>&2 echo " -cygpath fix paths for cygwin environment" 1>&2 + echo " -mspath fix paths for MSVC environment" 1>&2 echo " -with-toolbox also build the toolbox" 1>&2 echo " -no-topfind don't install topfind script into stdlib directory" 1>&2 exit @@ -380,6 +391,13 @@ parts="$parts findlib-toolbox" fi +if [ ${use_mspath} -gt 0 ]; then + echo "Applying mspath..." + apply_mspath ocaml_core_bin + apply_mspath ocamlfind_bin + apply_mspath ocamlfind_config +fi + echo "# Makefile.config written by configure" >Makefile.config echo "OCAML_CORE_STDLIB=${ocaml_core_stdlib}" >>Makefile.config echo "OCAML_CORE_BIN=${ocaml_core_bin}" >>Makefile.config --------------050503020403000207060105-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners