473,325 Members | 2,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

unable to get the perl version installed

Hi everyone,

I have installed ActivePerl-5.10.0.1001-MSWin32-x86-283495.msi in my system
(os-win2k) problem is when i try to get perl version by typing perl -v in cmd prompt i get a popup saying

''can't find the file'perl' or (one of its componnets).Make sure the filename & path are correct and that all the required libraries are avialble.''

but i got the perl folder in c: drive with all the other sub folders within it after installation.

i have worked on perl before but not from scratch ie, by installing perl..

please can anyone tell me where am doing a mistake !!!!!

am not able to run the perl script.

if am not wrong all the *.pl file should turn to yellow symbol but in my case it's still shows it in txt format.
Sep 6 '08 #1
5 1811
Ganon11
3,652 Expert 2GB
You have to set the PATH command to include the filepath "C:\Perl\bin" or the equivalent for your system.

To do this, open your command prompt window and type:

Expand|Select|Wrap|Line Numbers
  1. set PATH
This will display the current PATH value - it is a list of filepaths separated by the ';' character. You need to copy and paste this value into notepad (getting rid of all the newlines so that the path is all on one line), add the filepath to perl.exe at the beginning, then copy this. Go back to your command prompt and type:

Expand|Select|Wrap|Line Numbers
  1. set PATH=
but do not press enter. Now paste the new PATH value into your command prompt and hit enter. Make sure this worked by retyping:

Expand|Select|Wrap|Line Numbers
  1. set PATH
If the value displayed contains "C:\perl\bin" (or whatever) then you are set!
Sep 6 '08 #2
numberwhun
3,509 Expert Mod 2GB
One suggestion from my end. If you are working on Windows (which you said you are), I highly recommend you use Strawberry Perl instead of Active State. AS limits what Modules are available to you, while SP uses the CPAN repository directly.

I have used it for quite some time and its much better IMHO. Plus, the CPAN interface comes pretty much all ready to use. Personally, I hate it when I want to play with a module and I can't because AS didn't have it "ported" to their system. I had that happen far too many times with AS.

Regards,

Jeff
Sep 6 '08 #3
KevinADC
4,059 Expert 2GB
Add perl to the command path as already explained or use the full path to perl from the command prompt:

Expand|Select|Wrap|Line Numbers
  1. c:\perl\bin\perl.exe -v
Sep 6 '08 #4
You have to set the PATH command to include the filepath "C:\Perl\bin" or the equivalent for your system.

To do this, open your command prompt window and type:

Expand|Select|Wrap|Line Numbers
  1. set PATH
This will display the current PATH value - it is a list of filepaths separated by the ';' character. You need to copy and paste this value into notepad (getting rid of all the newlines so that the path is all on one line), add the filepath to perl.exe at the beginning, then copy this. Go back to your command prompt and type:

Expand|Select|Wrap|Line Numbers
  1. set PATH=
but do not press enter. Now paste the new PATH value into your command prompt and hit enter. Make sure this worked by retyping:

Expand|Select|Wrap|Line Numbers
  1. set PATH
If the value displayed contains "C:\perl\bin" (or whatever) then you are set!
hi All,

Thanks for your reply's guys.

i have tried with Ganon11 said (above)steps but i didn't get the exact solution.
when i type set PATH in the cmd prompt am getting the same popup saying components,path & libraries not found.
but when i tried with kevinadc said solution ie, by typing the
c:\perl\bin\perl.exe -v in cmd prompt
am getting the cmd window which comes & goes very fast.

Is there any other way where i can set the path for the perl ???

Regards,
Vijayarl
Sep 7 '08 #5
hi All,

Thanks for your reply's guys.

i have tried with Ganon11 said (above)steps but i didn't get the exact solution.
when i type set PATH in the cmd prompt am getting the same popup saying components,path & libraries not found.
but when i tried with kevinadc said solution ie, by typing the
c:\perl\bin\perl.exe -v in cmd prompt
am getting the cmd window which comes & goes very fast.

Is there any other way where i can set the path for the perl ???

Regards,
Vijayarl
Hi Everyone,

Thanks for your support,it really worked...
thanks to kevin,Ganon11 for thier inputs.
Sep 8 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Julia Bell | last post by:
I would like to run the same script on two different platforms. The directory in which the script(s) will be stored is common to the two platforms. (I see the same directory contents regardless...
16
by: Serdar Kalaycý | last post by:
Hi everybody, My problem seems a bit clichè but I could not work around. Well I read lots of MSDN papers and discussions, but my problem is a bit different from them. When I tried to run the...
22
by: EP | last post by:
When running my asp.net hosting service (asp.net without IIS), on server 2003 with IIS not installed, I get the following when trying to process a request. "System.DllNotFoundException: Unable to...
3
by: DJTN | last post by:
I'm getting the following error when I try to compile my setup project in VS 2002. I have re-installed the .net framework 1.1 and it didnt solve the problem. WARNING: Unable to find dependency...
0
by: Kirt Loki Dankmyer | last post by:
So, I download the latest "stable" tar for perl (5.8.7) and try to compile it on the Solaris 8 (SPARC) box that I administrate. I try all sorts of different switches, but I can't get it to compile....
6
by: surfivor | last post by:
I may be involved in a data migration project involving databases and creating XML feeds. Our site is PHP based, so I imagine the team might suggest PHP, but I had a look at the PHP documentation...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
1
by: srikantvm | last post by:
Hi All, I am using perl, v5.8.8 built for MSWin32-x86-multi-thread and i tried installing the DBD-Oracle module but unable to install. Please find below the steps followed by me: 1) I first...
4
by: vijayarl | last post by:
Hi All, i have the following software installed in my system : 1.OS: Win2k 2.Eclipse Version used :3.4.0 & even the perl too... 1. I have imported the my own perl project in Eclipse, when i...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.