[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash-3.0.16 fails to compile on HP-UX 11.11
From: |
Mike Stroyan |
Subject: |
Re: bash-3.0.16 fails to compile on HP-UX 11.11 |
Date: |
Fri, 24 Feb 2006 16:51:52 -0700 |
> Fix:
> Here's the diff of lib/sh/strftime.c between 3.0.16 and 3.0. Was this change
> done for some version of HP-UX other than 11.11?
> *** bash-3.0.16/lib/sh/strftime.c Wed Mar 3 22:13:23 2004
> --- bash-3.0/lib/sh/strftime.c Sun Aug 8 22:21:26 2004
> ***************
> *** 97,99 ****
> extern int daylight;
> ! #if defined(SOLARIS) || defined(mips) || defined (M_UNIX)
> extern long int timezone, altzone;
> --- 97,99 ----
> extern int daylight;
> ! #if defined(SOLARIS) || defined(mips) || defined (M_UNIX) || defined (HPUX)
> extern long int timezone, altzone;
> ***************
That check for HPUX is not actually in the version from
http://ftp.gnu.org/gnu/bash/bash-3.0.tar.gz . The strftime.c file is
identical between
3.0 and 3.0.16. Your version of the 3.0 source has been changed somehow.
There is a special case for HPUX and timezone in the 3.1 version of that file.
Bash 3.1 builds fine for me on HP-UX 11.11.
--
Mike Stroyan
stroyan@gmail.com