help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Existing file does not exist?!?


From: CARTER-HITCHIN, David, GBM
Subject: RE: Existing file does not exist?!?
Date: Wed, 3 Jan 2007 15:09:31 -0000

Does your makefile change working directory somewhere? 

> -----Original Message-----
> From: address@hidden 
> [mailto:address@hidden
> g] On Behalf Of Hiebert, Darren (MS)
> Sent: 03 January 2007 15:02
> To: address@hidden
> Subject: RE: Existing file does not exist?!?
> 
> Directory caching doesn't look like it could be the problem, 
> as the file
> exists before make is run. This is weird.
> 
> -----Original Message-----
> From: Paul Smith [mailto:address@hidden 
> Sent: Tuesday, January 02, 2007 7:05 PM
> To: Dave Korn
> Cc: Hiebert, Darren (MS); address@hidden
> Subject: RE: Existing file does not exist?!?
> 
> On Tue, 2007-01-02 at 20:35 +0000, Dave Korn wrote:
> > On 02 January 2007 20:16, Hiebert, Darren (MS) wrote:
> 
> > > Under what circumstances can a file be reported by make as not 
> > > existing when it does exist?
> 
> > When it doesn't exist in the directory(ies) that make is 
> searching in 
> > for it.
> 
> Another possibility is you're running afoul of GNU make's directory
> caching.  To improve performance GNU make will cache the contents of
> directories the first time it needs to read them.  Thereafter make's
> internal cache is updated by make itself, as it updates targets.
> 
> However, if you have sneaky rules which create files that 
> aren't listed
> as targets in your makefile, then make has no way to know that they've
> been created and so its internal cache will not reflect the reality on
> the filesystem.
> 
> This can cause GNU make to think that files don't exist which actually
> have been created.
> 
> To know whether this is the case for sure we'd need to see an example
> that fails.
> 
> --
> --------------------------------------------------------------
> ----------
> -------
>  Paul D. Smith <address@hidden>          Find some GNU make tips at:
>  http://www.gnu.org                      http://make.paulandlesley.org
>  "Please remain calm...I may be mad, but I am a professional." --Mad
> Scientist
> 
> 
> _______________________________________________
> Help-make mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-make
> 

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered 
Office: 36 St Andrew Square, Edinburgh EH2 2YB. 
Authorised and regulated by the Financial Services Authority 
 
This e-mail message is confidential and for use by the 
addressee only. If the message is received by anyone other 
than the addressee, please return the message to the sender 
by replying to it and then delete the message from your 
computer. Internet e-mails are not necessarily secure. The 
Royal Bank of Scotland plc does not accept responsibility for 
changes made to this message after it was sent. 

Whilst all reasonable care has been taken to avoid the 
transmission of viruses, it is the responsibility of the recipient to 
ensure that the onward transmission, opening or use of this 
message and any attachments will not adversely affect its 
systems or data. No responsibility is accepted by The 
Royal Bank of Scotland plc in this regard and the recipient should carry 
out such virus and other checks as it considers appropriate. 
Visit our websites at: 
www.rbs.com
www.rbsgc.com
www.rbsmarkets.com
***********************************************************************************




reply via email to

[Prev in Thread] Current Thread [Next in Thread]