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

Mailing List Archive: ModPerl: ModPerl

Help installing mod_perl-1.99_08

 

 

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


songer at dynamicfeedback

Jan 30, 2003, 5:57 PM

Post #1 of 3 (365 views)
Permalink
Help installing mod_perl-1.99_08

This is probably a stupid question, but I've been searching the
documentation for 3 or 4 hours now and I still can't get mod_perl to
install. I have mod_perl installed under apache 1.3.26 and have been
running that with great success for a couple years, but I am trying to
upgrade to apache 2.0.44 with mod_perl 1.99_08. I can get mod_perl to
compile, but I can't get apache to include mod_perl when compiling.
Here are the steps I tried (trying to follow the steps in the
installation documentation):

cd httpd-2.0.44
./configure --enable-ssl --enable-rewrite
cd ../mod_perl-1.99_08
perl Makefile.PL MP_AP_PREFIX=/usr/local/src/httpd-2.0.44
MP_INST_APACHE2=1 MP_USE_STATIC=1
make
make install
cd ../httpd-2.0.40/modules
ln -s /usr/local/src/mod_perl-1.99_08/src/modules/perl/ perl
cd ..
./config.nice --enable-perl
make
make install

When I do "httpd -l" mod_perl isn't listed, should it be? I also get
errors for things in my apache configuration scripts like PerlHandler
and PerlRequire, which I assume means that mod_perl isn't installed. I
have read through
http://perl.apache.org/docs/2.0/user/intro/start_fast.html and
http://perl.apache.org/docs/2.0/user/install/install.html and the docs
that came with mod_perl. I apologize if I am missing something obvious
here, but any help would be extremely appreciated, including links to
more documentation that I can read.

Casey Songer


cswarren at attbi

Jan 30, 2003, 5:24 PM

Post #2 of 3 (335 views)
Permalink
Re: Help installing mod_perl-1.99_08 [In reply to]

On Thu, 30 Jan 2003 17:57:05 -0700, Casey Songer wrote:

>When I do "httpd -l" mod_perl isn't listed, should it be? I also get
>errors for things in my apache configuration scripts like PerlHandler
>and PerlRequire, which I assume means that mod_perl isn't installed. I
>have read through
>http://perl.apache.org/docs/2.0/user/intro/start_fast.html and
>http://perl.apache.org/docs/2.0/user/install/install.html and the docs
>that came with mod_perl. I apologize if I am missing something obvious
>here, but any help would be extremely appreciated, including links to
>more documentation that I can read.

My apologies if this is a dumb question, but have you checked httpd.conf
for the "LoadModule perl_module modules/mod_perl.so" line? I've been
running mod_perl as a DSO, and compiling it as static may make some
things different, but I'm pretty sure I've had to add the LoadModule
line myself.

csw
--
/¯\
\ / ASCII RIBBON CAMPAIGN
X Against HTML Mail and News
/ \


stas at stason

Jan 30, 2003, 5:26 PM

Post #3 of 3 (329 views)
Permalink
Re: Help installing mod_perl-1.99_08 [In reply to]

Casey Songer wrote:
> This is probably a stupid question, but I've been searching the
> documentation for 3 or 4 hours now and I still can't get mod_perl to
> install. I have mod_perl installed under apache 1.3.26 and have been
> running that with great success for a couple years, but I am trying to
> upgrade to apache 2.0.44 with mod_perl 1.99_08. I can get mod_perl to
> compile, but I can't get apache to include mod_perl when compiling. Here
> are the steps I tried (trying to follow the steps in the installation
> documentation):
>
> cd httpd-2.0.44
> ./configure --enable-ssl --enable-rewrite
> cd ../mod_perl-1.99_08
> perl Makefile.PL MP_AP_PREFIX=/usr/local/src/httpd-2.0.44
> MP_INST_APACHE2=1 MP_USE_STATIC=1
> make
> make install
> cd ../httpd-2.0.40/modules
> ln -s /usr/local/src/mod_perl-1.99_08/src/modules/perl/ perl
> cd ..
> ./config.nice --enable-perl
> make
> make install
>
> When I do "httpd -l" mod_perl isn't listed, should it be? I also get
> errors for things in my apache configuration scripts like PerlHandler
> and PerlRequire, which I assume means that mod_perl isn't installed. I
> have read through
> http://perl.apache.org/docs/2.0/user/intro/start_fast.html and
> http://perl.apache.org/docs/2.0/user/install/install.html and the docs
> that came with mod_perl. I apologize if I am missing something obvious
> here, but any help would be extremely appreciated, including links to
> more documentation that I can read.

What you are missing is that Apache has to be built and installed first. I'll
stress that in the docs.

__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas [at] stason http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com

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.