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

Subject: Re: EPICS base-3.14.12.5 installation error
From: Andrew Johnson <[email protected]>
To: Alex George <[email protected]>, EPICS tech-talk <[email protected]>
Date: Mon, 22 Jun 2015 10:18:03 -0500
Hi Alex,

Please copy tech-talk with any follow-up messages, other people on the
list may be able to help diagnose the problem too.

On 06/21/2015 10:31 PM, Alex George wrote:
> I went through several of the other successfully run perl files and
> their respective parent folders to find that the security permissions
> are identical.
> 
> Further, this is the snippet of a successful make of another of the perl
> files (*makeMakefile.pl*):
> 
> /make -C libCom/test install/
> /make[2]: Entering directory `C:/epics/base-3.14.12.5/src/libCom/test'/
> /perl ../../../bin/windows-x64/makeMakefile.pl O.windows-x64 ../../../../
> /perl -MExtUtils::Command -e mkpath O.Common/
> /make -C O.windows-x64 -f ../Makefile TOP=../../../.. \/
> /            T_A=windows-x64 install/
> /make[3]: Entering directory
> `C:/epics/base-3.14.12.5/src/libCom/test/O.windows-x64'/
> /cl -c              /favor:blend   /nologo /D__STDC__=0
> /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE   /Ox /GL   /W3
> /w4435/
> /5        /MT -DEPICS_DLL_NO    -I. -I..\\O.Common -I. -I..
> -I..\\..\\..\\..\\include\\os\\WIN32 -I..\\..\\..\\..\\include         ../
> /\\epicsUnitTestTest.c/
> 
> 
> For consistency sake I'll also include the respective lines for the
> troubled perl file again (*registerRecordDeviceDriver.pl*):
> 
> /make -C ./softIoc install/
> /make[2]: Entering directory `C:/epics/base-3.14.12.5/src/softIoc'/
> /perl ../../../bin/windows-x64/registerRecordDeviceDriver.pl
> ../O.Common/softIoc./
> /dbd softIoc_registerRecordDeviceDriver C:/epics/base-3.14.12.5 >
> softIoc.tmp/
> /Can't open perl script
> "../../../bin/windows-x64/registerRecordDeviceDriver.pl":/
> / No such file or directory/
> /make[3]: *** [softIoc_registerRecordDeviceDriver.cpp] Error 2/
> /make[3]: Leaving directory
> `C:/epics/base-3.14.12.5/src/softIoc/O.windows-x64'/
> /make[2]: *** [install.windows-x64] Error 2/
> /make[2]: Leaving directory `C:/epics/base-3.14.12.5/src/softIoc'/
> /make[1]: *** [softIoc.install] Error 2/
> /make[1]: Leaving directory `C:/epics/base-3.14.12.5/src'/
> /make: *** [src.install] Error 2/
> 
> 
> Both of these perl files share a common parent folder in their
> respective paths (.../bin/windows-x64/) so it led me to think that the
> directory permission may not be the problem. 
> 
> Any thoughts?

Yes, the first Perl script above is being run from the src/libCom/test
directory, as shown by the make[2] line immediately above it. This is
correct. In your second excerpt though the script is *supposed* to be
run from inside the src/softIoc/O.windows-x64 directory, not from the
src/softIoc directory that your make[2] line shows. This is my build
output from that area of the tree:

