[oe] apache2-native and modphp trouble

Luca Bolognini l.bolognini at hotmail.it
Thu May 12 08:22:59 UTC 2011


Hallo,why, in recipe apache2-native_2.2.14.bb, passing from PR=r1 to PR=r2, do_stage has been deleted and replaced with do_install task?
This causes modphp configuration to fail:| 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 /home/bolognini/diskp2/diskp2.11/oe/arago-tmp/sysroots/i686-linux/usr/bin/apxs follows:| cannot open /home/bolognini/diskp2/diskp2.11/oe/arago-tmp/sysroots/i686-linux/usr/build/config_vars.mk: No such file or directory at /home/bolognini/diskp2/diskp2.11/oe/arago-tmp/sysroots/i686-linux/usr/bin/apxs line 218.| configure: error: AbortingNOTE: Task failed: /home/bolognini/diskp2/diskp2.11/oe/arago-tmp/work/armv7a-none-linux-gnueabi/modphp-5.1.6-r3/temp/log.do_configure.14249ERROR: TaskFailed event exception, abortingERROR: Build of /home/bolognini/diskp2/diskp2.11/oe/arago-oe-dev/recipes/modphp/modphp_5.1.6.bb do_configure failedERROR: Task 12 (/home/bolognini/diskp2/diskp2.11/oe/arago-oe-dev/recipes/modphp/modphp_5.1.6.bb, do_configure) failedNOTE: Tasks Summary: Attempted 405 tasks of which 405 didn't need to be rerun and 1 failed.ERROR: '/home/bolognini/diskp2/diskp2.11/oe/arago-oe-dev/recipes/modphp/modphp_5.1.6.bb' failed
as already pointed out by David Abdurachmanov ( http://comments.gmane.org/gmane.linux.distributions.angstrom.devel/4586 )
By the way, if I replace r2 recipe with r1, rebuild apache2 package and then succesfully build modphp, apache2 segfaults as libphp5.so is loaded with LoadModule directive inside httpd.conf.This was accurately described by Raffaele Recalcati ( https://gforge.ti.com/pipermail/arago-devel/2010-September/000312.html ) 
Have people committing r2 recipe of apache2-native ever tried to build modphp?Does anyone succeed in getting apache2-2.2.14 and modphp-5.1.6 work together in boards such as beagleboard or something else (it doesn't matter the board)?I think this is an old issue but it seems to me that no solution has been found yet.
Thank you,Luca
-------------------------Luca Bologninil.bolognini at hotmail.it


 		 	   		  


More information about the Openembedded-devel mailing list