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  2020  2021  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  2020  2021  2022  2023  <2024
<== Date ==> <== Thread ==>

Subject: install epics-base: Perl Script Path Interpretation Issue on Windows
From: Hussein Matar via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Wed, 26 Jun 2024 16:26:18 +0200
Hello,

I am setting up EPICS Base on my Windows 10 machine, but I get a compile error when I run the Makefile in the EPICS Base directory:

perl -CSD C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../../..
Can't open perl script "C:/Program": No such file or directory

It seems that my compiler does not interpret the path to the Perl script correctly, as it only captures the path up to the first space. As a result, the Perl script cannot be found.

Can you tell me why this is happening and how I can fix the problem? Which configuration file do I need to edit to correct this?


The complete output of the makefile:

make
C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C ./configure install make[1]: Entering directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/configure' C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C O.windows-x64 -f ../Makefile TOP=../.. \
    T_A=windows-x64 install
make[2]: Entering directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/configure/O.windows-x64'
make[2]: Nothing to be done for 'install'.
make[2]: Leaving directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/configure/O.windows-x64' make[1]: Leaving directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/configure' C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C ./src install make[1]: Entering directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/src' C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C ./tools install make[2]: Entering directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/src/tools' C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C O.windows-x64 -f ../Makefile TOP=../../.. \
    T_A=windows-x64 install
make[3]: Entering directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/src/tools/O.windows-x64'
make[3]: Nothing to be done for 'install'.
make[3]: Leaving directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/src/tools/O.windows-x64' make[2]: Leaving directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/src/tools' C:/ProgramData/chocolatey/lib/make/tools/install/bin/make.exe -C template/base install make[2]: Entering directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/src/template/base' perl -CSD C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/bin/windows-x64/makeMakefile.pl O.windows-x64 ../../../..
Can't open perl script "C:/Program": No such file or directory
make[2]: *** [../../../configure/RULES_ARCHS:67: O.windows-x64] Error 2
make[2]: Leaving directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/src/template/base'
make[1]: *** [../configure/RULES_DIRS:85: template/base.install] Error 2
make[1]: Leaving directory 'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/epics-base/src'
make: *** [configure/RULES_DIRS:85: src.install] Error 2

Thanks
Hussein


Replies:
Re: install epics-base: Perl Script Path Interpretation Issue on Windows Johnson, Andrew N. via Tech-talk

Navigate by Date:
Prev: Re: Driver for Eiger1 with SIMPLON 1.8.0 Rong Huang via Tech-talk
Next: Re: mbbo fields don't match db definitions ??? John Dobbins 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  2020  2021  2022  2023  <2024
Navigate by Thread:
Prev: Re: CSS-Phoebus: Dynamically changing the contents of embedded databrowser Kasemir, Kay via Tech-talk
Next: Re: install epics-base: Perl Script Path Interpretation Issue on Windows 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  2020  2021  2022  2023  <2024
ANJ, 26 Jun 2024 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·