Problems compiling argus-2.0.2 on OpenBSD 2.8-stable

Peter Van Epp vanepp at sfu.ca
Mon Sep 10 12:07:10 EDT 2001


	First blip is a configure problem (which looks to have been present
for a while but masked). On Open/FreeBSD as Wozz points out tcpd.h is in
/usr/include and configure isn't looking there. Below is a dif for configure
(against /dev/argus-2.0/argus-2.0.2.tar.gz) to fix that. As well I get compile
errors on FreeBSD which I haven't resolved yet. I haven't yet tried netbsd 
(but I will). With this patch OpenBSD is compiling clean (2.8 GENERIC not
2.8 CURRENT nor 2.9 so far).   

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada


*** configure.orig	Mon Sep 10 00:37:37 2001
--- configure	Mon Sep 10 00:37:42 2001
***************
*** 1978,1984 ****
  else
     libpcapdirs=$pdir/`ls .. | egrep '^libpcap-[0-9]*\.[0-9ab]*'`
     otherdirs="/usr/local/lib /usr/lib $pdir/libpcap $pdir"
!    dirs="$libpcapdirs $otherdirs"
  
  echo "Searching directories "$dirs
     for this_dir in $dirs; do if test -r $this_dir/libpcap.a ; then
--- 1978,1984 ----
  else
     libpcapdirs=$pdir/`ls .. | egrep '^libpcap-[0-9]*\.[0-9ab]*'`
     otherdirs="/usr/local/lib /usr/lib $pdir/libpcap $pdir"
!    dirs="$libpcapdirs $otherdirs /usr/include"
  
  echo "Searching directories "$dirs
     for this_dir in $dirs; do if test -r $this_dir/libpcap.a ; then
***************
*** 2012,2018 ****
  else
     libwrapdirs=$pdir/`ls .. | egrep '^wrapper|^tcp_wrappers' | sort -ru `
     otherdirs="/usr/local/lib /usr/lib $pdir/libwrap $pdir"
!    dirs="$libwrapdirs $otherdirs"
  
  echo "Searching directories "$dirs
     for this_dir in $dirs; do if test -r $this_dir/libwrap.a ; then
--- 2012,2018 ----
  else
     libwrapdirs=$pdir/`ls .. | egrep '^wrapper|^tcp_wrappers' | sort -ru `
     otherdirs="/usr/local/lib /usr/lib $pdir/libwrap $pdir"
!    dirs="$libwrapdirs $otherdirs /usr/include"
  
  echo "Searching directories "$dirs
     for this_dir in $dirs; do if test -r $this_dir/libwrap.a ; then

--- cut here ----

> 
> Hey Peter and Wozz,
>    I've uploaded a tar file with all the patches,
> to ftp://qosient.com/dev/argus-2.0/argus-2.0.2.tar.gz.
> This has a temporary version number of 2.0.2a, so
> please give this a test.  If it is OK, then I'll
> re-release 2.0.2 with these fixes.
> 
> Thanks!
> 
> Carter
> 
> Carter Bullard
> QoSient, LLC
> 300 E. 56th Street, Suite 18K
> New York, New York  10022
> 



More information about the argus mailing list