emerge mod_php-5.0.3-r2 fails with the following errors: checking for Apache 1.x module support via DSO through APXS... Sorry, I was not able to successfully run APXS. Possible reasons: 1. Perl is not installed; 2. Apache was not compiled with DSO support (--enable-module=so); 3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs The output of /usr/sbin/apxs follows ./configure: line 4709: /usr/sbin/apxs: No such file or directory configure: error: Aborting /var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/config.log I am currently ~x86 and unmasked for apache, php, mod_php. Per instructions, /var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/config.log will follow as attachment.
Created attachment 53399 [details] /var/tmp/portage/mod_php-5.0.3-r2/work/php-5.0.3/config.log Per instructions.
I forgot to add this from #gentoo-apache: vericgar | it may expect /usr/sbin/apxs while if you have apache-2.x it'll be /usr/sbin/apxs2 In fact I have /usr/sbin/apxs2. vericgar suggested the php guys may have to fix their ebuild.
Guys, there is an error in function src_compile() of the ebuild. in the original ebuild its written: my_conf="${my_conf} --with-apxs${USE_APACHE2}=/usr/sbin/apxs${USE_APACHE2}" but it should be my_conf="${my_conf} --with-apxs${APACHE_VERSION}=/usr/sbin/apxs${APACHE_VERSION}" cause in the beginning: if useq apache2 ; then APACHE_VERSION=2 else APACHE_VERSION=1 fi u can fix this. really stupid to break it.
Fixed in CVS. Problem was it relies on some fixes to depend.apache.eclass which I'd forgotten to commit. Best regards, Stu