Re: Re: PHP 5.5.1 released
| From: | Johannes Schlüter | Date: | Fri, 19 Jul 2013 12:20:21 +0000 |
| Subject: | Re: Re: PHP 5.5.1 released | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68199@lists.php.net to get a copy of this message | ||
On Fri, 2013-07-19 at 14:03 +0200, Jan Ehrhardt wrote:
> Johannes Schlüter in php.internals (Fri, 19 Jul 2013 13:31:25 +0200):
> >On Fri, 2013-07-19 at 12:44 +0200, Jan Ehrhardt wrote:
> >> C:\php-sdk\php55dev>nmake snap
> >[..]
> >> bison.exe --output=Zend/zend_ini_parser.c -v -d -p ini_ Zend/zend_ini_parser.y
> >> bison.exe --output=Zend/zend_language_parser.c -v -d -p zend
> >> Zend/zend_language_parser.y
> >> zend/zend_language_parser.y:50: unrecognized: %code
> >> zend/zend_language_parser.y:50: Skipping to next %
> >> NMAKE : fatal error U1077: 'c:\php-sdk\win32build\bin\bison.exe' : return
> >> code '0x1'
> >> Stop.
> >
> >Release tarballs should have pregenerated parses so this step shouldn't
> >be needed ..
>
> http://windows.php.net/downloads/releases/php-5.5.1-src.zip
> does not
> contain a zend_language_parser.c.
> The php-5.5.1.tar.xz does...
Then those zips are wrong imo. The version used has impact on the
behavior (even if only in error messages) so only the ones approved by
the RM should be used for releases. (developers and "power users" may do
what they want, but we should have a unified behavior for normal users)
> >that aside: which version of bison are you using?
>
> GNU Bison version 1.27 ;-(
The Unix build system checks for one of those versions
# we only support certain bison versions
bison_version_list="2.4 2.4.1 2.4.2 2.4.3 2.5 2.5.1 2.6 2.6.1 2.6.2
2.6.3 2.6.4 2.6.5 2.7"
in Zend/acinclude.m4 maybe we should do the same in the windows
buildsystem.
johannes