[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bash cannot compile on HPUX 11.11

From: Vinnie Lima
Subject: Re: Bash cannot compile on HPUX 11.11
Date: Tue, 11 Nov 2003 13:57:01 -0500

Hi chet,

Thanks for the reply. I attempted the following fix and the config-bot.h looks like the following

/* Make sure MB_LEN_MAX is at least 16 (some systems define
   MB_LEN_MAX as 1) */
#  include <limits.h>
#  if defined(MB_LEN_MAX) && (MB_LEN_MAX < 16)
#    undef MB_LEN_MAX
#  endif
#  if !defined (MB_LEN_MAX)
#    define MB_LEN_MAX 16
#  endif

/* end of multibyte capability checks for I18N  */


I also attempted moving the "#undef" statement to be the last line of the file, but I am still encountering the error reports.

Any suggestions?

Vinnie Lima

This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.

Chet Ramey <chet

11/11/2003 01:40 PM
Please respond to chet

        To:        Vinnie Lima/CEG/address@hidden
        cc:        address@hidden, address@hidden
        Subject:        Re: Bash cannot compile on HPUX 11.11

> Machine Type: hppa2.0w-hp-hpux11.11
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
> Description:
> Getting the following error during "make":
> gcc -mpa-risc-2-0  -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"hppa2.0w"'
> -DCONF_OSTYPE='"hpux11.11"' -DCONF_MACHTYPE='"hppa2.0w-hp-hpux11.11"'
> -DCONF_VENDOR='"hp"' -DSHELL -DHAVE_CONFIG_H -DHPUX  -I.  -I. -I./include
> -I./lib  -g -O2 -c y.tab.c
> parse.y: In function `set_line_mbstate':
> parse.y:4550: error: `mbrlen' undeclared (first use in this function)
> parse.y:4550: error: (Each undeclared identifier is reported only once
> parse.y:4550: error: for each function it appears in.)

HPUX doesn't have enough support for multibyte characters -- it has some,
but not all.  You can add `#undef HANDLE_MULTIBYTE' at the end of
config-bot.h to solve this problem.

The check for necessary multibyte character support will be more extensive
in the next release.


``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.cwru.edu/~chet/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]