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

Mailing List Archive: ModPerl: ModPerl

Install Question

 

 

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


tkukuselis at verizon

Jun 3, 2013, 8:42 AM

Post #1 of 6 (237 views)
Permalink
Install Question

 

Hello,

I am trying to install modperl 2.0.3 with httpd 2.4.2 (also tried 2.4.4), but am getting the following error:
Failed to obtain the MPM name. Please specify MP_APXS=/full/path/to/apxs to solve this problem.
make:*** [path] Error 255

Using the following configure command
configure --prefix=/usr/local/apache2 --disable-userdir --enable-expires --enable-headers --enable-ldap --enable-logio --enable-mime-magic --enable-so --enable-speling --endable-usertrack --enable-vhost-alias --with-port=80 --with-included-apr --with-included-apr-util --with-ssl=/usr/local/ssl/

Where can I put the MPM name to get it to be picked up.   I tried to add --mpm-name=prefork, to the configure command, but the same problem.


Thanks
Tracy


eugene.toropov at gmail

Jun 3, 2013, 9:18 AM

Post #2 of 6 (218 views)
Permalink
Re: Install Question [In reply to]

Hi Tracy,

As far as I remember must be something like

perl Makefile.PL MP_APXS=/usr/bin/apxs

Cheers
Eugene

On Jun 3, 2013, at 7:42 PM, Tracy Kukuselis <tkukuselis [at] verizon> wrote:

>
> Hello,
>
> I am trying to install modperl 2.0.3 with httpd 2.4.2 (also tried 2.4.4), but am getting the following error:
> Failed to obtain the MPM name. Please specify MP_APXS=/full/path/to/apxs to solve this problem.
> make:*** [path] Error 255
>
> Using the following configure command
> configure --prefix=/usr/local/apache2 --disable-userdir --enable-expires --enable-headers --enable-ldap --enable-logio --enable-mime-magic --enable-so --enable-speling --endable-usertrack --enable-vhost-alias --with-port=80 --with-included-apr --with-included-apr-util --with-ssl=/usr/local/ssl/
>
> Where can I put the MPM name to get it to be picked up. I tried to add --mpm-name=prefork, to the configure command, but the same problem.
>
>
> Thanks
> Tracy
>
>


fred at redhotpenguin

Jun 3, 2013, 9:43 AM

Post #3 of 6 (230 views)
Permalink
Re: Install Question [In reply to]

On Mon, Jun 3, 2013 at 8:42 AM, Tracy Kukuselis <tkukuselis [at] verizon> wrote:
> I am trying to install modperl 2.0.3 with httpd 2.4.2 (also tried 2.4.4),
> but am getting the following error:

2.4 isn't officially supported yet, although there are a couple builds
on the list you might try. See the list archives for those.

> Failed to obtain the MPM name. Please specify MP_APXS=/full/path/to/apxs to
> solve this problem.
> make:*** [path] Error 255

What OS and Perl version are you running? What command are you using
to build mod_perl? Do you know where your apxs executable is? ('which
apxs' should output the location).

>
> Using the following configure command
> configure --prefix=/usr/local/apache2 --disable-userdir --enable-expires
> --enable-headers --enable-ldap --enable-logio --enable-mime-magic
> --enable-so --enable-speling --endable-usertrack --enable-vhost-alias
> --with-port=80 --with-included-apr --with-included-apr-util
> --with-ssl=/usr/local/ssl/
>
> Where can I put the MPM name to get it to be picked up. I tried to add
> --mpm-name=prefork, to the configure command, but the same problem.
>
>
> Thanks
> Tracy
>
>


fred at redhotpenguin

Jun 3, 2013, 10:55 AM

Post #4 of 6 (229 views)
Permalink
Re: Install Question [In reply to]

Please cc the list on your responses so that you can get support from
any of the thousands of mod_perl users on this list :)

