Re: Errors using installing perl modules
- From: Ben Morrow <ben@xxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 20:01:19 +0000
Quoth Manuel <gabrielepetrone@xxxxxxxxx>:
i normally used ppm to install perl modules on windows and i never had
any problems. I just switched to linux (xubuntu) and i'm trying to
install WWW::Mechanize but it does not work.
If you are using the perl that came with your system, I generally find
it's easier to install Perl modules using the system package manager
where it supports them. You get all the goodies of your package manager
that CPAN.pm doesn't do, like the ability to uninstall and automatic
upgrades. Since Ubuntu is Debian-based, and Debian are one of the better
OS distributors with regard to packaging Perl modules I would expect
WWW::Mech to be there.
This is what i did ( root user):<snip<
root@server:~/Desktop# perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.7601)
ReadLine support available (try 'install Bundle::CPAN')
cpan> install WWW::Mechanize
Running install for module WWW::Mechanize
Running make for P/PE/PETDANCE/WWW-Mechanize-1.32.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for WWW::Mechanize
-- NOT OK
Doesn't look like you've done anything wrong to me... The next step is
to try 'look WWW::Mechanize', which will drop you in a shell in the
WWW::Mechanize directory, and try running
perl Makefile.PL
make
make install
by hand. If there is an INSTALL or README file you could read it, to see
if there are any particular issues with this module that CPAN.pm doesn't
know about. If Makefile.PL still fails (that is, if it doesn't generate
a Makefile) then post the transcript again and we'll have another look
:).
Ben
.
- Follow-Ups:
- Re: Errors using installing perl modules
- From: Manuel
- Re: Errors using installing perl modules
- References:
- Errors using installing perl modules
- From: Manuel
- Errors using installing perl modules
- Prev by Date: any personalized page scripts out there?
- Next by Date: URGENT Req: Perl Developer - PA - 6 months
- Previous by thread: Errors using installing perl modules
- Next by thread: Re: Errors using installing perl modules
- Index(es):
Relevant Pages
|
|