FreeBSD build problems

Carter Bullard carter at qosient.com
Fri Jun 8 12:46:36 EDT 2001


Hey Peter,
   The libintl.h is coming from ./ragrep/system.h as a result
of a define in ./ragrep/config.h.  Comment out line #67 in
the file ./ragrep/config.h, where it sez:

#define ENABLE_NLS 1

and see if that doesn't clear it up!

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 

-----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: Friday, June 08, 2001 11:47 AM
To: argus
Subject: FreeBSD build problems


	argus-clients-2.0.1.alpha.3 on FreeBSD 4.3-RELEASE

	I can't immediately figure out how configure is deciding FreeBSD
has libintl (which it doesn't). I haven't looked at the getopt complaint
yet, but it only seems to want unistd.h (no getopt.h found):

SYNOPSIS
     #include <unistd.h>

     extern char *optarg;
     extern int optind;
     extern int optopt;
     extern int opterr;
     extern int optreset;


r2d2# make
making in ./common
making in ./clients
making in ./ragraph
making in ./ragrep
gcc -DHAVE_CONFIG_H -I. -I../include
-DLOCALEDIR=\"/usr/local/share/locale\"    -g -O2 -c ragrep.c
In file included from ragrep.c:47:
system.h:194: libintl.h: No such file or directory
ragrep.c:48: getopt.h: No such file or directory
*** Error code 1

Stop in /usr/local/src/argus-clients-2.0.1.alpha.3/ragrep.
*** Error code 1

Stop in /usr/local/src/argus-clients-2.0.1.alpha.3/ragrep.
*** Error code 1

Stop in /usr/local/src/argus-clients-2.0.1.alpha.3.
r2d2# find /usr/include -name libintl.h -print
r2d2# 

and argus-clients-2.0.1.alpha.3 on FreeBSD 4.3-RELEASE argus_filter
needs this:

*** common/argus_filter.c.orig	Fri Jun  8 08:14:08 2001
--- common/argus_filter.c	Fri Jun  8 08:15:39 2001
***************
*** 3504,3510 ****
  
  #ifdef ETHER_SERVICE
  struct ether_addr;
! #ifndef linux
  extern int ether_ntohost(char *, struct ether_addr *);
  #endif
  #endif
--- 3504,3510 ----
  
  #ifdef ETHER_SERVICE
  struct ether_addr;
! #if !defined(linux) && !defined(__FreeBSD__)
  extern int ether_ntohost(char *, struct ether_addr *);
  #endif
  #endif



More information about the argus mailing list