Re: Need help installing WWW-Search-Ebay-2.193 Module...

From: Ben Morrow (usenet_at_morrow.me.uk)
Date: 06/07/04


Date: Mon, 7 Jun 2004 19:49:16 +0000 (UTC)


Quoth The Moor Of Venice <grizelda_bone@yahool.com>:
> Hi all. I am trying to install the WWW-Search-Ebay-2.193 Module that I
> nicked off CPAN. One of the O'Reilly Books has a script that calls this
> module. Here's the problem: I am trying to do it under Windows, from
> the Windows command line. <puts on flame proof suit and dodges rotten
> tomatoes>.
>
> It's not a pre-built module. ActivePerl's PPM won't let me do it. Shy
> of dinking together a maching running Linux for the sole purpose of
> learning Perl and JavaScript and Python and all those fun scripting
> languages (which are far easier to program in under Linux than under
> Windoze--I mean easier in terms of not having to jump through a lot of
> hoops to get the scripts and so forth to work properly).
>
> Anyone have any idea how to do this? Any help you could give me?

If the module is Perl-only (no XS), and it probably is, then download
nmake from
http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe
and put it in your path. Then download the .tar.gz from CPAN, untar it,
change to the source directory and run the usual

perl Makefile.PL
nmake
nmake test
nmake install

Alternatively you could use CPAN.pm, which will automate all this; but
you may need to find and install command-line versions of tar and gzip
first.

If you need to install XS modules for which there is no PPD, then you
will have to abtain somehow a perl and a matching C compiler. This means
either installing VC++ to match ActivePerl, or downloading MinGW or
Borland's free compiler and building your own perl.

> I figured if worse came to really horribly bad I could run
> ActivePerl for Linux under Cygwin

Ohh no you can't... perl does run under cygwin, but you have to build it
for cygwin (there is a binary in the cygwin distro).

Ben

-- 
Every twenty-four hours about 34k children die from the effects of poverty.
Meanwhile, the latest estimate is that 2800 people died on 9/11, so it's like
that image, that ghastly, grey-billowing, double-barrelled fall, repeated
twelve times every day. Full of children. [Iain Banks]         ben@morrow.me.uk


Relevant Pages

  • Re: Question on input password on ssh prompt
    ... I am writing a perl script running on the XP, ... However right after I made the system call for ssh, ... Is that a way I can feed it the password without install any ...
    (comp.lang.perl.misc)
  • Cant install DBI.pm in cygwin under Windows 2003 Server
    ... without any trouble on Windows XP Pro. ... to install on the Windows machine. ... Install cygwin with these options: ... - perl Makefile.PL ...
    (perl.dbi.users)
  • Cross-platform install - searching for a method (without java)
    ... Can interact with the system - that is, execute native ... Essentially, I had the idea of using Perl, sans-modules, ... Put the minimum I need to run a perl script into the ... it and kick off the real install script. ...
    (comp.programming)
  • Problem with nlink from stat().
    ... One desktop and one laptop. ... reinstall XP, cygwin and perl. ... activestate.com to install the latest version of both software. ...
    (comp.lang.perl.misc)
  • Re: CPAN install failure - help?
    ... Sinan Unur wrote: ... Unless you are using cygwin, you very likely do not have the proper tools to compile Perl modules from scratch. ... Interestingly enough, I've also got Fedora Core 3 on another machine, and on that one, once I su'ed to root, the install worked the first time. ...
    (comp.lang.perl.misc)