Has anyone successfully compiled Argus on Mac OS X

Carter Bullard carter at qosient.com
Mon May 13 12:49:04 EDT 2002


Hey Peter,
   If we put

#if defined(__APPLE_CC__)
#define __OpenBSD__
#endif

somewhere very early would that solve everything?
Would it be a valid thing to do?

Carter

> -----Original Message-----
> From: owner-argus-info at lists.andrew.cmu.edu 
> [mailto:owner-argus-info at lists.andrew.cmu.edu] On Behalf Of 
> Peter Van Epp
> Sent: Monday, May 13, 2002 12:39 PM
> To: argus
> Subject: Re: Has anyone successfully compiled Argus on Mac OS X
> 
> 
> 	Andy's patches along with this one (to correct the ra 
> final man output 
> format which otherwise isn't correct) make 2.0.5 work fine 
> (server and clients) 
> on OS X (at least workstation, I don't have a copy of server 
> to hand but I 
> understand it is identical and I think is what Andy is running).
> 
> *** common/argus_util.c.orig	Mon May 13 09:04:05 2002
> --- common/argus_util.c	Mon May 13 09:04:46 2002
> ***************
> *** 969,975 ****
>   
>      } else {
>         if (Iflag)
> ! #if defined(HAVE_SOLARIS) || defined(__FreeBSD__) || 
> defined(__NetBSD__) || defined(__OpenBSD__)
>            strcpy (fmtstr, "%s%s%4s  pkts %9lld  bytes %12lld 
>  drops %5d  ");
>         else
>            strcpy (fmtstr, "%s  %4s  pkts %9lld  bytes %12lld 
>  drops %5d  ");
> --- 969,975 ----
>   
>      } else {
>         if (Iflag)
> ! #if defined(HAVE_SOLARIS) || defined(__FreeBSD__) || 
> defined(__NetBSD__) || defined(__OpenBSD__) || defined (__APPLE_CC__)
>            strcpy (fmtstr, "%s%s%4s  pkts %9lld  bytes %12lld 
>  drops %5d  ");
>         else
>            strcpy (fmtstr, "%s  %4s  pkts %9lld  bytes %12lld 
>  drops %5d  ");
> 
> Peter Van Epp / Operations and Technical Support 
> Simon Fraser University, Burnaby, B.C. Canada
> 
> > 
> > Hey Andy,
> >    That's great!!!!!!!, and thanks Peter for the critical 
> incantation.  
> > I'll make the changes but back from "officially" stating we 
> have OS X 
> > in 2.0.5 until we've got all the clients as well.  With 
> some luck we 
> > may have it for the official release next week.
> > 
> > Carter
> > 
> > Carter Bullard
> > QoSient, LLC
> > 300 E. 56th Street, Suite 18K
> > New York, New York  10022
> > 
> > carter at qosient.com
> > Phone +1 212 588-9133
> > Fax   +1 212 588-9134
> > http://qosient.com
> > 
> 
> 



More information about the argus mailing list