Bug #11761 Updated: LC_CTYPE undeclared
| From: | unix-guy at pacbell dot net | Date: | Mon, 20 Aug 2001 17:16:25 +0000 |
| Subject: | Bug #11761 Updated: LC_CTYPE undeclared | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63893@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: Feedback
Status: Open
Bug Type: Compile Failure
Operating System: HP-UX 11.00
PHP Version: 4.0.6
New Comment:
The file config.log contains the following block regarding locale.h:
configure:6312: checking for locale.h
configure:6322: gcc -E -DHPUX11 -DUSE_HSREGEX -DUSE_EXPAT -DSHARED_CORE conftest.c >/dev/null
2>conftest.out
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
configure: failed program was:
#line 6317 "configure"
#include "confdefs.h"
#include <locale.h>
Previous Comments:
------------------------------------------------------------------------
[2001-08-20 12:53:53] sniper@php.net
What is in config.log about locale.h ?
--Jani
------------------------------------------------------------------------
[2001-08-20 12:21:08] unix-guy@pacbell.net
I pulled the latest snapshot and ran the same configure command. I still see the following in
main/php_config.h:
/* #undef HAVE_LOCALE_H */
It appears the problem still exists...
------------------------------------------------------------------------
[2001-08-18 15:34:20] sniper@php.net
Does this happen with latest CVS snapshot:
http://snaps.php.net/
--Jani
------------------------------------------------------------------------
[2001-07-02 11:19:03] unix-guy@pacbell.net
I was able to work around the problem by adding:
#define HAVE_LOCALE_H 1
in main/php_config.h
However, I am still concerned at why that particular header file was not found.
------------------------------------------------------------------------
[2001-06-29 20:40:11] sniper@php.net
User feedback (next time, use the WEB interface to answer):
-----------------------------------------------------------
I do have /usr/include/locale.h. In the php_config.h file, the only line
matching 'HAVE_LOCALE_H' is:
/* #undef HAVE_LOCALE_H */
Is configure not finding my header file?
-----------------------------------------------------------
------------------------------------------------------------------------
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