Re: [PECL-DEV] Compiling PHP 5.4.24
Hi Tomasz, On Wed, January 22, 2014 16:26, Tomasz Krawczyk wrote: Hi! I'm trying to compile PHP 5.4.24 with VC9 (x86). After I executed nmake I saw such error: Zend\zend_compile.c(22) : fatal error C1083: Cannot open include file: 'zend_language_parser.h': No such file or directory NMAKE : fatal error U1077: 'C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\Bin\cl.exe' : return code '0x2' Stop. I checked it, the file zend_language_parser.h is really missing. Is it correct? PHP 5.3.28 has that file. where did you download the source? The one from windows.php.net should actually work. To generate it, the bison and re2c from php-sdk should work as well. For how to do it, please look at genfiles and Makefile.frag in the root of php-src. Regards Anatol -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PECL-DEV] Compiling PHP 5.4.24
Anatol Belski in php.pecl.dev (Wed, 22 Jan 2014 17:21:16 +0100): To generate it, the bison and re2c from php-sdk should work as well. For how to do it, please look at genfiles and Makefile.frag in the root of php-src. php-sdk = http://windows.php.net/downloads/php-sdk/ (for those who are no habitues over there). Jan -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PECL-DEV] Compiling PHP 5.4.24
W dniu 2014-01-22 17:53, Jan Ehrhardt pisze: Anatol Belski in php.pecl.dev (Wed, 22 Jan 2014 17:21:16 +0100): To generate it, the bison and re2c from php-sdk should work as well. For how to do it, please look at genfiles and Makefile.frag in the root of php-src. php-sdk = http://windows.php.net/downloads/php-sdk/ (for those who are no habitues over there). Jan I have downloaded sources and php-sdk from windows.php.net. I found another bison earlier in the %PATH% and removed it. Now compilation succeeded. Thanks for suggestions. Tomek -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PECL-DEV] Compiling PHP 5.4.24
W dniu 2014-01-22 20:22, Hannes Magnusson pisze: On Wed, Jan 22, 2014 at 11:10 AM, Tomasz Krawczyk tomkr...@gmail.com wrote: I have downloaded sources and php-sdk from windows.php.net. I found another bison earlier in the %PATH% and removed it. Now compilation succeeded. I'd say file a bug report to bailout when the configure system detects an unsupported bison version, just like the *nix version does. -Hannes It could be done. But it would be easier to make a change in phpsdk_servars.bat changing SET PATH=%PATH%;%PHP_SDK_BIN_PATH%;%PHP_SDK_SCRIPT_PATH%;D:\apps\svn\bin to SET PATH=%PHP_SDK_BIN_PATH%;%PHP_SDK_SCRIPT_PATH%;%PATH%;D:\apps\svn\bin PHP_SDK* paths at the beginning. Then PHP_SDK binaries would be found at the beginning. BTW. The phpsdk_buildtree.bat could also build vc11 directories. cheers Tomek -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PECL-DEV] Compiling PHP 5.4.24
Tomasz, On Wed, January 22, 2014 20:39, Tomasz Krawczyk wrote: W dniu 2014-01-22 20:22, Hannes Magnusson pisze: On Wed, Jan 22, 2014 at 11:10 AM, Tomasz Krawczyk tomkr...@gmail.com wrote: I have downloaded sources and php-sdk from windows.php.net. I found another bison earlier in the %PATH% and removed it. Now compilation succeeded. I'd say file a bug report to bailout when the configure system detects an unsupported bison version, just like the *nix version does. -Hannes It could be done. But it would be easier to make a change in phpsdk_servars.bat changing SET PATH=%PATH%;%PHP_SDK_BIN_PATH%;%PHP_SDK_SCRIPT_PATH%;D:\apps\svn\bin to SET PATH=%PHP_SDK_BIN_PATH%;%PHP_SDK_SCRIPT_PATH%;%PATH%;D:\apps\svn\bin PHP_SDK* paths at the beginning. Then PHP_SDK binaries would be found at the beginning. BTW. The phpsdk_buildtree.bat could also build vc11 directories. could you please make a PR with your improvement to this repo https://github.com/OSTC/php-sdk-binary-tools ? A version check would be nice as well. Building of the vc11 tree is already there btw. Thanks Anatol -- PECL development discussion Mailing List (http://pecl.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php