Why do I receive a Perl error when starting the Polyspace Daemon?

3 views (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 31 Mar 2015
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.  

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!