installing perl modules on windows

G

gsa

Hi all,
I am having to install the CGI module on a Windows XP machine
and it is very frustrating. I read that I should use the PPM to
install it, but the CGI module doesn't show up on the list of packages
that PPM can install. So I tried installing manually by downloading
the module and installing using nmake, dname, make.. none of which
work. I get a message saying "nmake" is not a recognized command. I
have installed perl modules on MACs a number of times and CPAN.pm
works like a dream. This is very frustrating and I would appreciate
any help in this regard. Thanks in advance for all your help.
 
S

smallpond

Hi all,
I am having to install the CGI module on a Windows XP machine
and it is very frustrating. I read that I should use the PPM to
install it, but the CGI module doesn't show up on the list of packages
that PPM can install. So I tried installing manually by downloading
the module and installing using nmake, dname, make.. none of which
work. I get a message saying "nmake" is not a recognized command. I
have installed perl modules on MACs a number of times and CPAN.pm
works like a dream. This is very frustrating and I would appreciate
any help in this regard. Thanks in advance for all your help.


CGI is a core module. What perl distribution are you using?
Did you check whether CGI is already present?

--S
 
R

rthangam

CGI is a core module. What perl distribution are you using?
Did you check whether CGI is already present?

--S

You need to have visual studio installed to use nmake. nmake comes as
a part of
Microsoft VC++. Are you using Active perl ?. I have done some
installation like DBI,DBD::Oracle etc on my Windows XP machine. It
went fine.
 
B

Ben Morrow

Quoth gsa said:
Hi all,
I am having to install the CGI module on a Windows XP machine
and it is very frustrating. I read that I should use the PPM to
install it, but the CGI module doesn't show up on the list of packages
that PPM can install. So I tried installing manually by downloading
the module and installing using nmake, dname, make.. none of which
work. I get a message saying "nmake" is not a recognized command. I
have installed perl modules on MACs a number of times and CPAN.pm
works like a dream. This is very frustrating and I would appreciate
any help in this regard. Thanks in advance for all your help.

perldoc perlwin32 tells you you can get nmake from
http://download.microsoft.com/download/vc15/Patch/1.52/W95/ENâ€US/nmake15.exe
.. If you want to use CPAN rather than PPM, I would strongly recommend
using Strawberry Perl rather than ActiveState: building XS modules with
ActiveState will require an installed copy of MSVC6 (the freely
available copies of MSVC7 and 8 will *not* work). ActiveState have
modified Config.pm so that it adjusts itself for gcc if it's in your
path, but IME it isn't completely reliable. Strawberry Perl, OTOH, is
bundled with the copy of gcc (and dmake, binutils, &c.) used to build
the binaries, so everything works as expected.

Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,479
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top