home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix
- Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!chx400!sdz01!brocher
- From: brocher@sdz01 (Dominic Brocher)
- Subject: Re: zoo on AIX?
- Sender: @sdz01.uu.ch
- Message-ID: <1992Dec18.141300.8025@sdz01.uu.ch>
- Date: Fri, 18 Dec 1992 14:13:00 GMT
- References: <Bz1v5s.9HB@ucunix.san.uc.edu>
- Organization: Sandoz Technology Ltd.
- Keywords: zoo
- Lines: 83
-
- In article <Bz1v5s.9HB@ucunix.san.uc.edu> pollack@ucunix.san.uc.edu (Steven Pollack) writes:
- >
- >Has anyone successfully ported the zoo archiving to AIX?
- >
-
- I have zoo version 2.10 running. I had to change all occurrences of
- ulong, uint, ushort, uchar to Ulong, Uint, Ushort, Uchar respectively
- (I don't know why, but AIX didn't like the lowercase versions...).
- After applying the patches at the end of this message I compiled it with
- "make sysv".
-
- BTW I'm running AIX 3.2.
-
- Hope it helps.
- Dominic Brocher
- ------------------------------------------------------------------------
- brocher@sdz01.uu.ch | Make everything as simple as possible
- Sandoz Technology Ltd. | but not simpler.
- Basle Switzerland | -- A. Einstein
-
- ==================== cut here ====================
- *** zoo2.10.orig/options.h Mon Jul 15 07:37:16 1991
- --- zoo2.10.new/options.h Fri Oct 2 11:13:07 1992
- ***************
- *** 1,3 ****
- --- 1,29 ----
- + /***********************************************************************/
- + /* GENERIC **IX SYSTEM -- GOOD STARTING POINT FOR YOURS */
- + /***********************************************************************/
- +
- + #ifdef _AIX
- + #define ANSI_HDRS
- + #define NO_STDIO_FN /* avoid declaring certain stdio functions */
- + /* #define SPECNEXT */
- + /* #define IGNORECASE */
- + #define FNLIMIT 14
- + #define NEEDCTYP
- + #define CUR_DIR "."
- + #define PATH_SEP "/"
- + #define EXT_SEP "/."
- + /* #define NOSIGNAL */
- + /* REN_LINK is UNIX-specific. Can't find a generic rename() function */
- + #define REN_LINK
- + #define NOENUM
- + /* #define SETBUF */
- + #define CHEKDIR
- + #define NIXTIME
- + #define HAVE_ISATTY
- + #define NEED_MEMMOVE
- + #endif /* AIX */
- +
- +
- /* @(#) options.h 2.22 88/08/24 15:27:36 */
-
- /*
- *** zoo2.10.orig/sysv.c Mon Jul 15 07:37:20 1991
- --- zoo2.10.new/sysv.c Tue Nov 24 16:23:14 1992
- ***************
- *** 129,134 ****
- --- 129,135 ----
- exists by the name of the needed directory.
- */
-
- + #ifndef _AIX
- int mkdir(dirname)
- char *dirname;
- {
- ***************
- *** 140,145 ****
- --- 141,147 ----
- }
- return (0);
- }
- + #endif
-
- /* No file truncate system call in older System V. If yours has one,
- add it here -- see bsd.c for example. It's ok for zootrunc to be
-
- --
- ------------------------------------------------------------------------
- brocher@sdz01.uu.ch | Make everything as simple as possible
- Sandoz Technology Ltd. | but not simpler.
- Basle Switzerland | -- A. Einstein
-