Spectrum upgrade on Windows fails with “Can’t locate strict.pm @INC…” error
search cancel

Spectrum upgrade on Windows fails with “Can’t locate strict.pm @INC…” error

book

Article ID: 214279

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The Spectrum upgrade on Windows fails with “Can’t locate strict.pm @INC…” error seen in the post-install phase of the installation:

Can't locate strict.pm in @INC (you may need to install the strict module) (@INC contains: /usr/local/lib/perl5/site_perl/5.26/i686-cygwin-threads-64int /usr/local/share/perl5/site_perl/5.26 /usr/lib/perl5/vendor_perl/5.26/i686-cygwin-thr

eads-64int /usr/share/perl5/vendor_perl/5.26 /usr/lib/perl5/5.26/i686-cygwin-threads-64int /usr/share/perl5/5.26) at /usr/share/perl5/5.26/Time/localtime.pm line 2.

BEGIN failed--compilation aborted at /usr/share/perl5/5.26/Time/localtime.pm line 2.

Compilation failed in require at d:/win32app/Spectrum/Install-Tools/RunScripts line 3.

BEGIN failed--compilation aborted at d:/win32app/Spectrum/Install-Tools/RunScripts line 3.

** Error during running of custom scripts

Environment

Release : Any version running on Windows

Component : Spectrum Core / Upgrade

Cause

It is suspected the cygwin installed with the previous Spectrum install was corrupted. Most likely caused by the anti virus software running on the system.

Resolution

To resolve this issue, the Windows VM had to be re-imaged with the basic Windows operating system and then the dbsavefile.SSdb upgrade method was used to upgrade the older database to the newer version.

Additional Information

It is recommended to exclude the $SPECROOT directory from anti virus scans to prevent corruption of the Spectrum application.

The dbsavefile.SSdb method for upgrading/migrating is discussed in the "Migrating and Upgrading" section of the Spectrum documentation.