You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "ROUSSY, ISABELLE" <is...@bell.ca> on 2000/07/13 21:02:06 UTC
installation question
Hello,
I compiled mod_perl using the simple command
perl Makefile.PL
make && make install
then to add it apache, what is the commanf line because I tried
./configure --prefix=/usr/local/etc/httpd --sysconfdir=/www/conf
--activate-module=src/modules/perl/libperl.a
make && make install
but I still can't see mod_perl.c in httpd -l or mod_perl in my status
page
what is the missing step?
thank you, IR.
--
Isabelle Roussy
Bell Canada
IS/IT - Billing Requirements
700 de La Gauchetiere W B8W2 Montreal Qc H3B 4L1
Mailto:isabelle.roussy@bell.ca
Office (514) 391-7939 Fax (514) 393-8162
Re: installation question
Posted by "G.W. Haywood" <ge...@jubileegroup.co.uk>.
Hi there,
On Thu, 13 Jul 2000, ROUSSY, ISABELLE wrote:
> I compiled mod_perl using the simple command
> perl Makefile.PL
> make && make install
>
> then to add it apache, what is the commanf line because I tried
> ./configure --prefix=/usr/local/etc/httpd --sysconfdir=/www/conf
> --activate-module=src/modules/perl/libperl.a
> make && make install
>
> but I still can't see mod_perl.c in httpd -l or mod_perl in my status
I'm not sure you're doing things in the right order (you don't really
need to do ./configure, mod_perl can do that for you) nor whether you
have the directory structures etc. right to begin with. You want the
Apache and mod_perl source trees in two directories something like so:
/usr/local/src/apache_x.x.xx
/usr/local/src/mod_perl-x.xx
which you can create by doing this:
# cd /usr/local/src
# mv mod_perl-x.xx.tgz .
# mv apache_x.x.xx.tgz .
# tar xzvf mod_perl-x.xx.tgz
# tar xzvf apache_x.x.xx.tgz
You may have to modify this if you don't use e.g. the GNU version of
tar which understands about gzipped files.
Make sure you have removed and stopped any existing Apache binaries
and processes, edit the attached file as necessary (I've put some
modules in just to show you how I usually do it), put the file in
/usr/local/src/mod_perl and issue the commands:
# cd /usr/local/src/apache
# make clean
# cd /usr/local/src/mod_perl
# make clean
# perl Makefile.PL
# make
# make test
# make install
Of course you must change the directories above to suit your setup.
You can also put makepl_args.mod_perl in your home directory and build
Apache somewhere under your home directory tree, but you should put a
dot at the beginning of the filename (.makepl_args.mod_perl) if you do.
Let me know how you get on? It's all in Stas Bekman's Guide:
http://perl.apache.org/guide
73,
Ged.