Re: Build with More Debug

Richard Quadling <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
On 27 October 2010 16:31, Steven Scott <[email protected]> wrote:
> On Mon, Oct 25, 2010 at 12:19 PM, Steven Scott <[email protected]> wrote:
>> On Mon, Oct 25, 2010 at 9:58 AM, Pierre Joye <[email protected]> wrote:
>>> hi,
>>>
>>>
>>>
>>> I installed dozen of times the same tools&SDK without issues. I cannot
>>> say what happened on your box but your setup is a mess, sadly.
>>> Uninstall the SDK & VS and install them again. It will be much faster
>>> than trying to fix the mess.
>>>
>>> Cheers,
>>>
>>> On Mon, Oct 25, 2010 at 3:31 PM, Steven Scott <[email protected]> wrote:
>>>> After fixing the PATH error from the Windows SDK, I can once again run
>>>> the cscript, and this is the output.  Still have the same Object
>>>> error.
>>>> C:\php5\source>config.nice
>>>>
>>>> C:\php5\source>cscript /nologo configure.js  "--enable-calendar"
>>>> "--enable-cli" "--with-gettext"
>>>> Saving configure options to config.nice.bat
>>>> Checking for cl.exe ... Looking ... \cygwin\bin\cl.exe
>>>> Looking ... \cygwin\usr\local\bin\cl.exe
>>>> Looking ... no\bin\cl.exe
>>>> Looking ... C:\WINDOWS\system32\cl.exe
>>>> Looking ... C:\WINDOWS\cl.exe
>>>> Looking ... C:\WINDOWS\System32\Wbem\cl.exe
>>>> Looking ... c:\Program Files\Microsoft SQL Server\100\Tools\Binn\\cl.exe
>>>> Looking ... c:\Program Files\Microsoft SQL Server\100\DTS\Binn\\cl.exe
>>>> Looking ... C:\WINDOWS\system32\WindowsPowerShell\v1.0\cl.exe
>>>> Looking ... C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.exe
>>>>  <in default path>
>>>> C:\php5\source\configure.js(2511, 1) Microsoft JScript runtime error:
>>>> Object doesn't support this property or method
>>>>
>>>
>>>
>>>
>>> --
>>> Pierre
>>>
>>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>>>
>> No problem.  It is a base VM image so I will create a new image with
>> the SDK, VS Studio, and then the PHP files.
>>
>
> Thanks for your help.  I am now able to compile with a clean
> environment.  My goal is to make a DLL though, but I am getting
> compile errors with the 5.3.3 release of the source code, and the
> current developer snapshot.
>
> I run:
> buildconf
> C:\php-sdk\php53dev\vc9\x86\php-5.3-dev>configure --enable-cli
> --with-gettext --enable-calendar --disable-all
>
> Error:
> info.c
> ext\standard\info.c(315) : error C2065: 'PRODUCT_ENTERPRISE' :
> undeclared identifier
> ext\standard\info.c(315) : error C2051: case expression not constant
> ext\standard\info.c(318) : error C2065: 'PRODUCT_BUSINESS' :
> undeclared identifier
> ext\standard\info.c(318) : error C2051: case expression not constant
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft
> SDKs\Windows\v1.0\VC\Bin\cl.exe"' : return code '0x2'
> Stop.
>

Those constants are defined in C:\Program Files\Microsoft
SDKs\Windows\V6.1\Include\WinNT.h

Lines 1181 and 1183

In C:\Program Files\Microsoft SDKs\Windows\V6.0A\Include\WinNT.h, they
are on lines 1111 and 1113


So, I'd suggest that the setup is still not quite right somehow.

Richard.
-- 
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
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.