Hi,
I have similar permissions to Alex on my installation and epics builds OK - my windows domain account is explicitly in the BUILTIN\Administrators group, but will also be in BUILTIN\Users (which include "domain users"). I'm guessing Alex is too a local administrator on his computer?
Alex, what happens if you try and run these things outside of make:
cd C:\epics\base-3.14.12.5\src\softIoc\O.windows-x64
type ..\..\..\bin\windows-x64\registerRecordDeviceDriver.pl
perl ..\..\..\bin\windows-x64\registerRecordDeviceDriver.pl
perl ../../../bin/windows-x64/registerRecordDeviceDriver.pl
For both perl commands you should get something like "No such file or directory opening file at ../../../bin/windows-x64-debug/registerRecordDeviceDriver.pl line 28"
It is rather strange that your build is able to execute:
perl ../../../bin/windows-x64/makeIncludeDbd.pl base.dbd dlload.dbd system.dbd softIocInclude.dbd
but not
perl ../../../bin/windows-x64/registerRecordDeviceDriver.pl ../O.Common/softIoc.dbd softIoc_registerRecordDeviceDriver C:/epics/base-3.14.12.5 > softIoc.tmp
It is possible to open files on windows and deny other processes read access even if the file permissions would otherwise grant such access. This would cause a "sharing violation", but these can get reported as "file not found" by some tools. Clutching at straws here, is there any possibility of another process/tool being involved and causing problems?
There are useful windows diagnostic tools at https://technet.microsoft.com/en-us/sysinternals/default - i've used "handle" (to list all open files) and "process monitor" (to look at file accesses) before to diagnose problems. If you install process monitor, you can filter on something like "command line contains perl" and then do a make in the softioc directory. This should give some idea of what file access the perl program is trying to do, and how successful it is at this.
Regards,
Freddie
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew Johnson
Sent: 22 June 2015 20:24
To: Alex George
Cc: EPICS tech-talk
Subject: Re: EPICS base-3.14.12.5 installation error
On 06/22/2015 12:28 PM, Alex George wrote:
> cd C:/epics/base-3.14.12.5/src/softIoc
> icacls ../../bin/windows-x64/registerRecordDeviceDriver.pl
>
> C:\epics\base-3.14.12.5\src\softIoc>icacls
> ../../bin/windows-x64/registerRecordDeviceDriver.pl
> ../../bin/windows-x64/registerRecordDeviceDriver.pl BUILTIN\Administrators:(I)(F)
> NT AUTHORITY\SYSTEM:(I)(F)
> BUILTIN\Users:(I)(RX)
> NT
> AUTHORITY\Authenticated Users:(I)(M)
>
> Successfully processed 1 files; Failed processing
None of the names listed there are obviously your user account, so I'm becoming more convinced that this problem is due to file permissions.
When I run the same command for my build the result looks like this:
> D:\epics\mirror-3.14\src\softIoc>icacls
> ..\..\bin\windows-x64\registerRecordDeviceDriver.pl
> ..\..\bin\windows-x64\registerRecordDeviceDriver.pl ANL\anj:(I)(F)
> ANL\Domain Users:(I)(RX)
> Everyone:(I)(RX)
>
> Successfully processed 1 files; Failed processing 0 files
I'm logged in as ANL\anj and I have full permissions (F) over that file.
Can any Windows experts out there comment on this? I don't really understand the intricacies of the Windows permissions system or how ActiveState Perl may be unable to execute a script which it itself installed earlier in the build process.
Alex,
If you can either take ownership or give yourself full permissions over the C:/epics directory tree (and all its subdirectories and files) that will probably fix the problem. You would do that by bringing up Windows Explorer and the Properties dialog for the directory, then go to the Security tab and click the Edit button.
- 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 Andrew Johnson
- 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
- Re: EPICS base-3.14.12.5 installation error Alex George
- Re: EPICS base-3.14.12.5 installation error Alex George
- Re: EPICS base-3.14.12.5 installation error Andrew Johnson
- Re: EPICS base-3.14.12.5 installation error Alex George
- Re: EPICS base-3.14.12.5 installation error Andrew Johnson
- Navigate by Date:
- Prev:
RE: multi-channel analog i/p Mark Rivers
- Next:
Re: EPICS base-3.14.12.5 installation error Andrew Johnson
- 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: EPICS base-3.14.12.5 installation error Andrew Johnson
- Next:
Re: EPICS base-3.14.12.5 installation error Andrew Johnson
- 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
|