not found: libxml/parser.h

php.internals

Gottfried Darmann

20 years ago
Build php 5.1.1 for win32 Several files include libxml/parser.h which is not there (in ext/libxml) This file is also not available in the latest version of libxml2 (gnome). Building of php was finally possible after disabling everything related to xml. What is going wrong here? Best Regards Gottfried

Jani Taskinen

20 years ago
This file is supposed to be wherever libxml headers are installed. It means your libxml2 installation is borked. --Jani On Fri, 6 Jan 2006, Gottfried Darmann wrote:
> Build php 5.1.1 for win32 > > Several files include libxml/parser.h > which is not there (in ext/libxml) > > This file is also not available in the latest version > of libxml2 (gnome). > > > Building of php was finally possible after > disabling everything related to xml. > > > What is going wrong here? > > > Best Regards > Gottfried
-- Give me your money at @ <http://pecl.php.net/wishlist.php/sniper> Donating money may make me happier and friendlier for a limited period! Death to all 4 letter abbreviations starting with P!

Jeff Moore

20 years ago
Which is also true of OS X 10.3.9: http://bugs.php.net/bug.php?id=34844 Compiling PHP > 5.1 on 10.3.9 requires installing libxml because of a missing parser.h in the version provided by the OS. On Jan 6, 2006, at 4:22 PM, Jani Taskinen wrote:

Steph

20 years ago
libxml2-2.6.23\include\libxml\parser.h exists in the latest version (2.6.23) from www.xmlsoft.org. Sorrybut. Jani's right. If the OS is missing a file, how's that a PHP issue? ----- Original Message ----- From: "Jeff Moore" <jeff@procata.com> To: "Jani Taskinen" <sniper@iki.fi> Cc: "Gottfried Darmann" <gdarmann@aon.at>; <internals@lists.php.net> Sent: Sunday, January 08, 2006 4:53 AM Subject: Re: [PHP-DEV] not found: libxml/parser.h

Jeff Moore

20 years ago
On Jan 7, 2006, at 11:54 PM, Steph Fox wrote:
> Jani's right. If the OS is missing a file, how's that a PHP issue?
Its not, except where people assume their os is fine and think its a problem with PHP. I was wrong in my previous message. Its xmlsave.h that is missing, not parser.h. I have no idea why xmlsave.h is missing, as its in the 2.6.16 version available from www.xmlsoft.org and its also in the version available with Darwin. Anyway, this bug: http://bugs.php.net/bug.php?id=34844 is marked "no feedback" and can be marked Closed or Bogus, if you would prefer. Best Regards, Jeff