home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!hela.iti.org!cs.widener.edu!cs.widener.edu!usenet
- From: YOUNG@tattoo.cs.widener.edu (Rob Young)
- Newsgroups: comp.unix.aix
- Subject: Re: zoo on AIX?
- Date: 18 Dec 1992 17:11:51 GMT
- Organization: Widener News/Mail Gateway
- Lines: 68
- Distribution: world
- Message-ID: <1gt0onINNk34@cs.widener.edu>
- References: <Bz1v5s.9HB@ucunix.san.uc.edu> <1992Dec18.141300.8025@sdz01.uu.ch>
- NNTP-Posting-Host: tattoo.cs.widener.edu
- X-News-Reader: VMS NEWS 1.20
- In-Reply-To: brocher@sdz01's message of Fri, 18 Dec 1992 14:13:00 GMT
-
- In <1992Dec18.141300.8025@sdz01.uu.ch> brocher@sdz01 writes:
-
- > 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
-
-
- I had posted to this group around Nov. 23 with the same question and posted
- the follow-up below. This works.
-
- Rob
-
-
- These are the changes I used to get Zoo version 2.10 going under AIX version
- 3.2 something. Your mileage may vary.
-
- 1) Change uchar to Uchar
-
- Changing uchar to Uchar in all of the zoo source fixed a fatal up. Also,
- was recommended to change ushort -> Ushort, uint -> Uint, ulong -> Ulong.
- Maybe all that needed to be done was take the "typedef unsigned char uchar"
- out of the zoo source. AIX defines a uchar, what is this about?
-
- $ grep -n uchar /usr/include/sys/types.h
- 89:typedef unsigned char uchar_t;
- 155:typedef uchar_t uchar;
-
-
- 2) Add _BSD_INCLUDES to the aix target
-
- It errored out when compiling machine.c (around line 33 in nixtime.i actually)
- because it didn't know about the tm struc in time.h. The _BSD_INCLUDES is
- necessary so the time.h in /usr/include/sys picks up the time.h in
- /usr/include. Any one care to comment about this?
-
-
- 3) Put an aix target in the makefile
-
- aix:
- $(MAKE) CFLAGS="-c $(OPTIM) -DBSD4_3 -D_BSD_INCLUDES -DANSI_HDRS" $(TARGETS)
-
-
- Thanks to Peter Castro who gave me the aix target for the makefile
- sans the _BSD_INCLUDES (how did you Peter, get it past machine.c?)
-
- Also thanks to Dominic Brocher who gave me a method to get around the
- uchar problem.
-
- Rob
-
-
-
- young@tattoo.cs.widener.edu
- "The human understanding is like a false mirror, which, receiving rays
- irregularly, distorts and discolors the nature of things by mingling its own
- nature with it." --Bacon
-