Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

installing perl modules on windows

0 views
Skip to first unread message

gsa

unread,
Jul 15, 2008, 12:22:21 AM7/15/08
to
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.

smallpond

unread,
Jul 15, 2008, 12:41:10 AM7/15/08
to


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

--S

rthangam

unread,
Jul 15, 2008, 2:44:27 AM7/15/08
to

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.

Ben Morrow

unread,
Jul 15, 2008, 9:23:26 AM7/15/08
to

Quoth gsa <hsg...@gmail.com>:

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

--
For the last month, a large number of PSNs in the Arpa[Inter-]net have been
reporting symptoms of congestion ... These reports have been accompanied by an
increasing number of user complaints ... As of June,... the Arpanet contained
47 nodes and 63 links. [ftp://rtfm.mit.edu/pub/arpaprob.txt] * b...@morrow.me.uk

0 new messages