Snort mailing list archives

Help Req: Snort Compile Problems


From: "Chris Willis" <cwillis () chriswillis tzo com>
Date: Thu, 10 Oct 2002 08:16:53 -0700

Hello!  TIA for any help you can give me.

System:  P][-266, 64mb RAM, OpenBSD 3.1 (not patched), 4gb HD, ports 
tree from CVS, dated 10/10/02
Snort: Current 1.9.0 (downloaded today)

I am trying to compile snort (as root), and have it log to a MSSQL 
database on a Win2K server.

I used the ports tree to install iodbc (cause I couldn't find sql.h 
anywhere on my system).  I then copied the sql*.h files to /usr/include.

I ran configure, and here is the error:

wall# cd /root/snort-1.9.0
wall# ./configure --with-odbc=DIR
loading cache ./config.cache
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking host system type... i386-unknown-openbsd3.1
checking whether byte ordering is bigendian... (cached) no
checking for sparc alignment... no
checking how to run the C preprocessor... (cached) gcc -E
checking for strings.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/sockio.h... (cached) yes
checking for paths.h... (cached) yes
checking for inet_ntoa in -lnsl... (cached) no
checking for socket in -lsocket... (cached) no
checking whether printf must be declared... (cached) no
checking whether fprintf must be declared... (cached) no
checking whether syslog must be declared... (cached) no
checking whether puts must be declared... (cached) no
checking whether fputs must be declared... (cached) no
checking whether fputc must be declared... (cached) no
checking whether fopen must be declared... (cached) no
checking whether fclose must be declared... (cached) no
checking whether fwrite must be declared... (cached) no
checking whether fflush must be declared... (cached) no
checking whether getopt must be declared... (cached) no
checking whether bzero must be declared... (cached) no
checking whether bcopy must be declared... (cached) no
checking whether memset must be declared... (cached) no
checking whether strtol must be declared... (cached) no
checking whether strcasecmp must be declared... (cached) no
checking whether strncasecmp must be declared... (cached) no
checking whether strerror must be declared... (cached) no
checking whether perror must be declared... (cached) no
checking whether socket must be declared... (cached) no
checking whether sendto must be declared... (cached) no
checking whether vsnprintf must be declared... (cached) no
checking whether snprintf must be declared... (cached) no
checking whether strtoul must be declared... (cached) no
checking for snprintf... (cached) yes
checking for strlcpy... (cached) yes
checking for strlcat... (cached) yes
checking for strerror... (cached) yes
checking for floor in -lm... (cached) yes
checking for pcap_datalink in -lpcap... (cached) yes
checking for odbc... 

**********************************************
  ERROR: unable to find odbc headers (sql.h sqlext.h sqltypes.h)
  checked in the following places
**********************************************

wall# 



Any thoughts??????


Chris




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: