Skip to main content

Error running Perl scripts in ClearCase when multiple Perl versions are installed


Technote (troubleshooting)


Problem(Abstract)

This technote explains why the errors Perl lib version (vX.X.X) doesn't match executable version (vX.X.X and Compilation failed might occur when running IBM® Rational® ClearCase® perl scripts.

Symptom

Errors reported when running the ClearCase MultiSite® sync_receive.bat script:


d:\Program Files\Rational\ClearCase\config\scheduler\tasks\sync_receive.bat
Perl lib version (v5.8.7) doesn't match executable version (v5.8.6) at
C:\Program Files\Veritas\VRTSPerl\lib/Config.pm line 46.
Compilation failed in require at C:\Program Files\Veritas\VRTSPerl\lib/DynaLoader.pm line 25.
BEGIN failed--compilation aborted at C:\Program
Files\Veritas\VRTSPerl\lib/DynaLoader.pm line 25.
Compilation failed in require at D:/Program
Files/Rational/Common/lib/perl5/site_perl/5.8.6/MSWin32-x86-multi-
thread/Win32API/Registry.pm line 10.
Compilation failed in require at D:/Program
Files/Rational/Common/lib/perl5/site_perl/5.8.6/MSWin32-x86-multi-
thread/Win32/TieRegistry.pm line 26.
BEGIN failed--compilation aborted at D:/Program
Files/Rational/Common/lib/perl5/site_perl/5.8.6/MSWin32-x86-multi-
thread/Win32/TieRegistry.pm line 26.
Compilation failed in require at D:/Program
Files/Rational/Common/lib/perl5/site_perl/5.8.6/ClearCase/CurrentVersion.pm line 12.
Compilation failed in require at D:\Program
Files\Rational\ClearCase\bin/ccperlpp.pl line 24.
BEGIN failed--compilation aborted at D:\Program Files\Rational\ClearCase\bin/ccperlpp.pl line 24.

Cause

The problem may be caused when there are multiple versions of Perl installed on the same system where the search path environment variable is setup so that the "incorrect" Perl version is chosen first.


Resolving the problem




Remove any incorrect paths in your system path statement.

Then move the ...\clearcase\bin path closer to the beginning of the system path environment variable and restart the machine.

Cross reference information
Segment Product Component Platform Version Edition
Software Development Rational ClearCase Perl: ccperl

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational ClearCase

Perl: ccperl


Software version:
7.0, 7.0.0.1, 7.0.1, 2002.05.00, 2003.06.00, 2003.06.01, 2003.06.10, 2003.06.12, 2003.06.13, 2003.06.14, 2003.06.15, 2003.06.16


Operating system(s):
Windows


Reference #:
1289331


Modified date:
2007-11-29

Translate my page

Content navigation