search cancel

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


Article ID: 214279


Updated On:


CA Spectrum


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

Can't locate 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/ line 2.

BEGIN failed--compilation aborted at /usr/share/perl5/5.26/Time/ 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


Release : Any version running on Windows

Component : Spectrum Core / Upgrade


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.


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.