[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bash 2.05b configure fails to set HANDLE_MULTIBYTE correctly
From: |
Phil Edwards |
Subject: |
bash 2.05b configure fails to set HANDLE_MULTIBYTE correctly |
Date: |
Wed, 14 Apr 2004 12:48:34 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040401 Debian/1.6-4 |
[This is the third attempt to report this bug; previous attempts were rejected
by the gnu.org MTA with bizarre errors. So I'm cc'ing the maintainer address
as well.]
Configuration Information [Automatically generated, do not change]:
Machine: ia64
OS: hpux11.23
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='ia64'
-DCONF_OSTYPE='hpux11.23' -DCONF_MACHTYPE='ia64-hp-hpux11.23' -DCONF_VENDOR='hp'
-DSHELL -DHAVE_CONFIG_H -DHPUX -I. -I../bash -I../bash/include -I../bash/lib
-g -O2
uname output: HP-UX saruman B.11.23 U ia64 0427783794 unlimited-user license
Machine Type: ia64-hp-hpux11.23
Bash Version: 2.05b
Patch Level: 0
Release Status: release
Description:
HP-UX 11, being the freak that it is, passes the configure tests for
wchar.h and whatnot, but manages to not have a declaration of any of the
multibyte functions. HANDLE_MULTIBYTE still gets set to 1, leading to
errors like:
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"ia64"' -DCONF_OSTYPE='"hpux11.23"'
-DCONF_MACHTYPE='"ia64-hp-hpux11.23"' -DCONF_VENDOR='"hp"' -DSHELL
-DHAVE_CONFIG_H -DHPUX -I. -I../bash -I../bash/include -I../bash/lib
-g -O2 -c y.tab.c
../bash/parse.y: In function `set_line_mbstate':
../bash/parse.y:4551: error: `mbrlen' undeclared (first use in this function)
../bash/parse.y:4551: error: (Each undeclared identifier is reported only once
../bash/parse.y:4551: error: for each function it appears in.)
make: *** [y.tab.o] Error 1
Trying to manually override HANDLE_MULTIBYTE in the headers is
needlessly complicated by having the exact same set of logic reproduced
in multiple files (config-bot.h and shmbutil.h at least, maybe more I
haven't found yet).
Please make the wchar- and multibyte-related tests a little more fine-grained.
Or at the very least, share the resulting configuration information so that
we only need to override it in one place.
Repeat-By:
Find an hpux11 box. Build bash. No special configuration.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bash 2.05b configure fails to set HANDLE_MULTIBYTE correctly,
Phil Edwards <=