Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Compile problem on Linux
- X-seq: zsh-workers 10056
 
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: Oliver Kiddle <opk@xxxxxxxxxxxxx>,        Zsh workers <zsh-workers@xxxxxxxxxxxxxx>
 
- Subject: Re: Compile problem on Linux
 
- Date: Fri, 10 Mar 2000 12:25:40 +0000
 
- In-reply-to: <38C8CE15.1FF2D76F@xxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
 
- References: <38C8CE15.1FF2D76F@xxxxxxxxxxxxx>
 
On Mar 10, 10:27am, Oliver Kiddle wrote:
} Subject: Compile problem on Linux
}
} When compiling zsh on my PC (which runs SuSE Linux 6.1). I got errors
} relating to RLIM_NLIMITS being undefined.
This is a known incompatibility of newer Linux kernel headers with older
glibc headers.  It's fixed by a newer version of glibc; I think the
autoconf people are aware of it.
I've already got mention of it in the Etc/MACHINES file for 3.0.8.  Here's
the snippet:
+       Some versions of glibc2 have a conflict with <asm/resource.h>
+       which causes a redefinition warning on RLIM_INFINITY.  This
+       causes configure to decide that <sys/resource.h> is not present,
+       which can cause compilation errors in zsh's rlimit code.  The
+       best solution is to edit config.h after running configure and
+       #define HAS_SYS_RESOURCE_H.
-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author