ID: 47787 User updated by: dpage at pgadmin dot org Reported By: dpage at pgadmin dot org -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: Windows XP PHP Version: 5.2.9 New Comment:
I built the tarball from CVS on the mac (using a tweaked version of the makedist script) and then transferred it to the Windows build server. Glad to see it's fixed anyway - thanks. Previous Comments: ------------------------------------------------------------------------ [2009-03-26 14:34:17] paj...@php.net on your mac? The HAVE_STRNLEN issue is already fixed in CVS. ------------------------------------------------------------------------ [2009-03-26 13:34:49] dpage at pgadmin dot org HEAD of the 5.2 branch fails at the beginning with: bison.exe --output=Zend/zend_ini_parser.c -v -d -p ini_ Zend/zend_ini_parser.y NMAKE : fatal error U1077: 'bison.exe' : return code '0xc0000135' I get that from a straight CVS checkout and from a tarball from a modified version of makedist (modified to use the head of the 5.2 branch) on on my mac. Unfortunately my windows box is a part of a bigger buildfarm, on which I can't do much in the way of debugging and testing other than to feed it new tarballs and see if they build or not. ------------------------------------------------------------------------ [2009-03-26 11:48:18] paj...@php.net Please try a 5.2's cvs version. Also, 5.2 only supports VC6. Use 5.3 if you want to use a decent compiler :) ------------------------------------------------------------------------ [2009-03-26 11:32:43] dpage at pgadmin dot org Description: ------------ Building 5.2.9 with VC++ 2005 results in the error: main\spprintf.c(184) : error C2491: 'strnlen' : definition of dllimport function not allowed This appears to be due to the change here: http://cvs.php.net/viewvc.cgi/php-src/main/spprintf.c?r1=1.25.2.2.2.14&r2=1.25.2.2.2.15 The issue is resolved by adding: #define HAVE_STRNLEN 1 to win32/build/config.w32.h.in ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=47787&edit=1