EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: RE: Build system prepending $(TOP) to make path on win32-x86
From: "Akeroyd, Freddie \(STFC, RAL, ISIS\) via Tech-talk" <tech-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>, "Daykin, Evan" <daykin at frib.msu.edu>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Tue, 27 Oct 2020 18:25:10 +0000

Hi Evan,

 

I can see a mixture of path styles being printed to screen, did you compile EPICS base from within the msys shell? If that is the case, you may need to run both makeBaseApp and make from inside of the msys shell. If you wish to run these tools outside of msys, you may need to also build epics base outside of msys. It would be interesting to know what  make  --version says as I think there was an issue with a version of make that did some path appending like you are seeing.

 

Regards,

 

Freddie

 

 

 

From: Tech-talk <tech-talk-bounces at aps.anl.gov> On Behalf Of Johnson, Andrew N. via Tech-talk
Sent: 27 October 2020 18:20
To: Daykin, Evan <daykin at frib.msu.edu>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Subject: Re: Build system prepending $(TOP) to make path on win32-x86

 

Hi Evan,

 

I’m not an MSYS user myself (I’m not keen on the way it uses its own /c/… paths) but there are other people here with more experience of using it who I hope will respond (I think they recommend MSYS2 now though, do you know the difference?). In the meantime some basic questions to provide us with a bit more information:

 

What version of Base did you install?

 

Can you try running these commands in your test2 directory and post the results please:

 

make —version

perl -v

make show-makefiles

make PRINT.MAKE

make PRINT.CONVERTRELEASE

make PRINT.RELEASE_TOPS

 

- Andrew

 



On Oct 27, 2020, at 11:49 AM, Daykin, Evan via Tech-talk <tech-talk at aps.anl.gov> wrote:

 

Good Afternoon,

 

I am attempting to get the EPICS build system working on win32-x86 architecture. I have successfully built base, but I get some strange behavior after trying to build an IOC created via makeBaseApp.pl. Here is what I run:

 

mkdir test2

cd test2

makeBaseApp.pl –t ioc test

makeBaseApp.pl –i –t ioc test

 

directory structure is now:

-configure

-iocBoot

-testApp

Makefile

 

configure/RELEASE points at the correct EPICS_BASE

 

Now, when I try running make, the following output results:

 

PS C:\Users\daykin\scratch\test2> make

Can't open perl script ".": Permission denied

/c/Users/daykin/scratch/test2/"C:/MinGW/msys/1.0/bin/make.exe" -C ./configure install

/bin/sh: /c/Users/daykin/scratch/test2/C:/MinGW/msys/1.0/bin/make.exe: No such file or directory

make.exe": *** [configure.install] Error 127

 

See the third line: Somehow, my $(TOP) is prepended to the location of make. It should just be running “C:/MinGW/msys/1.0/bin/make.exe”. I’m not sure if this is also the cause of “Can’t open perl script ‘.’”, which also seems strange.

 

Is there something I’m missing here?

 

-Evan

 

-- 

Complexity comes for free, simplicity you have to work for.

 

This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI.


References:
Build system prepending $(TOP) to make path on win32-x86 Daykin, Evan via Tech-talk
Re: Build system prepending $(TOP) to make path on win32-x86 Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: Build system prepending $(TOP) to make path on win32-x86 Johnson, Andrew N. via Tech-talk
Next: Re: Build system prepending $(TOP) to make path on win32-x86 Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Build system prepending $(TOP) to make path on win32-x86 Johnson, Andrew N. via Tech-talk
Next: Re: Build system prepending $(TOP) to make path on win32-x86 Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 27 Oct 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·