> D:\epics\mirror-3.14\src\softIoc>make clean
> perl -MExtUtils::Command -e rm_rf O.windows-x64 O.Common
> 
> D:\epics\mirror-3.14\src\softIoc>make
> perl ../../bin/windows-x64/makeMakefile.pl O.windows-x64 ../../..
> perl -MExtUtils::Command -e mkpath O.Common
> make -C O.windows-x64 -f ../Makefile TOP=../../.. \
>     T_A=windows-x64 install
> make[1]: Entering directory 'D:/epics/mirror-3.14/src/softIoc/O.windows-x64'
> perl ../../../bin/windows-x64/makeIncludeDbd.pl base.dbd dlload.dbd system.dbd s
> oftIocInclude.dbd
> echo "../O.Common/softIocInclude.dbd : ../Makefile" >> softIoc.dbd.d
> "Expanding dbd"
> "Installing created dbd file ../../../dbd/softIoc.dbd"
> perl ../../../bin/windows-x64/registerRecordDeviceDriver.pl ../O.Common/softIoc.
> dbd softIoc_registerRecordDeviceDriver D:/epics/mirror-3.14 > softIoc.tmp
> perl -MExtUtils::Command -e mv softIoc.tmp softIoc_registerRecordDeviceDriver.cp
> p
> cl /nologo /EHsc /GR -c              /favor:blend   /nologo /D__STDC__=0 /D_CRT_
> SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE   /Ox /GL   /W3 /w44355        /
> MD  /TP   -I. -I..\\O.Common -I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\
> \..\\include         softIoc_registerRecordDeviceDriver.cpp
> softIoc_registerRecordDeviceDriver.cpp
> "FINAL_LOCATION=D:/epics/mirror-3.14"
> perl ../makeInstallDir.pl 'D:/epics/mirror-3.14' > epicsInstallDir.h
> cl /nologo /EHsc /GR -c              /favor:blend   /nologo /D__STDC__=0 /D_CRT_
> SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE   /Ox /GL   /W3 /w44355        /
> MD  /TP   -I. -I..\\O.Common -I. -I.. -I..\\..\\..\\include\\os\\WIN32 -I..\\..\
> \..\\include         ..\\softMain.cpp
> softMain.cpp
> link -nologo  /LTCG /incremental:no /opt:ref /release /version:3.14  /MACHINE:X6
> 4              -out:softIoc.exe        softIoc_registerRecordDeviceDriver.obj so
> ftMain.obj     ..\\..\\..\\lib\\windows-x64\\recIoc.lib  ..\\..\\..\\lib\\window
> s-x64\\softDevIoc.lib  ..\\..\\..\\lib\\windows-x64\\miscIoc.lib  ..\\..\\..\\li
> b\\windows-x64\\rsrvIoc.lib  ..\\..\\..\\lib\\windows-x64\\dbtoolsIoc.lib  ..\\.
> .\\..\\lib\\windows-x64\\asIoc.lib  ..\\..\\..\\lib\\windows-x64\\dbIoc.lib  ..\
> \..\\..\\lib\\windows-x64\\registryIoc.lib  ..\\..\\..\\lib\\windows-x64\\dbStat
> icIoc.lib  ..\\..\\..\\lib\\windows-x64\\ca.lib  ..\\..\\..\\lib\\windows-x64\\C
> om.lib
> Generating code
> Finished generating code
> "Installing created file ../../../bin/windows-x64/softIoc.exe"
> make[1]: Leaving directory 'D:/epics/mirror-3.14/src/softIoc/O.windows-x64'

Please try the following and post the result:
  cd C:/epics/base-3.14.12.5/src/softIoc
  make clean
  make

Also please post the output from
  make --version
  perl -v

- Andrew

-- 
Light thinks it travels faster than anything but it is wrong.
No matter how fast light travels, it finds the darkness has
always got there first, and is waiting for it.
    -- Terry Pratchett, Reaper Man

Replies:
Re: EPICS base-3.14.12.5 installation error Alex George
References:
EPICS base-3.14.12.5 installation error Alex George
Re: EPICS base-3.14.12.5 installation error Johnson, Andrew N.

Navigate by Date:
Prev: Heads-Up: CA Gateway drops 3.13 compatibility Ralph Lange
Next: Re: EPICS base-3.14.12.5 installation error Alex George
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: EPICS base-3.14.12.5 installation error Johnson, Andrew N.
Next: Re: EPICS base-3.14.12.5 installation error Alex George
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·