Hi,I've investigated a bit more on the topic apache2/modphp not working 
(segmentation fault) on Arago.During the resume I'm going to write, I will need 
to underline some aspects concerning the toolchain and the corresponding glibc 
packages.Then, from the beginning:apache2_2.2.14 + modphp_5.1.6 (libphp5 module 
loaded by LoadModule directive inside httpd.conf) are unusable in my Arago 
DISTRO 2010.12 cross-compiled with CodeSourcery2009q1 (apache2 segfaults).If I 
commented out the LoadModule directive from httpd.conf file and I restart 
httpd, apache2 works but obviously cannot access php pages.Since my filesystem 
was built starting from Arago, an external toolchain was used 
(CodeSourcery2009q1 and its corresponding "glibc packages" with version 2.8).If 
I had used CodeSourcery2010q1, I would have got "glibc packages" with version 
2.11.1.Since some people of OE mailing list (Raffaele and Marco) told me some 
days ago that they were able to make apache2 fully work in a "pure" OE 
environment (not Arago overlay), I downloaded from git repositories the OE 
release 2010.12 and I tried to understand how to use an external toolchain to 
achieve apache2 and modphp ipk packages.I made so because my intention was to 
produce these two packages and test them inside the Arago filesystem previously 
described.When the ipks were ready (cross compiled against glibc-2.8) I tested 
them on the beagleboard with Arago2010.12 (CS2009q1 and glibc-2.8).Apache2 
works without loading php5 module (only html pages), segfaults when libphp5 is 
loaded.Then exactly the same behaviour as in Arago.
Probably Marco and Raffaele were using an OE filesystem built with "internal" 
toolchain (then glibc-2.9 instead than 2.8)?Can you confirm this?About this, 
now I'm trying to build an OE minimal-image for beagleboard where apache2 and 
modphp are inserted as additional packages (I edited minimal-image.bb).This 
time I'm using the "internal" toolchain (then glibc-2.9.bb will be used this 
time).However I already know that these packages, even if working in the 
minimal-image filesystem, will be unusable inside my Arago with glibc-2.8 
(glibc mismatch).I'll let you know if I have some interesting news.In the 
meantime I hope to receive some opinions of yours.
Bye,Luca



----Messaggio originale----
Da: [email protected]
Data: 15/02/2011 14.40
A: <[email protected]>
Cc: <[email protected]>
Ogg: Re: [oe] apache2+php5 on Arago

Luca Bolognini ha scritto, Il 15/02/2011 09:51:
> Yesterday I had an exchange of emails with Raffaele Recalcati, it was 
> in italian then I'll try to resume briefly so that everyone can read.
> I 
> was asking Raffaele (by the way, thank you for your prompt reply) if he 
> had some news about the Apache2+php5 segmentation faults that occurred 
> in Arago distros.
> I'm currently developing for beagleboard and TI816x-
> evm.
> Raffaele pointed out that he had investigated for some time the 
> crash in Arago 
> ( https://gforge.ti.com/gf/project/arago/mailman/?
> _forum_action=ForumMessageBrowse&amp;thread_id=3792&amp;action=ListThreads&amp;mailman_id=39
>  
> )
> but at length he had chosen to compile the two packages with a "pure" 
> OE environment, without Arago overlay.
> With this choice, he said that 
> Apache2 is able to open php pages without problems.
> It seems rather 
> strange, as recipes are more or less the same (Raffaele added some 
> customizations but they honestly seem not relevant) and tar.gz source 
> files are identical.
> What can Arago have introduced to produces such 
> troubles? It's difficult to say.
> It's quite annoying to use Arago for 
> all packages of my custom filesystem and then switch to OE only for 
> apache2 and modphp; all my scripting stuff is concerned with Arago, 
> it's would be great to have everything confined inside Arago layer.
> 
> Denys told he would have postponed some further investigations on the 
> topic, maybe now he has some good news?
> Now however I'm going to make 
> the same tests of Raffaele, that is have the two packages compiled with 
> "pure" OE; in the meantime, if someone has any ideas...
> Thank you,
> bye
> 
> 

Luca,
unfortunately for you, I can only confirm that Apache2+php5 work with a
charm on our customers' ARM9 devices using KaeilOS/Openembedded (not Arago).


Cordiali Saluti / Kindest Regards / mit freundlichen Grüssen
--
Marco Cavallini | KOAN sas | Bergamo - Italia
 embedded and real-time software engineering
   Atmel third party certified consultant
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
      http://www.KoanSoftware.com
        http://www.KaeilOS.com



_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel





Supera i limiti: raddoppia la velocità da 10 a 20 Mega! 
Risparmia con Tutto Incluso: telefono + adsl 20 mega a soli 29,95 € al mese per 
due anni!
SCONTO DI 240 EURO!
http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso/?WT.mc_id=01fw

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to