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: Alex George <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: EPICS tech-talk <[email protected]>
Date: Mon, 22 Jun 2015 12:31:42 -0400
Sorry about that, this is my first time posting on the forum.

Here are the requested outputs:

  cd C:/epics/base-3.14.12.5/src/softIoc
  make clean
  make


C:\epics\base-3.14.12.5\src\softIoc>"C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\x86_amd64\vcvarsx86_amd64.bat"
C:\epics\base-3.14.12.5\src\softIoc>make clean
perl -MExtUtils::Command -e rm_rf O.windows-x64 O.Common

C:\epics\base-3.14.12.5\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 `C:/epics/base-3.14.12.5/src/softIoc/O.windows-x64'
perl ../../../bin/windows-x64/makeIncludeDbd.pl base.dbd dlload.dbd system.dbd softIocInclude.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 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[1]: *** [softIoc_registerRecordDeviceDriver.cpp] Error 2
make[1]: Leaving directory `C:/epics/base-3.14.12.5/src/softIoc/O.windows-x64'
make: *** [install.windows-x64] Error 2



  make --version

C:\epics\base-3.14.12.5\src\softIoc>make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-pc-mingw32



  perl -v

C:\epics\base-3.14.12.5\src\softIoc>perl -v

This is perl 5, version 20, subversion 2 (v5.20.2) built for MSWin32-x64-multi-thread
(with 1 registered patch, see perl -V for more detail)

Copyright 1987-2015, Larry Wall

Binary build 2001 [298913] provided by ActiveState http://www.ActiveState.com
Built Mar 24 2015 12:09:44

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.


Best,
Alex

On Mon, Jun 22, 2015 at 11:18 AM, Andrew Johnson <[email protected]> wrote:
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



--
Alex George
Bioengineering Student
A. James Clark School of Engineering
University of Maryland, College Park
Phone: (301) 741-0847

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.
Re: EPICS base-3.14.12.5 installation error Andrew Johnson

Navigate by Date:
Prev: Re: EPICS base-3.14.12.5 installation error Andrew Johnson
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 Andrew Johnson
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 ·