kangaroobin has asked for the wisdom of the Perl Monks concerning the following question:
I am very new to working with Perl. After reading an article about it, I very much want to install WWW::Mechanize. I am working on a Mac, so I tried used the pre-installed CPAN module to add it. It was the first time I'd run CPAN, so I let it do the auto install options, which is probably at the root of my problems.
I entered install WWW::Mechanize. Basically, at the end I got this message:
Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible
I thought it might be because I didn't have some other required modules, like LWP or something. So I tried to install Bundle::LWP. I got the same errors at the end.
I probably sound like an idiot, but how can I easily install modules? What am I doing wrong?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Installing modules, specifically WWW::Mechanize
by Fletch (Bishop) on Mar 05, 2008 at 04:48 UTC | |
Just to toss something out: are you sure you have make available? If you haven't installed the developer tools (the package will be available on your OS media) you're probably going to be missing it (among other things such as a compiler and what not that will also come in handy, erm, compiling things). Update: If you have make, this command should produce similar output.
The cake is a lie. | [reply] [d/l] |
by kangaroobin (Novice) on Mar 05, 2008 at 04:54 UTC | |
I am not sure. How would I check? Update: I suppose not, then. Here's what I got:
I need to install the developer tools for Mac now? | [reply] [d/l] |
|
Re: Installing modules, specifically WWW::Mechanize
by anthski (Scribe) on Mar 05, 2008 at 03:56 UTC | |
| [reply] |
by kangaroobin (Novice) on Mar 05, 2008 at 04:22 UTC | |
Sure thing. It's long, but whatever.
| [reply] [d/l] |
by Corion (Patriarch) on Mar 05, 2008 at 07:04 UTC | |
The original error is here:
This means that something went wrong when Perl tried to install HTML::Tagset. Maybe run that one alone to see the part better where it fails. | [reply] [d/l] |
by kangaroobin (Novice) on Mar 05, 2008 at 07:52 UTC | |
by Corion (Patriarch) on Mar 05, 2008 at 08:03 UTC | |
| |