Re: PHP 4.0 Bug #2471: configure --with-xml --with-apxs does not use apaches expat-lite
| From: | Sascha Schumann | Date: | Sat, 09 Oct 1999 11:55:57 +0000 |
| Subject: | Re: PHP 4.0 Bug #2471: configure --with-xml --with-apxs does not use apaches expat-lite | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-11638@lists.php.net to get a copy of this message | ||
On Sat, Oct 09, 1999 at 08:19:13AM -0000, thies@digicol.de wrote:
> From: thies@digicol.de
> Operating system: likely all
> PHP version: 4.0 Latest CVS (09/10/1999)
> PHP Bug Type: Compile Failure
> Bug description: configure --with-xml --with-apxs does not use apaches expat-lite
>
> hi,
> if you don't have libexpat installed somewhere ('cause you want to use
> expat-lite/apache) you have a problem.
Thies, that cannot be the latest CVS. I've committed the
necessary changes weeks ago.
> checking for main in -lxmltok... no
> configure: error: No expat library found for the xml module
--with-apache and --with-apxs set XML_INCLUDE. xml/config.m4
tests for this variable and does no include/library searches
at all.
> so - can we detect apaches expat-lite somehow?
Yes, we do already.
$ ../php4/configure --with-apache=../apache_1.3.9/ --with-wddx --with-xml
[...]
checking whether to include WDDX support... yes
checking for XML support... yes (static)
checking whether to include YP support... no
[...]
> 2nd problem is that our xml sources (xml.c wddx.c) try to include
> xml/xmltok.h but in expat-lite there's no subfolder called xml - so we just need to
> #include "xmltok.h".
$ grep xmltok.h xml/*
xml/php3_xml.h:#include <xmltok.h>
WDDX uses php3_xml.h
If it fails for you, please send me the configure command and
output. Be sure to use Apache 1.3.9.
--
Regards,
Sascha Schumann
Consultant