Re: [INTERNALS-WIN] Problems compiling 5.3.0alpha3 with extensions

[email protected] ("Pierre Joye")
Newsgroups php.internals.win
Message-ID <[email protected]>
hi,

On Wed, Dec 24, 2008 at 11:03 PM, Niel <[email protected]> wrote:
> Hi all.
>
> I have been trying to compile 5.3.0 alpha 3 (from
> http://downloads.php.net/johannes/php-5.3.0alpha3.tar.bz2), for several
> days now.  It builds fine with a very basic configuration, but when I
> add extensions I run into problems.
>
> Setup is:
> MS Windows XP Pro 64 Bit + SP2
> MS VC9 Express + SP1
> MS Server 2008 SDK and .NET Framework 3.5
>
> Libraries from http://pecl2.php.net/downloads/php-windows-builds/php-libs/VC9/x86/
> extracted into directory win32build
>
> Tools from http://pecl2.php.net/downloads/php-windows-builds/php-libs/binary-tools.zip
> extracted into a directory and added to PATH (bison.simple copied to
> D:\usr\local\share)

Simply extract this archive to:

c:\php-sdk\bin\

bison.simple can be in the same order than bison.exe.

>
> Directories:
> D:\Dev\C\PHP
> +- !Builds\x86\
> +- bin (binary tools)
> +- php-5.3.0-alpha3
> +- win32build
>
> D:\usr\local\share


Please use the structure describe here, slide 13:

http://blog.thepimp.net/archives/Slides-for-IPC-online.html

That will help a lot to discuss using a common base.

> I have minimised the configuration to be as simple as possible and still
> produce the problem.  The error is:
>
> simplexml.c
> .\ext/libxml/php_libxml.h(38) : fatal error C1083: Cannot open include file: 'libxml/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'

Can you paste the tables (shown at the end of the configure script)?

Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org
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.