zsh-workers
 help / color / mirror / code / Atom feed
* zsh-3.0-pre3 and AIX 4.X
@ 1996-07-19 14:18 Bill Pemberton
  1996-07-19 15:49 ` Zoltan Hidvegi
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Pemberton @ 1996-07-19 14:18 UTC (permalink / raw)
  To: zsh-workers

Pardon me if this has been covered, I'm new to the list.

I've been using zsh 2.5.03 for quite a while and figured I'd try 3.0 out.
However, I ran into a bit of a problem building it on AIX 4.2.  In the
compile for builtin.c I get the message:

"builtin.c", line 3596.5: 1506-205 (S) there are some unknown limits.  Fix me!

Looking at the code, this is:

# if NEXT_RLIM != RLIM_NLIMITS
   #error there are some unknown limits.  Fix me!
# endif

So, apparently configure is missing something on AIX 4.2.  I've verified
that 3.0-pre3 compiles on both AIX 3.2.5 and AIX 4.1.4, any tips on what to
look at?
   
-- 
Bill Pemberton                           wfp5p@virginia.edu
ITC/Unix Systems                         flash@virginia.edu
University of Virginia                   uunet!virginia!wfp5p



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: zsh-3.0-pre3 and AIX 4.X
  1996-07-19 14:18 zsh-3.0-pre3 and AIX 4.X Bill Pemberton
@ 1996-07-19 15:49 ` Zoltan Hidvegi
  0 siblings, 0 replies; 2+ messages in thread
From: Zoltan Hidvegi @ 1996-07-19 15:49 UTC (permalink / raw)
  To: Bill Pemberton; +Cc: zsh-workers

Bill Pemberton wrote:
> However, I ran into a bit of a problem building it on AIX 4.2.  In the
> compile for builtin.c I get the message:
> 
> "builtin.c", line 3596.5: 1506-205 (S) there are some unknown limits.  Fix me!

Bill sent me his /usr/include/sys/resources.h so the patch below should fix
that problem.  Please try it.

Zoltan


*** Src/builtin.c	1996/07/14 18:47:08	2.60
--- Src/builtin.c	1996/07/19 15:44:36
***************
*** 3592,3597 ****
--- 3592,3602 ----
  #  define NEXT_RLIM (RLIMIT_AS + 1)
      "addressspace",
  # endif /* RLIMIT_AS */
+ # if defined RLIMIT_NOFILE && RLIMIT_NOFILE == NEXT_RLIM
+ #  undef NEXT_RLIM
+ #  define NEXT_RLIM (RLIMIT_NOFILE + 1)
+     "descriptors",
+ # endif /* RLIMIT_NOFILE */
  # if NEXT_RLIM != RLIM_NLIMITS
     #error there are some unknown limits.  Fix me!
  # endif



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-07-19 15:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-07-19 14:18 zsh-3.0-pre3 and AIX 4.X Bill Pemberton
1996-07-19 15:49 ` Zoltan Hidvegi

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).