Re: apache 1.33 modperl

[prev] [thread] [next] [Date index for 2004/12/17]

From: Stas Bekman
Subject: Re: apache 1.33 modperl
Date: 21:17 on 17 Dec 2004
Andrew Charnley wrote:
> Have followed all instructions. There is no mention of this. I do not know how modperl generates the apache configure file but it should insert the stuff --enable-module=so gives when calling ./configure on apache src directly.
> 
> 1. Download ModPerl v1. Apache 1.333. Slackware current.
> 2. extracted to /tmp
> 3. perl Makefile.PL APACHE_SRC=../apache_1.3.33/src APACHE_PREFIX=/usr/sbin DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
> 4. make, make install
> 5. apachectl start >> Invalid Command 'LoadModule', perhaps misspelled or not included in the server configuration
> 6. Googled for info: http://www.vttoth.com/loadmod.htm
> 7. Summarised ModPerl should be using this. Compiled apache manually with this and problem fixed, but then I don't get ModPerl.

That's much better, Andrew.

http://perl.apache.org/docs/1.0/guide/install.html#The_All_In_One_Way
That builds a static Apache/mod_perl. So obviously modperl has no interest 
telling Apache to build DSO support. What LoadModule are you expecting to 
call if there are no dynamic modules?

I suspect you have httpd.conf from a previously build Apache which had DSO 
support and the new build doesn't overwrite that file. Nuke the old 
httpd.conf, run 'make install' and you should be fine.

If you still want to pass extra args use APACI_ARGS
http://perl.apache.org/docs/1.0/guide/install.html#APACI_ARGS

perl Makefile.PL APACHE_SRC=../apache_1.3.33/src APACHE_PREFIX=/usr/sbin 
DO_HTTPD=1 USE_APACI=1 EVERYTHING=1  APACI_ARGS="--enable-module=so"

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

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

apache 1.33 modperl
Andrew Charnley 01:04 on 18 Dec 2004

Re: apache 1.33 modperl
Stas Bekman 20:22 on 17 Dec 2004

Re: apache 1.33 modperl
Stas Bekman 20:40 on 17 Dec 2004

Re: apache 1.33 modperl
Andrew Charnley 01:56 on 18 Dec 2004

Re: apache 1.33 modperl
Stas Bekman 21:17 on 17 Dec 2004

Re: apache 1.33 modperl
Andrew Charnley 02:31 on 18 Dec 2004

Re: apache 1.33 modperl
Stas Bekman 21:43 on 17 Dec 2004

Re: apache 1.33 modperl
Andrew Charnley 02:54 on 18 Dec 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52