Re: Compile Problem on Visual Studio 2010
| From: | Steven Scott | Date: | Fri, 22 Oct 2010 16:07:16 +0000 |
| Subject: | Re: Compile Problem on Visual Studio 2010 | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-30376@lists.php.net to get a copy of this message | ||
On Fri, Oct 22, 2010 at 11:17 AM, Pierre Joye <pierre.php@gmail.com> wrote:
> hi,
>
> Follow these instructions:
>
> http://wiki.php.net/internals/windows/stepbystepbuild
>
> Cheers,
>
> On Fri, Oct 22, 2010 at 2:58 PM, Steven Scott <chowarmaan@gmail.com> wrote:
>> Not sure if this is the right list for this question, but I have not
>> found a better one on the PHP site to reference.
>>
>> I am unable to build PHP 5.3.3 on Windows using Visual Studio 2010. I
>> have been able to build previous versions, but the new buildconf.bat
>> file works, but when I run the configure.bat file, I get an error that
>> the cl.exe is not found. This happens on 64bit and 32bit machines.
>> The CL.exe is in
>>
>> I have followed the build steps from:
>> http://wiki.php.net/internals/windows/stepbystepbuild
>>
>> I created a folder C:\PHP5
>> I unpacked the binary-tools into this directory and ran the phpsdk_setvars.bat
>> I then ran the phpsdk_buildtree.bat C:\PHP5\source
>> I then unpacked PHP 5.3.3 source into the C:\PHP5\source
>>
>> buildconf runs without error.
>> configure returns:
>> Saving configure options to config.nice.bat
>> Checking for cl.exe ... <not found>
>> ERROR: MS C++ compiler is required
>>
>> C:\>dir \cl.exe /s/b
>> C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\cl.exe
>> C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\amd64\cl.exe
>> C:\Program Files\Microsoft Visual Studio 10.0\VC\bin\x86_amd64\cl.exe
>>
>> Any help would be appreciated
>>
>> --
>> PHP Windows Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
>
>
> --
> Pierre
>
> @pierrejoye | http://blog.thepimp.net |
> http://www.libgd.org
>
Those are the instructions I am following. When I get to run the
configure command:
configure --enable-calendar --enable-cgi --with-gettext
I get an error:
Saving configure options to config.nice.bat
Checking for cl.exe ... <in default path>
C:\php5\source\configure.js(2508, 1) Microsoft JScript runtime error:
Object doesn't support this property or method