Bug #74899 [Fbk]: PHP failed to build
| From: | cmb@php.net | Date: | Wed, 12 Jul 2017 09:13:06 +0000 |
| Subject: | Bug #74899 [Fbk]: PHP failed to build | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-210007@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74899&edit=1
ID: 74899
Updated by: cmb@php.net
Reported by: seaheart_2006 at 126 dot com
Summary: PHP failed to build
Status: Feedback
Type: Bug
Package: Compile Failure
Operating System: Windows Server 2016
PHP Version: master-Git-2017-07-11 (Git)
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
> Checking for re2c.exe ... <in default path>
> Detected re2c version 0.9.4
> WARNING: The minimum RE2C version requirement is 0.13.4
It appears that this is the problem.
Previous Comments:
------------------------------------------------------------------------
[2017-07-12 06:14:49] seaheart_2006 at 126 dot com
The output of configure:
[executing command] buildconf
Rebuilding configure.js
Now run 'configure --help'
[command took 0 seconds]
[executing command] configure --enable-cli --with-mp=8
PHP Version: 7.2.0-dev
Saving configure options to config.nice.bat
Checking for cl.exe ... <in default path>
WARNING: Using unknown MSVC version 19.11.25511
Detected compiler MSVC 19.11.25511, untested
Detected 32-bit compiler
Checking for link.exe ... C:\Program Files (x86)\Microsoft Visual
Studio\2017\Enterprise\VC\Tools\MSVC\14.10.25017\bin\HostX86\x86
Checking for nmake.exe ... <in default path>
Checking for lib.exe ... <in default path>
Checking for bison.exe ... <in default path>
Checking for sed.exe ... <in default path>
Checking for re2c.exe ... <in default path>
Detected re2c version 0.9.4
WARNING: The minimum RE2C version requirement is 0.13.4
Parsers will not be generated. Upgrade your copy at http://sf.net/projects/re2c
Checking for zip.exe ... <in default path>
Checking for lemon.exe ... <not found>
Checking for mc.exe ... C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x86
Checking for mt.exe ... C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x86
Enabling multi process build
Build dir: D:\PHP7\phpdev\vc14\x86\src\Release_TS
PHP Core: php7ts.dll and php7ts.lib
Checking for wspiapi.h ... <in default path>
Enabling IPv6 support
Enabling SAPI sapi\cgi
Enabling SAPI sapi\cli
Checking for library edit_a.lib;edit.lib ... ..\deps\lib\edit_a.lib
Checking for editline/readline.h ... D:\PHP7\phpdev\vc14\x86\deps\include
Enabling extension ext\bcmath
Enabling extension ext\calendar
Checking for library oleaut32.lib ... <in LIB path> OleAut32.Lib
Enabling extension ext\com_dotnet
Checking for mscoree.h ... <in default path>
Enabling extension ext\ctype
Enabling extension ext\date
Enabling extension ext\filter
Checking for library libjpeg_a.lib;libjpeg.lib ... ..\deps\lib\libjpeg_a.lib
Checking for library freetype_a.lib;freetype.lib ... ..\deps\lib\freetype_a.lib
Checking for ft2build.h ... D:\PHP7\phpdev\vc14\x86\deps\include\freetype2
Checking for library libpng_a.lib;libpng.lib ... ..\deps\lib\libpng_a.lib
Checking for gd.h ... ext\gd\libgd
Checking for png.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libpng16
Checking for library libiconv_a.lib;libiconv.lib ... ..\deps\lib\libiconv_a.lib
Checking for iconv.h ... D:\PHP7\phpdev\vc14\x86\deps\include
Checking for library libXpm_a.lib ... ..\deps\lib\libxpm_a.lib
Checking for xpm.h ... D:\PHP7\phpdev\vc14\x86\deps\include\X11
Checking for library libwebp_a.lib ... ..\deps\lib\libwebp_a.lib
Checking for decode.h ... D:\PHP7\phpdev\vc14\x86\deps\include\webp
Checking for encode.h ... D:\PHP7\phpdev\vc14\x86\deps\include\webp
Checking for library User32.lib ... <in LIB path> User32.Lib
Checking for library Gdi32.lib ... <in LIB path> Gdi32.Lib
Enabling extension ext\gd [shared]
Checking for KeccakHash.h ... ext/hash/sha3/generic32lc
Enabling extension ext\hash
Checking for library libiconv_a.lib ... ..\deps\lib\libiconv_a.lib
Checking for iconv.h ... D:\PHP7\phpdev\vc14\x86\deps\include
Enabling extension ext\iconv
Enabling extension ext\json
Checking for library ws2_32.lib ... <in LIB path> WS2_32.Lib
Enabling extension ext\mysqlnd
Checking for zlib.h ... D:\PHP7\phpdev\vc14\x86\deps\include
Enabling extension ext\opcache [shared]
Enabling extension ext\pcre
Checking for library edit_a.lib;edit.lib ... ..\deps\lib\edit_a.lib
Checking for editline/readline.h ... D:\PHP7\phpdev\vc14\x86\deps\include
Enabling extension ext\readline
Enabling extension ext\reflection
Enabling extension ext\session
Enabling extension ext\spl
Checking for timelib_config.h ... ext/date/lib
Enabling extension ext\standard
Enabling extension ext\tokenizer
Checking for zip.h ... D:\PHP7\phpdev\vc14\x86\deps\include
Checking for zipconf.h ... D:\PHP7\phpdev\vc14\x86\deps\lib\libzip\include
Checking for library libzip_a.lib ... ..\deps\lib\libzip_a.lib
Enabling extension ext\zip
Checking for library zlib_a.lib;zlib.lib ... ..\deps\lib\zlib_a.lib
Checking for zlib.h ... D:\PHP7\phpdev\vc14\x86\deps\include
Enabling extension ext\zlib
Checking for library libxml2_a_dll.lib;libxml2_a.lib ... ..\deps\lib\libxml2_a_dll.lib
Checking for library libiconv_a.lib;iconv_a.lib;libiconv.lib;iconv.lib ...
..\deps\lib\libiconv_a.lib
Checking for libxml/parser.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libxml2
Checking for libxml/tree.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libxml2
Enabling extension ext\libxml
Checking for libxml/parser.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libxml2
Enabling extension ext\dom
Enabling extension ext\phar
Native OpenSSL support in Phar disabled
Checking for libxml/tree.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libxml2
Enabling extension ext\simplexml
Checking for libxml/parser.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libxml2
Checking for libxml/tree.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libxml2
Enabling extension ext\xml
Checking for libxml/parser.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libxml2
Enabling extension ext\wddx
Checking for timelib_config.h ... ext/date/lib
Checking for libxml/parser.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libxml2
Checking for libxml/tree.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libxml2
Enabling extension ext\xmlreader
Checking for libxml/xmlwriter.h ... D:\PHP7\phpdev\vc14\x86\deps\include\libxml2
Enabling extension ext\xmlwriter
Creating build dirs...
Generating files...
Regenerating D:\PHP7\phpdev\vc14\x86\src\Release_TS\tmp-php.ini ...
Generating Makefile
Generating main/internal_functions.c
Generating main/config.w32.h
Generating phpize
Done.
Enabled extensions:
-----------------------
| Extension | Mode |
-----------------------
| bcmath | static |
| calendar | static |
| com_dotnet | static |
| ctype | static |
| date | static |
| dom | static |
| filter | static |
| gd | shared |
| hash | static |
| iconv | static |
| json | static |
| libxml | static |
| mysqlnd | static |
| opcache | shared |
| pcre | static |
| phar | static |
| readline | static |
| reflection | static |
| session | static |
| simplexml | static |
| spl | static |
| standard | static |
| tokenizer | static |
| wddx | static |
| xml | static |
| xmlreader | static |
| xmlwriter | static |
| zip | static |
| zlib | static |
-----------------------
Enabled SAPI:
-------------
| Sapi Name |
-------------
| cgi |
| cli |
-------------
------------------------------------------------
| | |
------------------------------------------------
| Build type | Release |
| Thread Safety | Yes |
| Compiler | MSVC 19.11.25511, untested |
| Architecture | x86 |
| Optimization | PGO disabled |
| Static analyzer | disabled |
------------------------------------------------
Type 'nmake' to build PHP
[command took 2 seconds]
------------------------------------------------------------------------
[2017-07-12 06:13:36] seaheart_2006 at 126 dot com
The content of configure file is too long. How can I attach the file?
------------------------------------------------------------------------
[2017-07-11 12:58:34] cmb@php.net
Please post the output of
configure.
------------------------------------------------------------------------
[2017-07-11 09:30:39] seaheart_2006 at 126 dot com
Description:
------------
Environment: Windiows Server 2016 + VS2017(15.2)
I tried to build PHP with master branch latest revision on Windows.It failed to build.
Expected result:
----------------
Build successfully.
Actual result:
--------------
Build failed:
cd D:\PHP7\phpdev\vc14\x86\src
"" --no-generation-date -b -o ext/standard/var_unserializer.c
ext/standard/var_unserializer.re
'--no-generation-date' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: '"' : return code '0x1'
Stop.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=74899&edit=1