Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180006 - net-www/apache-2.2.4-r3 does not install apxs{,2}
Summary: net-www/apache-2.2.4-r3 does not install apxs{,2}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
: 180051 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-05-27 13:55 UTC by Gerte Hoogewerf
Modified: 2007-05-27 21:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gerte Hoogewerf 2007-05-27 13:55:53 UTC
I'm having problems installing PHP on my system. PHP 5.2.2-r2 requires the /usr/bin/apxs2 application but the latest apache 2.2 ebuild refuses to provide this binary. 

Reproducible: Always

Steps to Reproduce:
emerge php with USE="apache2" on ~x86 and ~amd64.
Actual Results:  
Emerge fails with:
/usr/portage/eclass/apache-module.eclass: line 227: //usr/sbin/apxs2: No such file or directory
 * The module you are trying to install (php)
 * will only work with one of the following MPMs:
 *     itk peruser prefork
 * You do not currently have any of these MPMs installed.
 * Please re-install apache with the correct mpm-* USE flag set.
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-05-27 16:22:33 UTC
(In reply to comment #0)
> I'm having problems installing PHP on my system. PHP 5.2.2-r2 requires the
> /usr/bin/apxs2 application but the latest apache 2.2 ebuild refuses to provide
> this binary. 
> 
> Reproducible: Always
> 
> Steps to Reproduce:
> emerge php with USE="apache2" on ~x86 and ~amd64.
> Actual Results:  
> Emerge fails with:
> /usr/portage/eclass/apache-module.eclass: line 227: //usr/sbin/apxs2: No such
> file or directory
>  * The module you are trying to install (php)
>  * will only work with one of the following MPMs:
>  *     itk peruser prefork
>  * You do not currently have any of these MPMs installed.
>  * Please re-install apache with the correct mpm-* USE flag set.

Nah, I screwed up. We currently patch the Makefile.in in support/ to move some tools to app-admin/apache-tools. But apparently when doing this patch, I forgot to add apxs to a certain Makefile parameter (PROGRAMS if you're curious).

I just committed an rev-bumped ebuild, to ensure everyone gets apxs{,2}. Wait the usual ~45 minutes till the changes sync to the rsync-mirrors, sync up, and update to apache-2.2.4-r4. After that dev-lang/php shouldn't complain anymore. Again, I'm really sorry for overlooking this.
Comment 2 Gerte Hoogewerf 2007-05-27 16:26:45 UTC
You are a friendly _human_ being. Thnx
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-05-27 21:04:31 UTC
*** Bug 180051 has been marked as a duplicate of this bug. ***