php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #42542 Unable to find libxml/parser.h
Submitted: 2007-09-04 10:08 UTC Modified: 2007-09-04 10:40 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: mundra at gmail dot com Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 5.2.4 OS: Windows
Private report: No CVE-ID: None
 [2007-09-04 10:08 UTC] mundra at gmail dot com
Description:
------------
php-5.2.4\ext\dom\php_dom.h(33) : fatal error C1083: Cannot open include file:  'libxml/parser.h': No such file or directory

NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'

Reproduce code:
---------------
Step done:

Ran the following set of commands in Visual Studio command line

buildconf
cscript /nologo configure.js
nmake



Expected result:
----------------
Compilation must go through

Actual result:
--------------
It stops

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-09-04 10:28 UTC] jani@php.net
Have you installed the libxml dlls/headers? You can't compile PHP without those..or you need to disable compiling libxml.
 [2007-09-04 10:33 UTC] mundra at gmail dot com
How does one disable libxml. Theres no such provision in 
cscript /nologo configure.js --help
 [2007-09-04 10:40 UTC] jani@php.net
If there is '--enable-foo' you do '--disable-foo'.
If there is' --with-foo' you do '--without-foo'.

Quite logical. README.WIN32-BUILD-SYSTEM contains this information too, try read that next time before reporting a bogus bug.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 29 10:00:02 2025 UTC