Hi
Has anyone built PHP6 using Visual C++ Express Edition V8? The symptoms
I get are pretty well described in http://bugs.php.net/bug.php?id=39130
and I'm just wondering if this was fixed for PHP5 and not PHP6?
Zoe Slattery
IBM UK
Hi Zoe,
Zoe Slattery wrote:
Has anyone built PHP6 using Visual C++ Express Edition V8? The
symptoms I get are pretty well described in
http://bugs.php.net/bug.php?id=39130 and I'm just wondering if this
was fixed for PHP5 and not PHP6?
Other than a slew of warnings, it built fine for me the other day with
VS 2005. What version of the SDK are you using as I wonder if that might
play a part in it?
Rob
Hi Rob
Other than a slew of warnings, it built fine for me the other day with
VS 2005. What version of the SDK are you using as I wonder if that
might play a part in it?
Was your VS 2005 the Express Edition (ie the free one)? I downloaded the
platform SDK yesterday at the same time as I got the compiler so I hoped
:-) that they'd work together. The Platform SDK is 2003 SP1
Zoe Slattery
IBM
Hi Zoe,
Hi Rob
Other than a slew of warnings, it built fine for me the other day with
VS 2005. What version of the SDK are you using as I wonder if that
might play a part in it?
Was your VS 2005 the Express Edition (ie the free one)? I downloaded the
platform SDK yesterday at the same time as I got the compiler so I hoped
:-) that they'd work together. The Platform SDK is 2003 SP1
Take a look at Elisabeth's tutorial about using VC Express to compile
php (and php-gtk), there is a couple if important info in there:
I hope it will help :)
--Pierre
Has anyone built PHP6 using Visual C++ Express Edition V8? The symptoms
I get are pretty well described in http://bugs.php.net/bug.php?id=39130
and I'm just wondering if this was fixed for PHP5 and not PHP6?
Ah, this is a very familiar issue, you need to set USE_32BIT_TIME_T in
either project or some top include. You may also want to set
_CRT_SECURE_NO_DEPRECATE otherwise it will output a ton of warnings.
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/
Stanislav Malyshev wrote:
Has anyone built PHP6 using Visual C++ Express Edition V8? The
symptoms I get are pretty well described in
http://bugs.php.net/bug.php?id=39130 and I'm just wondering if this
was fixed for PHP5 and not PHP6?Ah, this is a very familiar issue, you need to set USE_32BIT_TIME_T
in either project or some top include. You may also want to set
_CRT_SECURE_NO_DEPRECATE otherwise it will output a ton of warnings.
Unless compiling 64 bit that should already be set in config.w32.h and
the D_USE_32BIT_TIME_T flag is added during configure (assuming compiler
was also detected correctly).
Zoe,
check the generated Makefile to see if the above flag is being set or not.
As far as the SDK goes I think I had used that one sucessfully before
(using Vista one now), but definitely had problems with the default one
included with VS. And to answer your question, I'm using the full version.
Rob
Rob, Pierre, Stanislav - thank you!!!
I have PHP6 building with a free development environment. Elizabeth's
tutorial + the manual covers most of it. I still have a few spurious
compiler warnings which I think I can deal with but I have a working
php.exe.
It's been such a pain getting here that I'm going to rip it all out and
do it again :-) I'll write up the steps and make them available
somewhere then I 'll probably need to recuperate by working exclusively
on Linux for an extended period.
Zoe Slattery
IBM
I would be REALLY grateful if you could do the whole process with no
assumed knowledge about the compiler or special tools.
Ideally, including the dependent elements too (SDK, .NET, etc).
Regards and thanks up front!
Richard.
Rob, Pierre, Stanislav - thank you!!!
I have PHP6 building with a free development environment. Elizabeth's
tutorial + the manual covers most of it. I still have a few spurious
compiler warnings which I think I can deal with but I have a working
php.exe.It's been such a pain getting here that I'm going to rip it all out and
do it again :-) I'll write up the steps and make them available
somewhere then I 'll probably need to recuperate by working exclusively
on Linux for an extended period.Zoe Slattery
IBM--
--
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"
Hi Richard - finally done this, see here:
http://www-03.ibm.com/developerworks/blogs/page/phpblog
Please comment on the blog if you have suggestions for improvement .
Thanks
Zoe
Richard Quadling wrote:
I would be REALLY grateful if you could do the whole process with no
assumed knowledge about the compiler or special tools.Ideally, including the dependent elements too (SDK, .NET, etc).
Regards and thanks up front!
Richard.
Rob, Pierre, Stanislav - thank you!!!
I have PHP6 building with a free development environment. Elizabeth's
tutorial + the manual covers most of it. I still have a few spurious
compiler warnings which I think I can deal with but I have a working
php.exe.It's been such a pain getting here that I'm going to rip it all out and
do it again :-) I'll write up the steps and make them available
somewhere then I 'll probably need to recuperate by working exclusively
on Linux for an extended period.Zoe Slattery
IBM