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: "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov>
To: "Daykin, Evan" <daykin at frib.msu.edu>
Cc: EPICS tech-talk <tech-talk at aps.anl.gov>
Date: Tue, 27 Oct 2020 18:19:33 +0000
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.


Replies:
RE: Build system prepending $(TOP) to make path on win32-x86 Akeroyd, Freddie (STFC, RAL, ISIS) via Tech-talk
Re: Build system prepending $(TOP) to make path on win32-x86 Ralph Lange via Tech-talk
References:
Build system prepending $(TOP) to make path on win32-x86 Daykin, Evan via Tech-talk

Navigate by Date:
Prev: vscode extension for EPICS Victor Nadot via Tech-talk
Next: RE: Build system prepending $(TOP) to make path on win32-x86 Akeroyd, Freddie (STFC, RAL, ISIS) 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: Build system prepending $(TOP) to make path on win32-x86 Daykin, Evan via Tech-talk
Next: RE: Build system prepending $(TOP) to make path on win32-x86 Akeroyd, Freddie (STFC, RAL, ISIS) 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, 29 Oct 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·