Jump to content


Photo

Error with PERL


  • Please log in to reply
7 replies to this topic

#1 al996

al996

    Newbie

  • Member
  • Pip
  • 3 posts
  • Main OS: Windows XP

Posted 22 May 2008 - 03:07 PM

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

#2 Minute

Minute

    Junior Member

  • Member
  • Pip
  • 22 posts
  • Main OS: Windows XP

Posted 22 May 2008 - 03:23 PM

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?

#3 al996

al996

    Newbie

  • Member
  • Pip
  • 3 posts
  • Main OS: Windows XP

Posted 22 May 2008 - 03:38 PM

This was a brand new installation of US.

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

Al

#4 Minute

Minute

    Junior Member

  • Member
  • Pip
  • 22 posts
  • Main OS: Windows XP

Posted 22 May 2008 - 03:43 PM

So, have you installed Perl on your PC by yourself?

#5 Ric

Ric

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 1,535 posts
  • Gender:Male
  • Location:Cambridge,UK
  • Interests:Electronics
    Internet in general
    Open source projects
  • SourceForge IDmpgcan
  • Wiki ID: Ric
  • Main OS: Windows XP

Posted 22 May 2008 - 03:53 PM

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.unifor...1.html#problems

hope that helps.

All the best
Ric

#6 al996

al996

    Newbie

  • Member
  • Pip
  • 3 posts
  • Main OS: Windows XP

Posted 22 May 2008 - 04:06 PM

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

#7 olajideolaolorun

olajideolaolorun

    Project Manager

  • Admin
  • PipPipPipPipPip
  • 2,336 posts
  • Gender:Male
  • Location:Atlanta, GA
  • SourceForge IDempirex
  • Wiki ID: olajideolaolorun
  • IRC Nickname: Olajide
  • Main OS: Windows 7

Posted 22 May 2008 - 08:41 PM

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

Download: http://www.activesta...f2-93a9927d354e

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

#8 Minute

Minute

    Junior Member

  • Member
  • Pip
  • 22 posts
  • Main OS: Windows XP

Posted 22 May 2008 - 10:30 PM

/me never thought Uniform Server would come with outdated modules :)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users