[HPADM] Unable to compile bash 3.1 on HP-UX 11i Version 2 Itanium

From: John Lanier (jlanier@parsec.com)
Date: Fri Apr 14 2006 - 14:08:59 EDT


 
Hello,
 
I have submitted a bug report on this to gnu.org, but I figured it would be a good idea to see if any of you have run into this problem as well. Note that bash 3.1 compiles and runs fine on Tru64 UNIX v5.1B. Thanks in advance for any replies and/or suggestions that you can offer.
 
 
Below is from the bug report I submitted:
----------------------------------------
 
 
>>>>>>>>
 
 
Machine: ia64
OS: hpux11.23
Compiler: cc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='ia64' -DCONF_OSTYPE='hpux
11.23' -DCONF_MACHTYPE='ia64-hp-hpux11.23' -DCONF_VENDOR='hp' -DLOCALEDIR='/usr/
local/share/locale' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -DHPUX -I. -I.
-I./include -I./lib -I./lib/intl -I/var/bash3.1/bash-3.1/lib/intl -g
uname output: HP-UX merc72 B.11.23 U ia64 3000626221 unlimited-user license
Machine Type: ia64-hp-hpux11.23
Bash Version: 3.1
Patch Level: 0
Release Status: release
 
Description:
        [Detailed description of the problem, suggestion, or complaint.]
 
1. Configure runs without incident.
2. make fails to complete with the following errors:
..........
Error 176: "subst.c", line 1778 # Size of array must be an integral constant
expression of value greater than 0.
char sep[MB_CUR_MAX + 1];
         ^^^^^^^^^^^^^^
Error 176: "subst.c", line 1819 # Size of array must be an integral constant
expression of value greater than 0.
char sep[MB_CUR_MAX + 1];
         ^^^^^^^^^^^^^^
*** Error exit code 2
        Stop.
..........
 
Repeat-By:
        [Describe the sequence of events that causes the problem
        to occur.]
 
Just run make.
 
Fix:
        [Description of how to fix the problem. If you don't know a
        fix for the problem, don't include this section.]
 
        None found yet.
 
 
>>>>>>>>
 
 
Regards,
 
--John Lanier
 

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:52 EDT