Hi, in that Number::Compare module there is the pl file named makefile.pl is used to build the module.
if u r not clear pls follow the below steps for installation process.
If you're running Windows 95 or NT with the core Windows distribution of Perl,
A. DECOMPRESS
When you download the module, make sure it ends in either .tar.gz or .zip. Windows browsers sometimes download .tar.gz files as _tar.tar, because early versions of Windows prohibited more than one dot in a filename.
You can use WinZip (shareware) to decompress and unpack modules.
Or, you can use InfoZIP's unzip utility to uncompress .zip files; type unzip yourmodule.zip in your shell.
Or, if you have a working tar and gzip, you can type
gzip -cd yourmodule.tar.gz | tar xvf -
in the shell to decompress yourmodule.tar.gz. This will UNPACK your module as well.
B. UNPACK
All of the methods in DECOMPRESS will have done this for you.
C. BUILD
Go into the newly-created directory and type:
perl Makefile.PL
dmake
dmake test
Depending on your perl configuration, dmake might not be available. You might have to substitute whatever perl -V:make says. (Usually, that will be nmake or make.)
D. INSTALL
While still in that directory, type:
dmake install
| [reply] |
Hi,
perl -V:make says that I shall use "nmake" but when i try to use nmake I get this error message:
"C:\ehsthri\perl_modules\Number-Compare-0.01>nmake
'nmake' is not recognized as an internal or external command, operable program or batch file."
What have I forgot now?
| [reply] |
| [reply] |
I first typed "ppm search Number-Compare", and discovered the module is on ActiveState's PPM repository. Next I typed "ppm install Number-Compare", and met with success. If you're using ActivePerl from Active State, you probably ppm too.
| [reply] [d/l] [select] |
Hi Dave,
thanks for your response. Yes i am using Active State.
I tried your solution but the problem is that I get this error message:
Error: No valid repositories:
Error: 500 Can't connect to ppm.ActiveState.com:80 (Bad hostname 'ppm.ActiveState.com')
Error: 500 Can't connect to ppm.ActiveState.com:80 (Bad hostname 'ppm.ActiveState.com')
Any ideas?
| [reply] |
| [reply] |