Re: Compile Problem on Visual Studio 2010

From: Date: Fri, 22 Oct 2010 16:21:26 +0000
Subject: Re: Compile Problem on Visual Studio 2010
References: 1 2 3 4  Groups: php.windows 
Request: Send a blank email to php-windows+get-30378@lists.php.net to get a copy of this message
On Fri, Oct 22, 2010 at 12:16 PM, Richard Quadling <rquadling@gmail.com> wrote: > On 22 October 2010 17:07, Steven Scott <chowarmaan@gmail.com> wrote: >> 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 >>> >> 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 > > Hello Steven, > > Can you show the configure.js file around those lines. The actual > content is created dynamically in response to your system. > > You line 2508 won't be the same as my line 2508. > > Richard. > > -- > Richard Quadling > Twitter : EE : Zend > @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY > Line 2500 /* For the record here: */ // 1200 is VC6 // 1300 is vs.net 2002 // 1310 is vs.net 2003 // 1400 is vs.net 2005 // 1500 is vs.net 2008 // 1600 is vs.net 2010 // Which version of the compiler do we have? VCVERS = probe_binary(CL).substr(0, 5).replace('.', ''); STDOUT.WriteLine("  Detected compiler " + VC_VERSIONS[VCVERS]); AC_DEFINE('COMPILER', VC_VERSIONS[VCVERS], "Detected compiler version"); DEFINE("PHP_COMPILER_SHORT", VC_VERSIONS_SHORT[VCVERS]); AC_DEFINE('PHP_COMPILER_ID', VC_VERSIONS_SHORT[VCVERS], "Compiler compatibility ID"); // do we use x64 or 80x86 version of compiler? X64 = probe_binary(CL, 64); if (X64) { STDOUT.WriteLine("  Detected 64-bit compiler"); } else { STDOUT.WriteLine("  Detected 32-bit compiler"); }

« previous php.windows (#30378) next »