You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by John Michael <jo...@acadiacom.net> on 2001/11/03 11:06:57 UTC

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


Re: Installing modules

Posted by Steve Piner <st...@marketview.co.nz>.

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

Re: Installing modules

Posted by Ged Haywood <ge...@www2.jubileegroup.co.uk>.
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.