Re: [Fwd: [Cooker] apache expat perl]

2002-03-05 Thread Nouguier Olivier

le mar 05-03-2002 à 05:45, Jean-Michel Dault a écrit :
> On 4 Mar 2002, Nouguier Olivier wrote:
> 
> I made new apache and mod_perl packages without expat.
> 
> The only reason it was there was for mod_dav, but it can be linked with
> the standard expat library that's included in Mandrake Linux already.
> 
> Jean-Michel
> 
Yap, many thanks for removing expat of mod_perl, mod_perl'ers won't met
segfault any more when using XML::Parser ( Axkit ). Personnaly that was
the only reason why I always had to remove your apache rpm, and build my
own. I'm very happy to hack your http conf files, nice jobs ! Thanks
again.







Re: [Fwd: [Cooker] apache expat perl]

2002-03-04 Thread Jean-Michel Dault

On 4 Mar 2002, Nouguier Olivier wrote:

I made new apache and mod_perl packages without expat.

The only reason it was there was for mod_dav, but it can be linked with
the standard expat library that's included in Mandrake Linux already.

Jean-Michel

> le lun 04-03-2002 à 12:30, Jean-Michel Dault a écrit :
> > On Sat, 2 Mar 2002, Christian Belisle wrote:
> > 
> > Est-ce que vous pourriez m'en dire plus? Un patch serait apprecie =)
> > 
> > Jean-Michel
> > 
> Bonjour,
>   Ben le truc est assez simple, il y une incompatibilité ( même symbole
> ou un truc comme ça  
> http://lists.xml.org/archives/xml-dev/28/msg00229.html 
> http://axkit.org/faq.xml
>  ) entre le expat d'apache, et celui d'autre ( entre autre XML::Parser )
> de perl. Le résultat est qu'il ne faut pas compiler un serveur apache
> avec mod_perl sans disabler expat dans apache, sinon segfault dés que
> l'on parse un fichier xml avec XML::Parser.
> 
> Le "probleme" est que si l'on veut que les 2 serveurs httpd et
> httpd-perl aient la même configuration ( histoire qu'ils puissent
> utiliser les mêmes modules, sans risque ..., cf macro apflags dans
> apache-mod_perl.spec ), il faut rebuilder les rpm apache apache-devel,
> les installer et faire de meme avec apache-mod_perl le tout sans expat (
> disable-rule=expat ). 
> 
> Le patch revient à ajouter --disable-rule=expat dans apache.spec et à
> remplacer --enable-rule=expat par disable dans apache-mod_perl.spec et
> rebuilder le tout.
> 
> J'espere avoir été clair, mais je ne sais pas à quoi sert expat dans
> apache, personnellement je n'ai jamais eu de probleme a ne pas
> l'utiliser.
> 
> A++
> 
> 



Jean-Michel Dault <[EMAIL PROTECTED]>
Research & Development, Advanced Extranet Server 
Montreal (Canada)/Altadena (USA)/Paris (France)