[mp2] Failed to obtain the MPM name

2003-09-04 Thread Beau E. Cox
Hi -

1) Downloaded (via CVS) latest mod_perl source (9/4/2003)

2) Cannot configure:

   perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2/ MP_INST_APACHE2=1
   Reading Makefile.PL args from @ARGV
  MP_AP_PREFIX = /usr/local/apache2
  MP_INST_APACHE2 = 1
   Configuring Apache/2.0.47 mod_perl/1.99_10-dev Perl/v5.8.0
   Failed to obtain the MPM name at lib/Apache/Build.pm line 185.

3) Apache2 (2.0.47) configuration (Apache works)

$BASE_DIR/$SOURCE_DIR/configure \
 --enable-layout=SuSE \
 --enable-auth_digest=shared \
 --enable-dav=shared \
 --enable-dav_fs=shared \
 --enable-deflate=shared \
 --enable-rewrite=shared \
 --enable-so \
 --enable-speling=shared \
 --enable-ssl \
 --with-z=/usr/local/src/zlib/zlib-1.1.4 \
 --with-ssl=/usr/ \
 --with-mpm=worker | tee -a $log

4) OS: SuSE 8.2 Linux (with current patches).

5) A quick search of the archives was fruitless - the Changes
   file mentions some changes in this area, but I don't understand
   them enough to solve this problem. Likewise for the source of
   Build.pm.

*NOTE*

CVS source downloaded 7/12/2003 works fine (with same Apache
configuration on same machine).

Aloha = Beau;
== please visit ==
http://beaucox.com = main site
http://howtos.beaucox.com = howtos
http://PPM.beaucox.com = perl PPMs
http://CPAN.beaucox.com = CPAN
== thank you ==




-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



Re: [mp2] Failed to obtain the MPM name

2003-09-04 Thread Stas Bekman
Beau E. Cox wrote:
Hi -

1) Downloaded (via CVS) latest mod_perl source (9/4/2003)

2) Cannot configure:

   perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2/ MP_INST_APACHE2=1
   Reading Makefile.PL args from @ARGV
  MP_AP_PREFIX = /usr/local/apache2
  MP_INST_APACHE2 = 1
   Configuring Apache/2.0.47 mod_perl/1.99_10-dev Perl/v5.8.0
   Failed to obtain the MPM name at lib/Apache/Build.pm line 185.
This is a recent change where we extract the MPM name to know whether to 
require ithreads enabled Perl or not.

3) Apache2 (2.0.47) configuration (Apache works)

$BASE_DIR/$SOURCE_DIR/configure \
 --enable-layout=SuSE \
that's probably the problem. You can use MP_AP_PREFIX= only if you install all 
apache files under the same tree, which is the default layout. Otherwise you 
should use the MP_APXS option pointing to apxs, which will know the rest of 
the details about the layout. Please check if it works for you.

I've already adjusted the install docs to mention MP_APXS, I suppose we need 
to put it as the very first one.

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html


Re: [mp2] Failed to obtain the MPM name

2003-09-04 Thread Beau E. Cox
- Original Message - 
From: Stas Bekman [EMAIL PROTECTED]
To: Beau E. Cox [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, September 04, 2003 6:45 AM
Subject: Re: [mp2] Failed to obtain the MPM name


 Beau E. Cox wrote:
  Hi -
 
  1) Downloaded (via CVS) latest mod_perl source (9/4/2003)
 
  2) Cannot configure:
 
 perl Makefile.PL MP_AP_PREFIX=/usr/local/apache2/ MP_INST_APACHE2=1
 Reading Makefile.PL args from @ARGV
MP_AP_PREFIX = /usr/local/apache2
MP_INST_APACHE2 = 1
 Configuring Apache/2.0.47 mod_perl/1.99_10-dev Perl/v5.8.0
 Failed to obtain the MPM name at lib/Apache/Build.pm line 185.

 This is a recent change where we extract the MPM name to know whether to
 require ithreads enabled Perl or not.

  3) Apache2 (2.0.47) configuration (Apache works)
 
  $BASE_DIR/$SOURCE_DIR/configure \
   --enable-layout=SuSE \

 that's probably the problem. You can use MP_AP_PREFIX= only if you install
all
 apache files under the same tree, which is the default layout. Otherwise
you
 should use the MP_APXS option pointing to apxs, which will know the rest
of
 the details about the layout. Please check if it works for you.

 I've already adjusted the install docs to mention MP_APXS, I suppose we
need
 to put it as the very first one.

 __
 Stas BekmanJAm_pH -- Just Another mod_perl Hacker


Yep - MP_APXS=... works, thanks Stas.

Aloha = Beau;
== please visit ==
http://beaucox.com = main site
http://howtos.beaucox.com = howtos
http://PPM.beaucox.com = perl PPMs
http://CPAN.beaucox.com = CPAN
== thank you ==




-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html



Re: [mp2] Failed to obtain the MPM name

2003-09-04 Thread Stas Bekman
Beau E. Cox wrote:

   $BASE_DIR/$SOURCE_DIR/configure \
--enable-layout=SuSE \
that's probably the problem. You can use MP_AP_PREFIX= only if you install
all

apache files under the same tree, which is the default layout. Otherwise
you

should use the MP_APXS option pointing to apxs, which will know the rest
of

the details about the layout. Please check if it works for you.

I've already adjusted the install docs to mention MP_APXS, I suppose we
need

to put it as the very first one.

Yep - MP_APXS=... works, thanks Stas.
I have updated the install docs to reflect the ever-changing reality...

__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html