Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 4.2.0-pre-3



Peter Stephenson wrote:



I've uploaded 4.2.0-pre-3 to ftp.zsh.org.

Used autoconf 2.59 to try to improve matters on HPUX.

Unfortunately my HPSUX 11.11 seems to have a broken /bin/sh and this
part of configure gets the wrong PATH_SEPARATOR.

# The user is always right.
if test "${PATH_SEPARATOR+set}" != set; then
  echo "#! /bin/sh" >conf$$.sh
  echo  "exit 0"   >>conf$$.sh
  chmod +x conf$$.sh
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    PATH_SEPARATOR=';'
  else
    PATH_SEPARATOR=:
  fi
:  rm -f conf$$.sh
fi

Once that is broken, it can't find awk... and other bad things
happen. Manually setting PATH_SEPARATOR=: then gives me a slew of:

checking sys/time.h usability... no
checking sys/time.h presence... yes
configure: WARNING: sys/time.h: present but cannot be compiled
configure: WARNING: sys/time.h:     check for missing prerequisite headers?
configure: WARNING: sys/time.h: see the Autoconf documentation
configure: WARNING: sys/time.h:     section "Present But Cannot Be Compiled"
configure: WARNING: sys/time.h: proceeding with the preprocessor's result
configure: WARNING: sys/time.h: in the future, the compiler will take precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for sys/time.h... yes

For a number of header files.

First compilation then fails with:

        gcc -c -I.  -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2  -o builtin.o builtin.c
In file included from system.h:110,
                 from zsh.mdh:13,
                 from builtin.c:33:
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.11/3.1/include/stdio.h:607: parse error before "_hpux_size_t" /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.11/3.1/include/stdio.h:608: parse error before "_hpux_size_t"
In file included from /usr/include/strings.h:14,
                 from system.h:203,
                 from zsh.mdh:13,
                 from builtin.c:33:
/usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.11/3.1/include/string.h:263: parse error before "_hpux_size_t" /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.11/3.1/include/string.h:315: parse error before "_hpux_size_t"

I didn't build or install the gcc 3.1 that is on this machine - I'll try alternatives.







Cosmo




Messages sorted by: Reverse Date, Date, Thread, Author