More Extension problems with 5.3.0

[email protected] (Niel)
Newsgroups php.internals.win
Message-ID <[email protected]>
Hi.

Many thanks to Pierre for his previous help ;-)

Hopefully he, or someone else, can solve these problems too.

Setup is as before:
MS Windows XP Pro 64 Bit + SP2
MS VC9 Express + SP1
MS Server 2008 SDK and .NET Framework 3.5
using the current default directory structure.

First, can someone point me to the libraries to use for building
mbstring, com_dotnet, pspell, and snmp. They are not available with the
other libraries at http://pecl2.php.net/downloads/php-windows-builds/php-libs/
unless I'm missing something.


Second set of problems is similar to the one I had with simplexml
(libxml files not found).  This time it is effecting DOM, XML, and
XMLreader.  XMLreader can't include libxml/tree.h as before; while DOM
and XML cannot include libxml/parser.h

DOM:
D:\Dev\C\PHP\php_5_3\vc9\x86\src>cscript /nologo configure.js --disable-all --en
able-cli --with-dom=shared --without-ereg --with-iconv --disable-ipv6 --with-libxml
--enable-object-out-dir="..\..\!Builds\x86"
Saving configure options to config.nice.bat

Enabled extensions:
-----------------------
| Extension  | Mode   |
-----------------------
| date       | static |
| dom        | shared |
| iconv      | static |
| libxml     | static |
| pcre       | static |
| reflection | static |
| spl        | static |
| standard   | static |
-----------------------


Enabled SAPI:
-------------
| Sapi Name |
-------------
| cli       |
-------------


-------------------------------------------
|               |                         |
-------------------------------------------
| Build type    | Release                 |
| Thread Safety | Yes                     |
| Compiler      | MSVC9 (Visual C++ 2008) |
| Architecture  | x86                     |
-------------------------------------------


Type 'nmake' to build PHP
D:\Dev\C\PHP\php_5_3\vc9\x86\src>nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

attr.c
d:\dev\c\php\php_5_3\vc9\x86\src\ext\dom\php_dom.h(33) : fatal error C1083: Cann
ot open include file: 'libxml/parser.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft\Visual Studio\9.0\
VC\BIN\cl.exe"' : return code '0x2'
Stop.


XML:
D:\Dev\C\PHP\php_5_3\vc9\x86\src>cscript /nologo configure.js --disable-all --en
able-cli --without-ereg --with-iconv --disable-ipv6 --with-libxml --enable-objec
t-out-dir="..\..\!Builds\x86" --with-simplexml --with-xml=shared
Saving configure options to config.nice.bat



Enabled extensions:
-----------------------
| Extension  | Mode   |
-----------------------
| date       | static |
| iconv      | static |
| libxml     | static |
| pcre       | static |
| reflection | static |
| simplexml  | static |
| spl        | static |
| standard   | static |
| xml        | shared |
-----------------------

... SAPI and Compiler the same

Type 'nmake' to build PHP
D:\Dev\C\PHP\php_5_3\vc9\x86\src>nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

compat.c
d:\dev\c\php\php_5_3\vc9\x86\src\ext\xml\expat_compat.h(36) : fatal error C1083:
 Cannot open include file: 'libxml/parser.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft\Visual Studio\9.0\
VC\BIN\cl.exe"' : return code '0x2'
Stop.


XMLreader:
D:\Dev\C\PHP\php_5_3\vc9\x86\src>cscript /nologo configure.js --disable-all --en
able-cli --without-ereg --with-iconv --disable-ipv6 --with-libxml --enable-objec
t-out-dir="..\..\!Builds\x86" --with-simplexml --enable-xmlreader
Saving configure options to config.nice.bat


Enabled extensions:
-----------------------
| Extension  | Mode   |
-----------------------
| date       | static |
| iconv      | static |
| libxml     | static |
| pcre       | static |
| reflection | static |
| simplexml  | static |
| spl        | static |
| standard   | static |
| xmlreader  | static |
-----------------------

... SAPI and Compiler details the same

Type 'nmake' to build PHP
D:\Dev\C\PHP\php_5_3\vc9\x86\src>nmake
Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation.  All rights reserved.

php_cli.c
C:\Program Files\Microsoft\SDKs\Windows\v6.1\include\Ws2tcpip.h(502) : warning C
4142: benign redefinition of type
php_cli_readline.c
internal_functions.c
C:\Program Files\Microsoft\SDKs\Windows\v6.1\include\Ws2tcpip.h(502) : warning C
4142: benign redefinition of type
php_xmlreader.c
.\ext/libxml/php_libxml.h(38) : fatal error C1083: Cannot open include file: 'li
bxml/tree.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft\Visual Studio\9.0\
VC\BIN\cl.exe"' : return code '0x2'
Stop.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.