Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: ModPerl

Installing modules

 

 

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded


johnm at acadiacom

Nov 3, 2001, 3:06 AM

Post #1 of 3 (648 views)
Permalink
Installing modules

Where can I find information on how to install modules like:
Apache::Request libapreq-0.33.tar.gz
Apache::DBI ApacheDBI-0.88.tar.gz

Would I install these as regular perl modules or are they installed as apache modules?

I have found and downloaded the files, but am not exactly sure where to start.
I installed apache and mod-perl when I setup the server with redhat by basiacally picking them out of a list. I have no experience compiling, building, or installing modules.

Thanks
John michael


ged at www2

Nov 3, 2001, 3:47 AM

Post #2 of 3 (585 views)
Permalink
Re: Installing modules [In reply to]

Hi there,

On Sat, 3 Nov 2001, John Michael wrote:

> Where can I find information on how to install modules like:
> Apache::Request libapreq-0.33.tar.gz
> Apache::DBI ApacheDBI-0.88.tar.gz

The CPAN shell can do it all automatically for you.

perl -MCPAN -eshell

You need to be connected to the internet while you're doing this.

Type

perldoc CPAN

for the documentation.

73,
Ged.


stevep at marketview

Nov 4, 2001, 1:36 PM

Post #3 of 3 (585 views)
Permalink
Re: Installing modules [In reply to]

John Michael wrote:

> Where can I find information on how to install modules like:
> Apache::Request libapreq-0.33.tar.gz
> Apache::DBI ApacheDBI-0.88.tar.gz
>
> Would I install these as regular perl modules or are they installed as
> apache modules?

They are regular perl modules. They only run under mod_perl though. :-)

If you can, use the CPAN shell to install modules, (see 'perldoc CPAN')

Otherwise, download and extract the module then change into its
directory. Read the README and INSTALL files. Then - assuming those
files don't say differently - type

perl Makefile.PL
make
make test

And if you're happy with the results, su to root and type

make install

Hope this helps.

Steve

--
Steve Piner
Web Applications Developer
Marketview Limited
http://www.marketview.co.nz

ModPerl modperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.