php-windows Digest 13 Jan 2010 10:06:27 -0000 Issue 3746

Topics (messages 29805 through 29808):

nmake clean bug
        29805 by: Justin Dearing
        29806 by: Pierre Joye
        29808 by: Richard Quadling

Re: PHP Build problems on windows
        29807 by: Pierre Joye

Administrivia:

To subscribe to the digest, e-mail:
        php-windows-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-windows-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-wind...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
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?

--- End Message ---
--- Begin Message ---
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 <zippy1...@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

--- End Message ---
--- Begin Message ---
2010/1/12 Pierre Joye <pierre....@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 <zippy1...@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

--- End Message ---
--- Begin Message ---
hi,


On Tue, Jan 12, 2010 at 10:22 PM, Justin Dearing <zippy1...@gmail.com> wrote:
> Hello,
>
> I've been trying to build PHP on WIndows 7 with the windows platform SDK. In
> my first attempt I ran configure.js like this:
>
> C:\src\php-5.3.1>configure --enable-debug --enable-crt-debug
> --enable-cli-win32 --with-openssl --enable-soap --with-xsl
>
> I ran make and it ended like this:
>
> stream.c
> tar.c
> util.c
> c:\src\php-5.3.1\ext\phar\util.c(30) : fatal error C1083: Cannot open
> include file: 'openssl/evp.h': No such file or director
> y

> Any suggestions?

openssl is missing. You have to fetch our binaries and put them in the
deps directory (as described in the wiki, from my previous reply).
See:

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

for a list of deps and versions.

Cheers,
-- 
Pierre

http://blog.thepimp.net | http://www.libgd.org

--- End Message ---

Reply via email to