PHP 4.0 Bug #2482: Fails to compile with xml
| From: | jak at kassebaum dot net | Date: | Sun, 10 Oct 1999 19:58:17 +0000 |
| Subject: | PHP 4.0 Bug #2482: Fails to compile with xml | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11672@lists.php.net to get a copy of this message | ||
From: jak@kassebaum.net
Operating system: RedHat 6.0 Linux
PHP version: 4.0 Beta 2
PHP Bug Type: Compile Failure
Bug description: Fails to compile with xml
Failed comiling XML.
Error:
----
In file included from xml.c:35:
php3_xml.h:37: xmltok.h: No such file or directory
php3_xml.h:38: xmlparse.h: No such file or directory
make: *** [xml.o] Error 1
----
To fix this, I noticed that xmltok.h and xmlparse.h
are in /usr/include/apache/xml, not /usr/include/apache.
I then changed (in php3_xml.h)
#include <xmltok.h>
#include <xmlparse.h>
to
#include <xml/xmltok.h>
#include <xml/xmlparse.h>
Compile then continued normally.