On Mon, Jun 3, 2013 at 10:52 AM, Tracy Kukuselis <tkukuselis [at] verizon> wrote:
> And this one....
>
> From: Fred Moyer <fred [at] redhotpenguin>
> To: Tracy Kukuselis <tkukuselis [at] verizon>
> Cc: "modperl [at] perl" <modperl [at] perl>
> Sent: Monday, June 3, 2013 12:43 PM
> Subject: Re: Install Question
>
> On Mon, Jun 3, 2013 at 8:42 AM, Tracy Kukuselis <tkukuselis [at] verizon>
> wrote:
>> I am trying to install modperl 2.0.3 with httpd 2.4.2 (also tried 2.4.4),
>> but am getting the following error:
>
> 2.4 isn't officially supported yet, although there are a couple builds
> on the list you might try. See the list archives for those.
>
>> Failed to obtain the MPM name. Please specify MP_APXS=/full/path/to/apxs
>> to
>> solve this problem.
>> make:*** [path] Error 255
>
> What OS and Perl version are you running? What command are you using
> to build mod_perl? Do you know where your apxs executable is? ('which
> apxs' should output the location).
>
>>
>> Using the following configure command
>> configure --prefix=/usr/local/apache2 --disable-userdir --enable-expires
>> --enable-headers --enable-ldap --enable-logio --enable-mime-magic
>> --enable-so --enable-speling --endable-usertrack --enable-vhost-alias
>> --with-port=80 --with-included-apr --with-included-apr-util
>> --with-ssl=/usr/local/ssl/
>>
>> Where can I put the MPM name to get it to be picked up. I tried to add
>> --mpm-name=prefork, to the configure command, but the same problem.
>>
>>
>> Thanks
>> Tracy
>>
>>
>
>


tkukuselis at verizon

Jun 4, 2013, 11:48 AM

Post #5 of 6 (214 views)
Permalink
Re: Install Question [In reply to]

Hi!  Ok, I implemented the changes that you stated and now I received the following error:
 
 
You need to pass either MP_AP_PREFIX or MP_APXS, but not both. 
 
 
Configuration for makefile:
/usr/local/bin/perl Makefile.PL
MP_USE_STATIC=1
MP_AP_PREFIX=/data/links/httpd
MP_APXS=/usr/sbin/apxs
 
 
Any suggestions you have would be great.
 
Thanks,
Tracy
  

________________________________
From: Eugene Toropov <eugene.toropov [at] gmail>
To: Tracy Kukuselis <tkukuselis [at] verizon>
Cc: "modperl-help [at] perl" <modperl-help [at] perl>; "modperl [at] perl" <modperl [at] perl>
Sent: Monday, June 3, 2013 12:18 PM
Subject: Re: Install Question



Hi Tracy,

As far as I remember must be something like 

perl Makefile.PL MP_APXS=/usr/bin/apxs

Cheers
Eugene

On Jun 3, 2013, at 7:42 PM, Tracy Kukuselis <tkukuselis [at] verizon> wrote:

 
>
>Hello,
>
>I am trying to install modperl 2.0.3 with httpd 2.4.2 (also tried 2.4.4), but am getting the following error:
>Failed to obtain the MPM name. Please specify MP_APXS=/full/path/to/apxs to solve this problem.
>make:*** [path] Error 255
>
>Using the following configure command
>configure --prefix=/usr/local/apache2 --disable-userdir --enable-expires --enable-headers --enable-ldap --enable-logio --enable-mime-magic --enable-so --enable-speling --endable-usertrack --enable-vhost-alias --with-port=80 --with-included-apr --with-included-apr-util --with-ssl=/usr/local/ssl/
>
>Where can I put the MPM name to get it to be picked up.   I tried to add --mpm-name=prefork, to the configure command, but the same problem.
>
>
>Thanks
>Tracy
>
>


fred at redhotpenguin

Jun 6, 2013, 12:15 PM

Post #6 of 6 (207 views)
Permalink
Re: Install Question [In reply to]

> You need to pass either MP_AP_PREFIX or MP_APXS, but not both.

I'd suggest building via MP_APXS. Building mod_perl statically is not
widely tested.

On Tue, Jun 4, 2013 at 11:48 AM, Tracy Kukuselis <tkukuselis [at] verizon> wrote:
> Hi! Ok, I implemented the changes that you stated and now I received the
> following error:
>
>
> You need to pass either MP_AP_PREFIX or MP_APXS, but not both.
>
>
> Configuration for makefile:
> /usr/local/bin/perl Makefile.PL
> MP_USE_STATIC=1
> MP_AP_PREFIX=/data/links/httpd
> MP_APXS=/usr/sbin/apxs
>
>
> Any suggestions you have would be great.
>
> Thanks,
> Tracy
>
>
> From: Eugene Toropov <eugene.toropov [at] gmail>
> To: Tracy Kukuselis <tkukuselis [at] verizon>
> Cc: "modperl-help [at] perl" <modperl-help [at] perl>;
> "modperl [at] perl" <modperl [at] perl>
> Sent: Monday, June 3, 2013 12:18 PM
> Subject: Re: Install Question
>
> Hi Tracy,
>
> As far as I remember must be something like
>
> perl Makefile.PL MP_APXS=/usr/bin/apxs
>
> Cheers
> Eugene
>
> On Jun 3, 2013, at 7:42 PM, Tracy Kukuselis <tkukuselis [at] verizon> wrote:
>
>
> Hello,
>
> I am trying to install modperl 2.0.3 with httpd 2.4.2 (also tried 2.4.4),
> but am getting the following error:
> Failed to obtain the MPM name. Please specify MP_APXS=/full/path/to/apxs to
> solve this problem.
> make:*** [path] Error 255
>
> Using the following configure command
> configure --prefix=/usr/local/apache2 --disable-userdir --enable-expires
> --enable-headers --enable-ldap --enable-logio --enable-mime-magic
> --enable-so --enable-speling --endable-usertrack --enable-vhost-alias
> --with-port=80 --with-included-apr --with-included-apr-util
> --with-ssl=/usr/local/ssl/
>
> Where can I put the MPM name to get it to be picked up. I tried to add
> --mpm-name=prefork, to the configure command, but the same problem.
>
>
> Thanks
> Tracy
>
>
>
>
>

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.