EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: R3.13.1
From: [email protected] (Ralph Lange)
To: [email protected] (john sinclair)
Cc: [email protected] (EPICS Tech-Talk)
Date: Thu, 17 Dec 1998 15:09:28 +0100 (MET)
> Creating directory exampleApp
> Copying file /usr/util/epics/base/templates/makeBaseApp/top/exampleApp/Makefile -> exampleApp/Makefile
> Not a directory Copying /usr/util/epics/base/templates/makeBaseApp/top/exampleApp/Makefile/.wind -> exampleApp/Makefile/.wind at /usr/util/epics/base/bin/sun4/makeBaseApp.pl line 249.

This is even stranger than I thought. 

The exampleApp/Makefile is copied successfully, then makeBaseApp tries to
copy a file exampleApp/Makefile/.wind, which --- according to you --- does
not exist.

makeBaseApp uses the perl File::Find library to get the names of the files
to copy. So obviously perl's File::Find finds a non-existent file. If
someone told me this, I wouldn't believe it.

Which version of perl are you using? makeBaseApp needs perl 5. If you're
calling makeBaseApp.pl directly from the command line, the first perl in
your PATH will be used.

Is there a file called .wind somewhere under your EPICS base tree? Could it
be that some weird mode bits of a file called .wind cause perl's find to go
beserk?

When called from /usr/util/epics/base/templates/makeBaseApp/top, the output
of the following perl command shows the template structure how perl sees
it. 

perl -e "use File::Find; &find(\&wanted, '.'); exit; sub wanted { print\"\$File::Find::name\n\"; }"

The output should be the same as with a simple unix "find" without any
arguments.

There should be no file called ".wind".

Anyone else any idea?
Ralph
-- 
      __  Ralph Lange                         Email:       [email protected]
     /\ \                                     WWW: http://www.bessy.de/~lange
    /  \ \  BESSY II                          
   / /\ \ \  Berliner Elektronenspeicherring- Snail:                 BESSY II
  / / /\ \ \  Gesellschaft fuer Synchrotron-               Rudower Chaussee 5
 / / /__\_\ \  strahlung m.b.H.                       D-12489 Berlin, Germany
/ / /________\                                Phone:         +49 30 6392-4862
\/___________/ Control System Group           Fax:                ...   -4859

Replies:
Re: R3.13.1 john sinclair
References:
Re: R3.13.1 john sinclair

Navigate by Date:
Prev: tech-talk subscription Kim Haddock
Next: Re: R3.13.1 john sinclair
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: R3.13.1 john sinclair
Next: Re: R3.13.1 john sinclair
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·