Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11661
| Path | csiph.com!optima2.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!usenet.stanford.edu!not-for-mail |
|---|---|
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
| Newsgroups | gnu.bash.bug |
| Subject | Re: Bash-4.4-beta available for FTP |
| Date | Thu, 15 Oct 2015 11:23:35 -0400 |
| Lines | 48 |
| Approved | bug-bash@gnu.org |
| Message-ID | <mailman.384.1444922721.7904.bug-bash@gnu.org> (permalink) |
| References | <151015142322.AA02893.SM@caleb.ins.cwru.edu> |
| NNTP-Posting-Host | lists.gnu.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| X-Trace | usenet.stanford.edu 1444922722 22434 208.118.235.17 (15 Oct 2015 15:25:22 GMT) |
| X-Complaints-To | action@cs.stanford.edu |
| Cc | bug-bash@gnu.org |
| To | Chet Ramey <chet.ramey@case.edu> |
| Envelope-to | bug-bash@gnu.org |
| Content-Disposition | inline |
| In-Reply-To | <151015142322.AA02893.SM@caleb.ins.cwru.edu> |
| User-Agent | Mutt/1.4.2.3i |
| X-detected-operating-system | by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] |
| X-Received-From | 139.137.100.1 |
| X-BeenThere | bug-bash@gnu.org |
| X-Mailman-Version | 2.1.14 |
| Precedence | list |
| List-Id | Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org> |
| List-Unsubscribe | <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe> |
| List-Archive | <http://lists.gnu.org/archive/html/bug-bash> |
| List-Post | <mailto:bug-bash@gnu.org> |
| List-Help | <mailto:bug-bash-request@gnu.org?subject=help> |
| List-Subscribe | <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe> |
| Xref | csiph.com gnu.bash.bug:11661 |
Show key headers only | View raw
On Thu, Oct 15, 2015 at 10:23:21AM -0400, Chet Ramey wrote: > The first beta release of bash-4.4 is now available with the URL > > ftp://ftp.cwru.edu/pub/bash/bash-4.4-beta.tar.gz Building on HP-UX 10.20 with gcc 3.3: imadev:/var/tmp/bash/bash-4.4-beta$ CC=/net/appl/gcc-3.3/bin/gcc ./configure [...] imadev:/var/tmp/bash/bash-4.4-beta$ make [...] /net/appl/gcc-3.3/bin/gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -I../../lib/intl -I/var/tmp/bash/bash-4.4-beta/lib/intl -DHAVE_CONFIG_H -DSHELL -DHPUX -DDEBUG -g -O2 -Wno-parentheses -Wno-format-security casemod.c casemod.c: In function `sh_modcase': casemod.c:133: error: `mb_cur_max' undeclared (first use in this function) casemod.c:133: error: (Each undeclared identifier is reported only once casemod.c:133: error: for each function it appears in.) make[1]: *** [casemod.o] Error 1 make[1]: Leaving directory `/var/tmp/bash/bash-4.4-beta/lib/sh' make: *** [lib/sh/libsh.a] Error 1 Looks like the "int mlen, mb_cur_max;" which is inside #if defined (HANDLE_MULTIBYTE) needs to be moved outside. Or at least the mb_cur_max variable. Moving the whole line above the #if is simple, and works for me. Next: /net/appl/gcc-3.3/bin/gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/var/tmp/bash/bash-4.4-beta -I../.. -I../../lib -DHPUX -DDEBUG -g -O2 -Wno-parentheses -Wno-format-security display.c display.c: In function `rl_redisplay': display.c:1032: error: `mb_cur_max' undeclared (first use in this function) display.c:1032: error: (Each undeclared identifier is reported only once display.c:1032: error: for each function it appears in.) display.c: In function `rl_character_len': display.c:2263: warning: comparison is always true due to limited range of data type make[1]: *** [display.o] Error 1 make[1]: Leaving directory `/var/tmp/bash/bash-4.4-beta/lib/readline' make: *** [lib/readline/libreadline.a] Error 1 Similar. This time I removed the "int" from "int mb_cur_max = MB_CUR_MAX;" inside the #if block, and put "int mb_cur_max;" above it. These may not be the correct fixes (maybe the actual code that's using this variable should be #if protected instead of leaving the variable exposed in both cases), but they got it to compile for me.
Back to gnu.bash.bug | Previous | Next | Find similar
Re: Bash-4.4-beta available for FTP Greg Wooledge <wooledg@eeg.ccf.org> - 2015-10-15 11:23 -0400
csiph-web