# snaps not compiling

- Thread: https://externals.io/message/8079
- Original archive: https://news-web.php.net/php.internals/8079
- Started by Nuno Lopes on 2004-02-23T09:54:43+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #8080 — Christian Stocker — 2004-02-23T09:53:06+00:00

URL: https://externals.io/message/8079#8080 · In reply to: #8079

Hi

this was fixed one hour ago
(or change to libxml2 2.6 instead of 2.5)

chregu


> snaps.php.net is not compiling PHP 5 for windows.
> 
> 
> > […]
> compat.c
> ext\xml\compat.c(272) : error C2078: too many initializers
> ext\xml\compat.c(317) : error C2039: 'sax2' : is not a member of
> '_xmlParserCtxt'
>         ..\php_build\include\libxml/parser.h(161) : see declaration of
> '_xmlParserCtxt'
> ext\xml\compat.c(403) : error C2039: 'lastError' : is not a member of
> '_xmlParserCtxt'
>         ..\php_build\include\libxml/parser.h(161) : see declaration of
> '_xmlParserCtxt'
> ext\xml\compat.c(403) : error C2065: 'XML_ERR_WARNING' : undeclared
> identifier
> xml.c
> NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
> Stop.
> NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual
> Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
> Stop.
> 
> 
> 
> Nuno
> 

-- 
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60  | fax +41 1 240 56 71
http://www.bitflux.ch  |  chregu@bitflux.ch  |  gnupg-keyid 0x5CE1DECB

---

## #8079 — Nuno Lopes — 2004-02-23T09:54:43+00:00

URL: https://externals.io/message/8079#8079

snaps.php.net is not compiling PHP 5 for windows.


From http://snaps.php.net/win32/snapshot.log:
compat.c
ext\xml\compat.c(272) : error C2078: too many initializers
ext\xml\compat.c(317) : error C2039: 'sax2' : is not a member of
'_xmlParserCtxt'
        ..\php_build\include\libxml/parser.h(161) : see declaration of
'_xmlParserCtxt'
ext\xml\compat.c(403) : error C2039: 'lastError' : is not a member of
'_xmlParserCtxt'
        ..\php_build\include\libxml/parser.h(161) : see declaration of
'_xmlParserCtxt'
ext\xml\compat.c(403) : error C2065: 'XML_ERR_WARNING' : undeclared
identifier
xml.c
NMAKE : fatal error U1077: '"cl.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual
Studio\VC98\bin\NMAKE.EXE"' : return code '0x2'
Stop.



Nuno
