Hi Andrew,
We are using Strawberry Perl 5.12.3.0
C:\Instrument\Apps\EPICS\base\3-14-12-4\src\softIoc>perl -v
This is perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32-x64-multi-thread
The permissions on makeIncludeDbd.pl should be the same as those on registerRecordDeviceDriver.pl and his perl is able to run makeIncludeDbd.pl - maybe worth Alex just comparing them to be sure.
The filename "registerRecordDeviceDriver.pl" is longer than "makeIncludeDbd.pl " though, maybe we have hit a path length limit is that version of ActiveState perl?
When I start running "process monitor", you can tell I'm clutching straws too :-)
Freddie
-----Original Message-----
From: Andrew Johnson [mailto:[email protected]]
Sent: 23 June 2015 16:43
To: Akeroyd, Freddie (STFC,RAL,ISIS); [email protected]
Cc: [email protected]
Subject: Re: EPICS base-3.14.12.5 installation error
Hi Freddie,
Whose version of Perl are you using? I use Strawberry Perl here, although our Jenkins build server does have the ActiveState version installed. I'm wondering if there might be something different in the way that the ActiveState Perl that Alex is using has been built, such that it doesn't understand file permissions in quite the same way.
Clutching at straws here...
- Andrew
On 06/23/2015 10:35 AM, [email protected] wrote:
> 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
>
--
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.
- 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
- RE: EPICS base-3.14.12.5 installation error freddie.akeroyd
- 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:
Direction option for caByte in caQtDM Keith Thorne
- 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 Alex George
- 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
|