Zsh 4.2.3 and 4.2.4 are built improperly on AMD64 Gentoo Linux, profile 2005.0. Here's what the configure script shows: checking where the RLIMIT macros are located... configure: WARNING: RLIMIT MACROS NOT FOUND: please report to developers /dev/null checking if rlim_t is longer than a long... no checking if the rlim_t is unsigned... yes checking for rlim_t... yes checking for limit RLIMIT_AIO_MEM... no checking for limit RLIMIT_AIO_OPS... no checking for limit RLIMIT_AS... yes checking for limit RLIMIT_LOCKS... yes checking for limit RLIMIT_MEMLOCK... yes checking for limit RLIMIT_NPROC... yes checking for limit RLIMIT_NOFILE... yes checking for limit RLIMIT_PTHREAD... no checking for limit RLIMIT_RSS... yes checking for limit RLIMIT_SBSIZE... no checking for limit RLIMIT_TCACHE... no checking for limit RLIMIT_VMEM... no checking for limit RLIMIT_SIGPENDING... yes checking for limit RLIMIT_MSGQUEUE... yes checking if RLIMIT_VMEM and RLIMIT_RSS are the same... no checking if RLIMIT_VMEM and RLIMIT_AS are the same... no My little workaround is to apply the following patch and run autoconf. This doesn't really fix the problem, it just gets zsh built for me. --- ORIG/configure.ac 2005-01-12 10:55:06.000000000 +0000 +++ zsh-4.2.3/configure.ac 2005-01-22 06:09:38.567302976 +0000 @@ -1273,6 +1273,7 @@ /usr/include/sys/resource.h dnl /usr/include/bits/resource.h dnl /usr/include/resourcebits.h dnl + /usr/include/asm-x86_64/resource.h dnl /dev/null; do test -f $RESOURCE_H && \ -- Barry.Schwartz@xxxxxxxxxxxxxxxxx http://www.chemoelectric.org "I have directed that in the future I sign each letter." -- Rumsfeld
Attachment:
pgpKwzMAQl0ja.pgp
Description: PGP signature