php-windows Digest 25 Oct 2010 13:16:39 -0000 Issue 3874
Topics (messages 30383 through 30386):
Re: Compile Problem on Visual Studio 2010
30383 by: Pierre Joye
30384 by: Steven Scott
30385 by: Steven Scott
30386 by: Steven Scott
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 ---
On Fri, Oct 22, 2010 at 7:52 PM, Steven Scott <chowarm...@gmail.com> wrote:
> I am running Visual Studio 2010, but the changes show:
VC10 works just fine here (many boxes). What do you use? Visual studio
console or the SDK (7.x includes VC10)? Both work well, but you may
have messed up your setup (or SDK install broke the paths, early
versions did that).
Cheers,
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
--- End Message ---
--- Begin Message ---
On Fri, Oct 22, 2010 at 3:15 PM, Pierre Joye <pierre....@gmail.com> wrote:
> On Fri, Oct 22, 2010 at 7:52 PM, Steven Scott <chowarm...@gmail.com> wrote:
>
>> I am running Visual Studio 2010, but the changes show:
>
> VC10 works just fine here (many boxes). What do you use? Visual studio
> console or the SDK (7.x includes VC10)? Both work well, but you may
> have messed up your setup (or SDK install broke the paths, early
> versions did that).
>
>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>
It appears that my environment after a Visual Studio 2010 environment
may be the problem. When running the Windows SDK 6.1 shell, I get:
The x86 compilers are not currently installed.
Please go to Add/Remove Programs to update your installation.
.
Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v6.1
.
Targeting Windows Server 2003 x86 DEBUG
However, the software is installed and in the path. Running CL though
on its own gives me an error about the mspdb100.dll not being found.
I am going to try to repair my Visual Studio 2010 installation now.
--- End Message ---
--- Begin Message ---
On Fri, Oct 22, 2010 at 3:49 PM, Steven Scott <chowarm...@gmail.com> wrote:
> On Fri, Oct 22, 2010 at 3:15 PM, Pierre Joye <pierre....@gmail.com> wrote:
>> On Fri, Oct 22, 2010 at 7:52 PM, Steven Scott <chowarm...@gmail.com> wrote:
>>
>>> I am running Visual Studio 2010, but the changes show:
>>
>> VC10 works just fine here (many boxes). What do you use? Visual studio
>> console or the SDK (7.x includes VC10)? Both work well, but you may
>> have messed up your setup (or SDK install broke the paths, early
>> versions did that).
>>
>>
>> Cheers,
>> --
>> Pierre
>>
>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>>
>
> It appears that my environment after a Visual Studio 2010 environment
> may be the problem. When running the Windows SDK 6.1 shell, I get:
> The x86 compilers are not currently installed.
> Please go to Add/Remove Programs to update your installation.
> .
> Setting SDK environment relative to C:\Program Files\Microsoft
> SDKs\Windows\v6.1
> .
> Targeting Windows Server 2003 x86 DEBUG
>
> However, the software is installed and in the path. Running CL though
> on its own gives me an error about the mspdb100.dll not being found.
> I am going to try to repair my Visual Studio 2010 installation now.
>
With the extra debug statements:
cscript /nologo configure.js "--enable-calendar" "--enable-cgi"
"--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 ... \cl.exe
Looking ... C:\Program Files\Microsoft Visual Studio 9.0vcpackages\cl.exe
Looking ... C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\cl.exe
Looking ... C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\cl.exe
Looking ... C:\WINDOWS\Microsoft.NET\Framework\v3.5\cl.exe
Looking ... C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\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(2510, 1) Microsoft JScript runtime error:
'PHP_CL' is undefined
--- End Message ---
--- Begin Message ---
On Fri, Oct 22, 2010 at 4:26 PM, Steven Scott <chowarm...@gmail.com> wrote:
> On Fri, Oct 22, 2010 at 3:49 PM, Steven Scott <chowarm...@gmail.com> wrote:
>> On Fri, Oct 22, 2010 at 3:15 PM, Pierre Joye <pierre....@gmail.com> wrote:
>>> On Fri, Oct 22, 2010 at 7:52 PM, Steven Scott <chowarm...@gmail.com> wrote:
>>>
>>>> I am running Visual Studio 2010, but the changes show:
>>>
>>> VC10 works just fine here (many boxes). What do you use? Visual studio
>>> console or the SDK (7.x includes VC10)? Both work well, but you may
>>> have messed up your setup (or SDK install broke the paths, early
>>> versions did that).
>>>
>>>
>>> Cheers,
>>> --
>>> Pierre
>>>
>>> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
>>>
>>
>> It appears that my environment after a Visual Studio 2010 environment
>> may be the problem. When running the Windows SDK 6.1 shell, I get:
>> The x86 compilers are not currently installed.
>> Please go to Add/Remove Programs to update your installation.
>> .
>> Setting SDK environment relative to C:\Program Files\Microsoft
>> SDKs\Windows\v6.1
>> .
>> Targeting Windows Server 2003 x86 DEBUG
>>
>> However, the software is installed and in the path. Running CL though
>> on its own gives me an error about the mspdb100.dll not being found.
>> I am going to try to repair my Visual Studio 2010 installation now.
>>
>
> With the extra debug statements:
> cscript /nologo configure.js "--enable-calendar" "--enable-cgi"
> "--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 ... \cl.exe
> Looking ... C:\Program Files\Microsoft Visual Studio 9.0vcpackages\cl.exe
> Looking ... C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\cl.exe
> Looking ... C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\cl.exe
> Looking ... C:\WINDOWS\Microsoft.NET\Framework\v3.5\cl.exe
> Looking ... C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\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(2510, 1) Microsoft JScript runtime error:
> 'PHP_CL' is undefined
>
Running the start script you have, I get the following:
The x86 compilers are not currently installed.
Please go to Add/Remove Programs to update your installation.
.
Setting SDK environment relative to C:\Program Files\Microsoft SDKs\Windows\v6.1
.
Targeting Windows XP x86 RELEASE
I am a little concerned with the first line indicating that the
compilers are not currently installed when they are. My path also
gets corrupted so the original path is lost which means that the
cscript.exe is not located anymore.
My path is corrupted by the
CALL "C:\Program Files\Microsoft SDKs\Windows\v6.1\Bin\SetEnv.Cmd"
Why is the PATH variable referenced with !PATH! instead of %PATH%?
--- End Message ---