LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing a perl module - howto (https://www.linuxquestions.org/questions/linux-software-2/installing-a-perl-module-howto-24919/)

Rum 07-03-2002 01:50 AM

Installing a perl module - howto
 
I've a perl program that uses HTTP::Request, and this doesnt

seem to be available on my linux. Is "HTTP::Request" the name

of the module, or it is available in some module some diff name?

At CPAN search, I found libwww-perl has this. But when I try to

install it, like

CPAN> install libwww-perl

it fails, and all the following also fail:

CPAN> install libwww-perl-5.65

CPAN> install libwww-perl-5.65.tar.gz

CPAN> install HTTP::Request



Then, I downloaded libwww-perl-5.65.tar.gz and did

perl Makefile.PL

make

make test

This make test showed 72% tests only passed.

Does this mean the installation failed? With this, I still

cannot run my perl program.



Any Help appreciated.



thanks,

--rum

CragStar 07-03-2002 04:45 PM

Did you try to run the CPAN module through perl at install that way?

E.g type at the command line:

perl -MCPAN -e shell

follow the questions through, and then type:

install ******** (where *** is the name of the module)

whilst there which will fetch it for you and install to the right place.

What were the errors you received?


All times are GMT -5. The time now is 11:38 AM.