From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=AWL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id D850BBBAF for ; Wed, 8 Apr 2009 20:31:25 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AloCALyK3ElRZ90xlGdsb2JhbACOJId7AQEBAQkLCAkRA7lxg3sGh0E X-IronPort-AV: E=Sophos;i="4.38,431,1233529200"; d="scan'208";a="27314263" Received: from mtaout03-winn.ispmail.ntl.com ([81.103.221.49]) by mail1-smtp-roc.national.inria.fr with ESMTP; 08 Apr 2009 20:31:09 +0200 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090408183108.RCFC7670.mtaout03-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Wed, 8 Apr 2009 19:31:08 +0100 Received: from romulus.metastack.com ([81.102.132.77]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090408183108.ROEH22934.aamtaout04-winn.ispmail.ntl.com@romulus.metastack.com>; Wed, 8 Apr 2009 19:31:08 +0100 Received: from Tenor (genkt-048-023.t-mobile.co.uk.254.149.in-addr.arpa [149.254.48.23] (may be forged)) (authenticated bits=0) by romulus.metastack.com (8.14.2/8.14.2) with ESMTP id n38IV1bM021141 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 8 Apr 2009 19:31:05 +0100 From: "David Allsopp" To: , Cc: References: <1498.86.208.86.61.1239191967.squirrel@86.208.86.61> <2700.86.208.86.61.1239196135.squirrel@86.208.86.61> <4644.86.208.86.61.1239205632.squirrel@86.208.86.61> In-Reply-To: <4644.86.208.86.61.1239205632.squirrel@86.208.86.61> Subject: RE: [Caml-list] RE: flexlink + lacaml (lapack) Date: Wed, 8 Apr 2009 19:31:01 +0100 Organization: MetaStack Solutions Ltd. Message-ID: <00b401c9b878$2d9ba090$88d2e1b0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Acm4YWc6RFb4tRjHQjSd0rYHtq9AhgAFdGYQ Content-Language: en-gb X-Scanned-By: MIMEDefang 2.65 on 81.102.132.77 X-Cloudmark-Analysis: v=1.0 c=1 a=-GvqoqknCU4A:10 a=KH5XHma7aoIA:10 a=Nw4HVLE0bDN3u1WupeAA:9 a=ncY5iiuAfSz8ugmOtwiXjg9FL4AA:4 a=zoKOyUDlhksA:10 X-Spam: no; 0.00; lacaml:01 lapack:01 compilation:01 libtool:01 cygwin:01 lib:01 cygwin:01 ocaml:01 unix's:01 admittedly:01 owing:98 wrote:01 caml-list:01 renaming:02 interaction:02 Bertrand Desmons wrote: > I followed your trick and now compilation is OK. Excellent - good to know that the trick is consistent for other libraries too! > Just a remark however (maybe it's the key for the porblem): when > renaming > the old 'liblapack.a', Windows asked me a confirmation, arguing that > the > file is a system file. I don't think it is - I think it's to do with abstractions in libtool. Try resetting the permissions on the files in C:\cygwin\lib using Windows Explorer (though note that may upset Cygwin!!!). I expect that problem with your .a files is Cygwin's interaction with NTFS permissions - if you only use Cygwin to build OCaml and related things then I'd suggest having the environment variable CYGWIN=nontsec set (which, counter-intuitively, means "use NT native file permissions instead of POSIX-over-NTFS"). I expect that your installation of the libraries inherited weird permissions when you installed them because Cygwin by default emulates Unix's user-group-other permissions rather than NT's inherited ACLs which is fine if you spend your entire life in Cygwin's bash but is a pain if you use Windows on the same files as well (it's OK under XP but under Vista manipulation of any files touched by Cygwin becomes virtually impossible owing, admittedly, to clear bugs in Vista's crappy explorer making any operations hideously slow...) David