Alexander Bokovoy wrote:

> > Anyone have a clue on how to approach this? How is the potential
> > conflict
> > resolved between apache and php, since apache has expat-lite internal
> > too?
>
> XML support in PHP uses the same expat-lib.

The way I read phps' configure.in, it first tries to find libexpat, then
the
apache implementation. It looks for include/xml/xmlparse.h in "$withval
usr usr/local"
so I figured that rewriting expat-lib to put its includes there would do
the trick.
I have this all implemented and testing it it looks OK; midgard-lib and
php now
use the same library so no symbol clash occurs.

> It looks like actually these symbols
> resolve to Apache's internal expat-lite because these functions are exported via
> httpd.exp (apache/src/support/httpd.exp). It seems that we can use the same
> techniques.

Except that midgard-lib has no relation to apache. It isn't a problem
now, but it
would be once we start using midgard-lib for other accessors.

Emile

--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org

To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]

Reply via email to