Bug #55779 [Csd]: VS2008 Professional won't compile PHP but VC++ 2008 Express will
| From: | pajoye@php.net | Date: | Sun, 25 Sep 2011 17:56:16 +0000 |
| Subject: | Bug #55779 [Csd]: VS2008 Professional won't compile PHP but VC++ 2008 Express will | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-163870@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=55779&edit=1
ID: 55779
Updated by: pajoye@php.net
Reported by: hessemanj2100 at gmail dot com
Summary: VS2008 Professional won't compile PHP but VC++ 2008
Express will
Status: Closed
Type: Bug
Package: Compile Failure
Operating System: Windows 7 64-bit
PHP Version: 5.3.8
-Assigned To:
+Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
g:\php-sdk\php54\vc9\x86\php54>configure --help | find "analy"
--enable-static-analyze Enable the VC compiler static analyze
g:\php-sdk\php53\vc9\x86\php53>configure --help | find "analy"
--enable-static-analyze Enable the VC compiler static analyze
Previous Comments:
------------------------------------------------------------------------
[2011-09-25 17:51:59] hessemanj2100 at gmail dot com
Problem solved by putting the --disable-zts flag first in the configure command.
------------------------------------------------------------------------
[2011-09-25 17:47:54] hessemanj2100 at gmail dot com
VS2008 is picky. The compile finally worked after putting --disable-zts as the
first flag. I can confirm that VS2008 was the problem and not PHP. Make sure this
is documented. Thanks! :-)
Use: configure --disable-zts --enable-snapshot-build
instead of
configure --enable-snapshot-build --disable-zts
------------------------------------------------------------------------
[2011-09-25 17:31:27] hessemanj2100 at gmail dot com
How do I find the problem you reported? I searched all over Google and PHP.net for
an answer and failed miserably. By the way, this command worked: configure --
enable-one-shot --disable-zts
------------------------------------------------------------------------
[2011-09-25 17:18:35] pajoye@php.net
Please try using the additional option I gave you in my previous comment.
------------------------------------------------------------------------
[2011-09-25 17:15:16] hessemanj2100 at gmail dot com
--disable-static-analyzer doesn't exist
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=55779
--
Edit this bug report at https://bugs.php.net/bug.php?id=55779&edit=1