argus-clients-2.0.6.beta.41

Peter Van Epp vanepp at sfu.ca
Fri Jul 11 18:54:05 EDT 2003


	OK, so argus-2.0.6.beta.10 builds fine on all of FreeBSD, OpenBSD
NetBSD and MacOS 10.2.

argus-clients-2.0.6.beta.41

isn't so lucky :-)

NetBSD dies looking for term.h. This seems to be because there needs to be 
a "default" case in this switch in configure:


linux*)
        ;; 

cygwin*)
        cat >> confdefs.h <<\EOF  
#define CYGWIN 1 
EOF

	I think that Netbsd didn't match anything else and therefore dropped
through to the default action (assuming a configure case statement works like
a c switch statement anyway) defining CYGWIN which in turn looks for 
term.h in 

ratop (CYGWIN defined)

gcc -O2 -I. -I../include -I../common -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=6
4 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -
DHAVE_SYSLOG_H=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DSTDC_HEADERS=1 -c ./
ratop.c
./ratop.c:41: term.h: No such file or directory

	I'm not entirely sure how to fix that one (adding netbsd to another
case or adding a default no action case, either should work I think).

MacOS10 blows up in the include files somewhere and I haven't finished 
poking at that yet (and beer is starting to call :-)). Its odd the other 
3 aren't unhappy about this. Perhaps 10.2 (which I think is new since last
I tried this) has changed the MacOS define that we were equating to something.

for OpenBSD it needs this patch:

*** clients/ranonymize.c.orig	Fri Jul 11 04:15:17 2003
--- clients/ranonymize.c	Fri Jul 11 04:16:15 2003
***************
*** 753,758 ****
--- 753,763 ----
  #endif
  }
  
+ #if defined(__OpenBSD__)
+ #include <netinet/in_systm.h>
+ #include <netinet/ip.h>
+ #endif
+ 
  #include <netinet/ip_icmp.h>
  
  void



More information about the argus mailing list