Bug #11761 Updated: LC_CTYPE undeclared

From: Date: Wed, 22 Aug 2001 18:08:14 +0000
Subject: Bug #11761 Updated: LC_CTYPE undeclared
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64076@lists.php.net to get a copy of this message
ID: 11761 User updated by: unix-guy@pacbell.net Reported By: unix-guy@pacbell.net Old Status: Bogus Status: Open Bug Type: Compile Failure Operating System: HP-UX 11.00 PHP Version: 4.0.6 New Comment: If I find a solution, do you NOT want it noted in the PHP Bug database? I would think at least a bug ID # from the other database for future reference? Previous Comments: ------------------------------------------------------------------------ [2001-08-22 13:24:59] sniper@php.net Great. Anyway, this is _not_ a bug in PHP so please submit further reports to the correct places. (Either to autoconf or GCC bug systems :) ------------------------------------------------------------------------ [2001-08-22 13:21:13] unix-guy@pacbell.net I'll try a newer version of GCC and see what happens... ------------------------------------------------------------------------ [2001-08-22 12:55:42] sniper@php.net I forgot to add this: I found couple of mentions about this same problem. You could try with different version of GCC. --Jani ------------------------------------------------------------------------ [2001-08-22 12:53:58] sniper@php.net Reason for the HAVE_LOCALE_H to get set to 0 is this: "In file included from /usr/include/locale.h:157, from configure:6318: /opt/gcc/lib/gcc-lib/hppa2.0n-hp-hpux11.00/2.95.3/include/stdio.h:30: warning: `__va__list' redefined /usr/include/locale.h:26: warning: this is the location of the previous definition" Now, we could discuss whether it's a bug in autoconf or in gcc (on HP-UX)..but I'd rather not. :) Anyway, not a bug in PHP. --Jani ------------------------------------------------------------------------ [2001-08-22 11:21:45] unix-guy@pacbell.net I haven't tried this on another system, but it was freshly installed and patched at the time I first encountered this problem. All associated software (gcc, flex, bison, etc) was installed just prior to building PHP. What's even more confusing is that the config.log shows that it FOUND /usr/include/locale.h: In file included from /usr/include/locale.h:157 So how is it that configure thinks locale.h can't be found? I don't really have time to pursue the issue on another system at this time. Since I was able to successfully build PHP by simply adding the #define to php_config.h, I wasn't overly concerned. I'm sure it's possible that the problem is compiler related - maybe nobody else has used gcc 2.95.3 on HP-UX 11 to build PHP4, but I doubt it. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=11761 Edit this bug report at http://bugs.php.net/?id=11761&edit=1

« previous php.dev (#64076) next »