Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
<== Date ==> <== Thread ==>

Subject: RE: make clean builds the install target on R3.15?
From: "Hill, Jeff" <johill@lanl.gov>
To: Andrew Johnson <anj@aps.anl.gov>, "core-talk@aps.anl.gov" <core-talk@aps.anl.gov>
Date: Wed, 20 Nov 2013 17:28:03 +0000
> > I notice that when building the R3.15 tip a "make clean" doesn't
> > actually remove any (most of) the files.
> 
> This is definitely another issue with your setup, here's the start of my
> output from make clean:

You are correct. It turns out that placing the Gnu win32 make " C:\Program Files (x86)\GnuWin32\bin\" in the path causes the MSVC vcvars startup script to fail (probably due to DLL conflicts), and so I arrived at the solution of adding a doskey definition to the dos startup script as follows. My problems occurred due to not setting this dos key correctly, to pass parameters, on the first attempt. The dos key works differently compared to similar functionality in UNIX shells. Somehow without passing parameters I ended up building the install target when typing "make clean", which was an unexpected (i.e. confusing) outcome.

doskey make="C:\Program Files (x86)\GnuWin32\bin\make.exe" $1 $2 $3

Jeff

> -----Original Message-----
> From: core-talk-bounces@aps.anl.gov [mailto:core-talk-
> bounces@aps.anl.gov] On Behalf Of Andrew Johnson
> Sent: Wednesday, November 20, 2013 9:44 AM
> To: core-talk@aps.anl.gov
> Subject: Re: make clean builds the install target on R3.15?
> 
> Hi Jeff,
> 
> On 11/20/2013 10:32 AM, Hill, Jeff wrote:
> > I notice that when building the R3.15 tip a "make clean" doesn't
> > actually remove any (most of) the files.
> 
> This is definitely another issue with your setup, here's the start of my
> output from make clean:
> 
> D:\epics\mirror-3.15>make clean
> make -C ./configure clean
> make[1]: Entering directory `D:/epics/mirror-3.15/configure'
> perl -CSD -MExtUtils::Command -e rm_rf O.win32-x86 O.Common
> make[1]: Leaving directory `D:/epics/mirror-3.15/configure'
> make -C ./src clean
> make[1]: Entering directory `D:/epics/mirror-3.15/src'
> make -C ./tools clean
> make[2]: Entering directory `D:/epics/mirror-3.15/src/tools'
> perl -CSD -MExtUtils::Command -e rm_rf O.win32-x86 O.Common
> make[2]: Leaving directory `D:/epics/mirror-3.15/src/tools'
> make -C tools/test clean
> make[2]: Entering directory `D:/epics/mirror-3.15/src/tools/test'
> perl -CSD -MExtUtils::Command -e rm_rf O.win32-x86 O.Common
> make[2]: Leaving directory `D:/epics/mirror-3.15/src/tools/test'
> make -C template/base clean
> make[2]: Entering directory `D:/epics/mirror-3.15/src/template/base'
> perl -CSD -MExtUtils::Command -e rm_rf O.win32-x86 O.Common
> make[2]: Leaving directory `D:/epics/mirror-3.15/src/template/base'
> make -C template/ext clean
> make[2]: Entering directory `D:/epics/mirror-3.15/src/template/ext'
> perl -CSD -MExtUtils::Command -e rm_rf O.win32-x86 O.Common
> make[2]: Leaving directory `D:/epics/mirror-3.15/src/template/ext'
> make -C ./libCom clean
> make[2]: Entering directory `D:/epics/mirror-3.15/src/libCom'
> perl -CSD -MExtUtils::Command -e rm_rf O.win32-x86 O.Common
> make[2]: Leaving directory `D:/epics/mirror-3.15/src/libCom'
> 
> It makes no difference here whether the tree is initially populated or
> clean, I tried both.
> 
> You need to investigate why the first sub-command that your make runs is
> not a clean but an install in the sub-directory:
> 
> > C:\hill\epicsInBazaar\R3.15-mirror-II>make clean
> > C:/Program Files (x86)/GnuWin32/bin/make -C ./configure install
> 
> - Andrew
> --
> Advertising may be described as the science of arresting the human
> intelligence long enough to get money from it. -- Stephen Leacock


References:
make clean builds the install target on R3.15? Hill, Jeff
Re: make clean builds the install target on R3.15? Andrew Johnson

Navigate by Date:
Prev: Re: make clean builds the install target on R3.15? Andrew Johnson
Next: Build failed in Jenkins: epics-base-3.15 #29 APS Jenkins
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
Navigate by Thread:
Prev: Re: make clean builds the install target on R3.15? Andrew Johnson
Next: [Merge] lp:~johill-lanl/epics-base/epics-base-enclosure-of into lp:epics-base Jeff Hill
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019 
ANJ, 20 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·