MATLAB: Do I receive a Perl error when starting the Polyspace Daemon

Polyspace Bug FinderPolyspace Bug Finder ServerPolyspace Code ProverPolyspace Code Prover Server

When starting the Polyspace Daemon in the Metrics and Remote Server Settings, I receive the following error in the log file:
 
Perl lib version (v5.8.8) doesn't match executable version (v5.8.9) at c:\progra~1\perl\lib/Config.pm line 46.
Compilation failed in require at c:\progra~1\perl\lib/File/Copy.pm line 15.
BEGIN failed–compilation aborted at c:\progra~1\perl\lib/File/Copy.pm line 15.
Compilation failed in require at C:\Program Files\MATLAB\R2014b\toolbox\polyspace\psdistcomp\bin\setup-polyspace-cluster.pl line 8.
BEGIN failed–compilation aborted at C:\Program Files\MATLAB\R2014b\toolbox\polyspace\psdistcomp\bin\setup-polyspace-cluster.pl line 8.

Best Answer

This error message is a result of having an environment variable that points Polyspace to a Perl version other than the one it is shipped with. For example:
 
PERL5LIB=c:\progra~1\perl;c:\progra~1\perl\bin;c:\progra~1\perl\lib
To resolve the issue, remove the environment variable and try starting the Polyspace Daemon again.