CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: General Discussions: General Questions:
Perl Version issue

 



sach_1979
Novice

May 10, 2009, 9:37 PM

Post #1 of 9 (4836 views)
Perl Version issue Can't Post

Hi,

I am new to Perl.

I have installed Perl 8.10. from Active state.

I am trying to access a Win32 dll function from Perl script.

I am getting an error "Perl 5.006 required--this is only version 5.00503, stopped at vars.pm line 3"

Even with Perl 5.8.8 same error occurs.


Please let me know the solution for this problem. or do I need to install new version of Perl / configure perl.


Thanks
Sachin



KevinR
Veteran


May 10, 2009, 9:47 PM

Post #2 of 9 (4835 views)
Re: [sach_1979] Perl Version issue [In reply to] Can't Post

Completely uninstall any other version of perl that are installed. Then reinstall activeperl 5.8 or perl 5.10 for the exact verion of Windows you are using.
-------------------------------------------------


(This post was edited by KevinR on May 10, 2009, 9:48 PM)


sach_1979
Novice

May 10, 2009, 11:14 PM

Post #3 of 9 (4831 views)
Re: [sach_1979] Perl Version issue [In reply to] Can't Post

Hi,

Thanks for the response.

Yes, I did uninstalled the Per completely, and installed a 5.8 version for Windows 32 freshly. The version number I am getting after executing Perl -v is

This is perl, version 5.005_03 built for MSWin32-x86-object.

Because of this I am unable to able execute script which requires 5.006.

Thanks

Sachin


KevinR
Veteran


May 11, 2009, 1:07 AM

Post #4 of 9 (4827 views)
Re: [sach_1979] Perl Version issue [In reply to] Can't Post

All I can say is make sure you are installing perl 5.8 and not some older version of perl. If you are installing perl 5.8 and it says the version is 5.005, I have no clue why.
-------------------------------------------------


sach_1979
Novice

May 11, 2009, 2:03 AM

Post #5 of 9 (4823 views)
Re: [sach_1979] Perl Version issue [In reply to] Can't Post

Hi,

Will you please let me know, where can I find the installation of Perl for which the Version number will be 5.006.

Thanks

Sachin


vikas.deep
User

May 11, 2009, 5:17 AM

Post #6 of 9 (4820 views)
Re: [sach_1979] Perl Version issue [In reply to] Can't Post

Hi
FishMonger has listed the following repositories in the thread "code hangs---" in the "Beginner's section" just go through that thread
The repositories he mentioned are
"How about these 5.10.xx 32 bit repositories.
http://ppm4.activestate.com/MSWin32-x86/5.10/1002/
http://cpan.uwinnipeg.ca/PPMPackages/10xx/
http://trouchelle.com/ppm10/
http://www.bribes.org/perl/ppm/
http://www.wxperl.co.uk/repository/ "
Further did you noticed that x-86 thing in the perl-v output[ MSWin32-x86-object. ] just check it what is that and how important that may be when you are looking for a particular perl.
-For all my suggestions " I am sure someone else can do it in a better or elegant manner!"

(This post was edited by vikas.deep on May 11, 2009, 5:17 AM)


KevinR
Veteran


May 11, 2009, 2:29 PM

Post #7 of 9 (4808 views)
Re: [sach_1979] Perl Version issue [In reply to] Can't Post


In Reply To
Hi,

Thanks for the response.

Yes, I did uninstalled the Per completely, and installed a 5.8 version for Windows 32 freshly. The version number I am getting after executing Perl -v is

This is perl, version 5.005_03 built for MSWin32-x86-object.

Because of this I am unable to able execute script which requires 5.006.

Thanks

Sachin


You don't specifically need version 5.006, any 5.xx version higher should also work, so installing perl 5.8 or 5.10 should be OK.
-------------------------------------------------


FishMonger
Veteran / Moderator

May 11, 2009, 6:47 PM

Post #8 of 9 (4797 views)
Re: [sach_1979] Perl Version issue [In reply to] Can't Post


In Reply To
Hi,

Will you please let me know, where can I find the installation of Perl for which the Version number will be 5.006.

Thanks

Sachin


There are several methods. One method would be to use Windows search (Start -> Search) and find all files matching perl.exe then either execute the uninstall.exe that should be in that same directory or manually delete those files and directories. Next step would be to check your path environment and delete any/all paths that point to perl.

If you're real adventurous, you could search the registry for perl.exe and delete those entries. However, if you're not experienced and not careful with editing the registry, you could screw up your system even more than it is now.

Once you're sure that you've completely removed perl from you system, then reinstall any version above 5.8 preferably 5.8.9.825 or 5.10.0


sach_1979
Novice

May 12, 2009, 1:40 AM

Post #9 of 9 (4790 views)
Re: [vikas.deep] Perl Version issue [In reply to] Can't Post

Hi,

This issue is resolved. The problem was in registry. I dont know for some reason I was not able to update the registry.



Now the installation is done correctly and Scripts work fine.



Thanks

Sachin

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives