Summary: | dev-lang/php-5.5.21 - configure: checking for Apache 2.0 handler-module support via DSO through APXS... Sorry, I cannot run apxs. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Puggan <from_gentoo> |
Component: | [OLD] Development | Assignee: | PHP Bugs <php-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=502384 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
config.log
emerge --info www-servers/apache emerge --info dev-lang/php |
running "/usr/sbin/apxs -q CFLAGS" in bash gives "-O2 -march=native -pipe" Please post your `emerge --info www-servers/apache' output in a comment. Created attachment 395044 [details]
emerge --info www-servers/apache
Created attachment 395046 [details]
emerge --info dev-lang/php
after re-emerging www-servers/apache, the error disepered. had "www-servers/apache-2.2.27-r4:2" both before and after. and run "revdep-rebuild" yesterday before reporting the bug. I had the same problem, it was caused by directory permissions on /usr/sbin being restricted to root. Maybe change the path to /usr/bin/apxs would fix this, since /usr/sbin/apxs is a symlink. It looks like we can fix the depend.apache eclass at this point... I've since dropped the depend.apache eclass, and updated the path to /usr/bin/apxs. This shouldn't be a problem for PHP any longer. |
Created attachment 395038 [details] config.log running "emerge php" give the folowing configuration error: --- checking whether to enable Apache charset compatibility option... no checking for Apache 2.0 filter-module support via DSO through APXS... no checking for Apache 2.0 handler-module support via DSO through APXS... Sorry, I cannot run apxs. Possible reasons follow: 1. Perl is not installed 2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs 3. Apache was not built using --enable-so (the apxs usage page is displayed) The output of /usr/sbin/apxs follows: apxs:Error: /usr/sbin/apache2 not found or not executable. configure: error: Aborting ---