By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,165 Members | 1,901 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,165 IT Pros & Developers. It's quick & easy.

simple PHP 5.1 (Windows XP) build issue with Libxml - fatal error C1083

P: n/a
I am trying to obtain more debugging information for an issue I
reported (ref. Bug #37185
<http://bugs.php.net/bug.php?id=37185&edit=2>). Unfortunately, I do not
have access to the now-ancient Microsoft Visual C++ 6.0, which is why I
cannot use the pre-built debug sysbol files for debugging. So it
appears I must build PHP. I grabbed build php5.1-200605011630 earlier
today, but am having build problems.

My environment is
Windows XP SP2, IIS 5
Visual Studio 2005
I am trying to follow the instructions in
<http://www.php.net/manual/de/install.windows.building.php#install.windows.build ing.install>

There is a cryptic comment part of the way down:
Before starting, be sure you have read Abschnitt namens Putting it all
together and you have built all needed libraries, like Libxml or ICU
(needed for PHP >= 6).
I have read the preceding instructions, and I am not building PHP >= 6.
I did not see any earlier reference to Libxml or ICU though. I am not
sure where to grab the right version of Libxml from, or what steps I
should follow to make it visible to Makefile after that. Undeterred, I
continued, and of course failed.

Specifically, when I try and run nmake, part way through, I have a
fatal error:
h:\work\php5.1-200605011630\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: '"E:\Program Files\Microsoft Visual Studio
8\VC\BIN\cl.exe"' : return code '0x2'
Stop.

My thanks in advance to anyone who can help me find the right files and
place them in the right path for Makefile.

May 2 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.