ID: 8259 Updated by: sniper Reported By: [EMAIL PROTECTED] Old-Status: Duplicate Status: Closed Bug Type: Compile Failure PHP Version: 4.0 Latest CVS (14/12/2000) Assigned To: Comments: Previous Comments: --------------------------------------------------------------------------- [2000-12-14 10:57:42] [EMAIL PROTECTED] Actually, I am trying to build php4-latest from snaps.php.net as of php4-200012131745... In ext/standard/string.c, line 63, inside function register_string_constants(), the code that reads #if !PHP_WIN32 REGISTER_LONG_CONSTANT("LC_MESSAGES", LC_MESSAGES, CONST_CS | CONST_PERS ISTENT); # endif should probably be changed to #ifdef LC_MESSAGES REGISTER_LONG_CONSTANT("LC_MESSAGES", LC_MESSAGES, CONST_CS | CONST_PERS ISTENT); #endif like what line 2381 of PHP_FUNCTION(setlocale) in the same file does. For whatever reason, in MacOS X Public Beta, LC_MESSAGES is not defined in locale.h. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=8259&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]