home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / aix / 12686 < prev    next >
Encoding:
Text File  |  1992-12-21  |  2.7 KB  |  96 lines

  1. Newsgroups: comp.unix.aix
  2. Path: sparky!uunet!mcsun!Germany.EU.net!ira.uka.de!chx400!sdz01!brocher
  3. From: brocher@sdz01 (Dominic Brocher)
  4. Subject: Re: zoo on AIX?
  5. Sender: @sdz01.uu.ch
  6. Message-ID: <1992Dec18.141300.8025@sdz01.uu.ch>
  7. Date: Fri, 18 Dec 1992 14:13:00 GMT
  8. References: <Bz1v5s.9HB@ucunix.san.uc.edu>
  9. Organization: Sandoz Technology Ltd.
  10. Keywords: zoo
  11. Lines: 83
  12.  
  13. In article <Bz1v5s.9HB@ucunix.san.uc.edu> pollack@ucunix.san.uc.edu (Steven Pollack) writes:
  14. >
  15. >Has anyone successfully ported the zoo archiving to AIX?
  16. >
  17.  
  18. I have zoo version 2.10 running.  I had to change all occurrences of
  19. ulong, uint, ushort, uchar to Ulong, Uint, Ushort, Uchar respectively
  20. (I don't know why, but AIX didn't like the lowercase versions...).
  21. After applying the patches at the end of this message I compiled it with
  22. "make sysv".
  23.  
  24. BTW I'm running AIX 3.2.
  25.  
  26. Hope it helps.
  27. Dominic Brocher
  28. ------------------------------------------------------------------------
  29. brocher@sdz01.uu.ch    | Make everything as simple as possible
  30. Sandoz Technology Ltd. | but not simpler.
  31. Basle Switzerland      |    -- A. Einstein
  32.  
  33. ==================== cut here ====================
  34. *** zoo2.10.orig/options.h    Mon Jul 15 07:37:16 1991
  35. --- zoo2.10.new/options.h    Fri Oct  2 11:13:07 1992
  36. ***************
  37. *** 1,3 ****
  38. --- 1,29 ----
  39. + /***********************************************************************/
  40. + /* GENERIC **IX SYSTEM -- GOOD STARTING POINT FOR YOURS                */
  41. + /***********************************************************************/
  42. + #ifdef _AIX
  43. + #define ANSI_HDRS
  44. + #define NO_STDIO_FN    /* avoid declaring certain stdio functions */
  45. + /* #define SPECNEXT */
  46. + /* #define IGNORECASE */
  47. + #define FNLIMIT 14
  48. + #define NEEDCTYP
  49. + #define CUR_DIR "."
  50. + #define PATH_SEP "/"
  51. + #define EXT_SEP  "/."
  52. + /* #define NOSIGNAL */
  53. + /* REN_LINK is UNIX-specific.  Can't find a generic rename() function */
  54. + #define REN_LINK
  55. + #define NOENUM
  56. + /* #define SETBUF */
  57. + #define CHEKDIR
  58. + #define NIXTIME
  59. + #define HAVE_ISATTY
  60. + #define NEED_MEMMOVE
  61. + #endif /* AIX */
  62.   /* @(#) options.h 2.22 88/08/24 15:27:36 */
  63.   
  64.   /*
  65. *** zoo2.10.orig/sysv.c    Mon Jul 15 07:37:20 1991
  66. --- zoo2.10.new/sysv.c    Tue Nov 24 16:23:14 1992
  67. ***************
  68. *** 129,134 ****
  69. --- 129,135 ----
  70.   exists by the name of the needed directory.
  71.   */
  72.   
  73. + #ifndef _AIX
  74.   int mkdir(dirname)
  75.   char *dirname;
  76.   {
  77. ***************
  78. *** 140,145 ****
  79. --- 141,147 ----
  80.      }
  81.       return (0);
  82.   }
  83. + #endif
  84.   
  85.   /* No file truncate system call in older System V.  If yours has one,
  86.   add it here -- see bsd.c for example.  It's ok for zootrunc to be
  87.  
  88. -- 
  89. ------------------------------------------------------------------------
  90. brocher@sdz01.uu.ch    | Make everything as simple as possible
  91. Sandoz Technology Ltd. | but not simpler.
  92. Basle Switzerland      |    -- A. Einstein
  93.