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 <2020> 2021 2022 2023 2024 2025 | 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 <2020> 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Build system prepending $(TOP) to make path on win32-x86 |
From: | Ralph Lange via Tech-talk <tech-talk at aps.anl.gov> |
To: | EPICS Tech Talk <tech-talk at aps.anl.gov> |
Date: | Thu, 29 Oct 2020 18:07:36 +0100 |
$ make --versionGNU Make 4.3Built for x86_64-pc-msysCopyright (C) 1988-2020 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WARRANTY, to the extent permitted by law.$ /usr/bin/make --version... same ...$ /c/Users/langer/MinGW/usr/bin/make --version... same ...$ "C:\Users\langer\MinGW\usr\bin\make" --version... same ...$ /c/Users/"langer\MinGW\usr\bin\make" --version... same ...$ "C:\Users/langer\MinGW/usr\bin/make" --version
... same ...
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 —versionperl -vmake show-makefiles
make PRINT.MAKEmake PRINT.CONVERTRELEASEmake 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 test2cd test2makeBaseApp.pl –t ioc testmakeBaseApp.pl –i –t ioc testdirectory structure is now:-configure-iocBoot-testAppMakefileconfigure/RELEASE points at the correct EPICS_BASENow, when I try running make, the following output results:PS C:\Users\daykin\scratch\test2> makeCan'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 directorymake.exe": *** [configure.install] Error 127See 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.