Jump to content
The Uniform Server Community
al996

Error with PERL

Recommended Posts

Trying to run a PERL script on Uniform Server 3.5-Apollo I get the following error:

 

Perl lib version (v5.8.7) doesn't match executable version (v5.8.8) at W:/usr/lib/CGI/Carp.pm line 314.

Compilation failed in require at W:/usr/lib/Time/Local.pm line 5.

BEGIN failed--compilation aborted at W:/usr/lib/Time/Local.pm line 5.

Compilation failed in require at W:/cgi-bin/plans.cgi line 172.

BEGIN failed--compilation aborted at W:/cgi-bin/plans.cgi line 172.

 

Any suggestions?

 

Al

Share this post


Link to post
Share on other sites

Wow, I've never seen this before.

 

Do you have two copies of Perl installed on your computer?

 

If that isn't the case, then have you tried your script on a clean/new installation of Uniform Server?

Share this post


Link to post
Share on other sites

This was a brand new installation of US.

 

Also, the program is running properly on a UNIX server.

 

Al

Share this post


Link to post
Share on other sites

I am not sure if a separate installation of Perl is the problem never checked it. What I have found in the past some modules are version specific, i.e. need to be compiled for that version of Perl. I tried to explain on this page:

 

http://center.uniformserver.com/new_users_...1.html#problems

 

hope that helps.

 

All the best

Ric

Share this post


Link to post
Share on other sites

No other PERL installation on my PC. A search on 'perl' shows only the perl.exe and perl58.dll in the udrive/usr/bin directory.

 

This really has me baffled.

 

Al

Share this post


Link to post
Share on other sites

Basically the problem is what Ric stated. Carp.pm needs to be updated.

 

Download: http://www.activestate.com/store/download_...f2-93a9927d354e

 

Extract, and look for CGI/Carp.pm inside. Overwrite it with the one you have on the Uniform Server.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...