delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/09/15:25:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <00c301c2d079$614e3210$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Erin Catto" <erincatto AT yahoo DOT com>, <cygwin AT cygwin DOT com>
References: <20030209195317 DOT 83608 DOT qmail AT web20004 DOT mail DOT yahoo DOT com>
Subject: Re: Building LAPACK
Date: Sun, 9 Feb 2003 20:25:25 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Erin Catto wrote:
> I'm having trouble building LAPACK. I downloaded
> lapack.tgz from www.netlib.org/lapack. I'm using
> make.inc.LINUX for make.inc. I type
>
> make install
>
> and make says that install is up to date but it is
> not! I have done the same operation on Linux and it
> works.
>
> Here is the install section of Makefile:
>
> install:
> ( cd INSTALL; $(MAKE); ./testlsame; ./testslamch; \
>   ./testdlamch; ./testsecond; ./testdsecnd; \
>   cp lsame.f ../BLAS/SRC/; cp lsame.f ../SRC; \
>   cp slamch.f ../SRC/; cp dlamch.f ../SRC/; \
>   cp second.f ../SRC/; cp dsecnd.f ../SRC/ )

First things first: You are doing "make" before "make install", yes?
Otherwise you are depending on the whim of the Makefile author for exactly
what happens.

Short answer:  Add ".PHONY: install" to the makefile

Long answer: make sees the INSTALL directory, and concludes that it is up to
date, since it has no dependencies. You've just been bitten my Windows'
case-insensitivity.


Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019