ID: 47787
Updated by: [email protected]
Reported By: dpage at pgadmin dot org
-Status: Open
+Status: Feedback
Bug Type: Compile Failure
Operating System: Windows XP
PHP Version: 5.2.9
New Comment:
on your mac?
The HAVE_STRNLEN issue is already fixed in CVS.
Previous Comments:
------------------------------------------------------------------------
[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] [email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.