From: Justin Dearing on
Hi,

I wanted to report this on a seperate thread to avoid confusion. I am
attempting to build PHP on windows and failing. I am attempting to run
nmake clean and failing. Output from the first time:

C:\src\php-5.3.1>nmake clean

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.

Cleaning SAPI
Cleaning distribution build dirs
rd /s /q Debug\php-5.3.1
The system cannot find the file specified.
------END-------

And the second time:
C:\src\php-5.3.1>nmake clean

Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
Copyright (C) Microsoft Corporation. All rights reserved.

Cleaning SAPI
Could Not Find C:\src\php-5.3.1\Debug\php5_debug.dll
Cleaning distribution build dirs
Could Not Find C:\src\php-5.3.1\Debug\*.res
rd /s /q Debug\php-5.3.1
The system cannot find the file specified.

C:\src\php-5.3.1>gvim configure.output

C:\src\php-5.3.1>configure --disable-zts --enable-debug --enable-crt-debug
--enable-cli-win32 --with-openssl --enable-soap --
with-xsl --with-extra-includes=c:\src\win32build\include;c:\OpenSSL\include
--with-extra-libs=c:\src\win32build\lib;c:\OpenSS
L\lib
------END-------


Is this considered a bug in the makefile?
From: Pierre Joye on
hi,

Not sure why it fails, it works here except when I enabled all
extensions (path too long in non unicode mode).

However the way you are building PHP is outdated. Check

http://wiki.php.net/internals/windows/stepbystepbuild

or my "php internals" slides here:

http://www.slideshare.net/pierrej

There is also a good article in php architect May 2009 "PHP On
windows". It is a free version and should be available on the phpa
website.

Cheers,

On Tue, Jan 12, 2010 at 10:30 PM, Justin Dearing <zippy1981(a)gmail.com> wrote:
> Hi,
>
> I wanted to report this on a seperate thread to avoid confusion. I am
>  attempting to build PHP on windows and failing. I am attempting to run
> nmake clean and failing. Output from the first time:
>
> C:\src\php-5.3.1>nmake clean
>
> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> Cleaning SAPI
> Cleaning distribution build dirs
>        rd /s /q Debug\php-5.3.1
> The system cannot find the file specified.
> ------END-------
>
> And the second time:
> C:\src\php-5.3.1>nmake clean
>
> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
> Copyright (C) Microsoft Corporation.  All rights reserved.
>
> Cleaning SAPI
> Could Not Find C:\src\php-5.3.1\Debug\php5_debug.dll
> Cleaning distribution build dirs
> Could Not Find C:\src\php-5.3.1\Debug\*.res
>        rd /s /q Debug\php-5.3.1
> The system cannot find the file specified.
>
> C:\src\php-5.3.1>gvim configure.output
>
> C:\src\php-5.3.1>configure --disable-zts --enable-debug --enable-crt-debug
> --enable-cli-win32 --with-openssl --enable-soap --
> with-xsl --with-extra-includes=c:\src\win32build\include;c:\OpenSSL\include
> --with-extra-libs=c:\src\win32build\lib;c:\OpenSS
> L\lib
> ------END-------
>
>
> Is this considered a bug in the makefile?
>



--
Pierre

http://blog.thepimp.net | http://www.libgd.org
From: Richard Quadling on
2010/1/12 Pierre Joye <pierre.php(a)gmail.com>:
> hi,
>
> Not sure why it fails, it works here except when I enabled all
> extensions (path too long in non unicode mode).
>
> However the way you are building PHP is outdated. Check
>
> http://wiki.php.net/internals/windows/stepbystepbuild
>
> or my "php internals" slides here:
>
> http://www.slideshare.net/pierrej
>
> There is also a good article in php architect May 2009 "PHP On
> windows". It is a free version and should be available on the phpa
> website.
>
> Cheers,
>
> On Tue, Jan 12, 2010 at 10:30 PM, Justin Dearing <zippy1981(a)gmail.com> wrote:
>> Hi,
>>
>> I wanted to report this on a seperate thread to avoid confusion. I am
>>  attempting to build PHP on windows and failing. I am attempting to run
>> nmake clean and failing. Output from the first time:
>>
>> C:\src\php-5.3.1>nmake clean
>>
>> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
>> Copyright (C) Microsoft Corporation.  All rights reserved.
>>
>> Cleaning SAPI
>> Cleaning distribution build dirs
>>        rd /s /q Debug\php-5.3.1
>> The system cannot find the file specified.
>> ------END-------
>>
>> And the second time:
>> C:\src\php-5.3.1>nmake clean
>>
>> Microsoft (R) Program Maintenance Utility Version 9.00.30729.01
>> Copyright (C) Microsoft Corporation.  All rights reserved.
>>
>> Cleaning SAPI
>> Could Not Find C:\src\php-5.3.1\Debug\php5_debug.dll
>> Cleaning distribution build dirs
>> Could Not Find C:\src\php-5.3.1\Debug\*.res
>>        rd /s /q Debug\php-5.3.1
>> The system cannot find the file specified.
>>
>> C:\src\php-5.3.1>gvim configure.output
>>
>> C:\src\php-5.3.1>configure --disable-zts --enable-debug --enable-crt-debug
>> --enable-cli-win32 --with-openssl --enable-soap --
>> with-xsl --with-extra-includes=c:\src\win32build\include;c:\OpenSSL\include
>> --with-extra-libs=c:\src\win32build\lib;c:\OpenSS
>> L\lib
>> ------END-------
>>
>>
>> Is this considered a bug in the makefile?
>>
>
>
>
> --
> Pierre
>
> http://blog.thepimp.net | http://www.libgd.org
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

The current (at Jan 13th 2010) free issue is the May 2009 issue.

http://www.phparch.com/magazine/free

There's also a 10% discount offer currently running.

--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling