[Snort-users] installing snort with mysql support on rh7.1

Snort Snort at ...5098...
Tue Sep 17 09:12:07 EDT 2002


Bill, just for laughs.. Try putting a symlink here:

/usr/local/mysql/include/mysql/mysql.h and see what happens

Michael

-----Original Message-----
From: Bill [mailto:bhalpin at ...6882...] 
Sent: Tuesday, September 17, 2002 11:23 AM
To: snort-users at lists.sourceforge.net
Subject: Re: [Snort-users] installing snort with mysql support on rh7.1


On Thu, 2002-09-12 at 15:23, Michael Boman wrote:
<snip>
> use --with-mysql-inc=/usr/include/mysql 
> --with-mysql-lib=/usr/lib/mysql when you do ./configure
<snip>

Ok, i have tried this with both 1.8.7 and 1.9.0beta6.  It doesnt work with
either.  I'm still getting the 'cant find mysql.h' error.  Anyone have
another idea?

-bill

[root at ...6929... snort-1.9.0beta6]# ./configure --with-mysql=/usr/bin/mysql
--with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql/
loading cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c checking
whether build environment is sane... yes checking whether make sets
${MAKE}... yes checking for working aclocal... found checking for working
autoconf... found checking for working automake... found checking for
working autoheader... found checking for working makeinfo... found checking
for gcc... 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... yes checking whether gcc accepts -g... yes checking for
gcc option to accept ANSI C... none needed checking for ranlib... 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...
i586-pc-linux-gnu checking whether byte ordering is bigendian... no checking
for sparc alignment... no checking how to run the C preprocessor... gcc -E
checking for strings.h... yes checking for string.h... yes checking for
stdlib.h... yes checking for unistd.h... yes checking for sys/sockio.h... no
checking for paths.h... yes checking for inet_ntoa in -lnsl... yes checking
for socket in -lsocket... no checking whether printf must be declared... no
checking whether fprintf must be declared... no checking whether syslog must
be declared... no checking whether puts must be declared... no checking
whether fputs must be declared... no checking whether fputc must be
declared... no checking whether fopen must be declared... no checking
whether fclose must be declared... no checking whether fwrite must be
declared... no checking whether fflush must be declared... no checking
whether getopt must be declared... no checking whether bzero must be
declared... no checking whether bcopy must be declared... no checking
whether memset must be declared... no checking whether strtol must be
declared... no checking whether strcasecmp must be declared... no checking
whether strncasecmp must be declared... no checking whether strerror must be
declared... no checking whether perror must be declared... no checking
whether socket must be declared... no checking whether sendto must be
declared... no checking whether vsnprintf must be declared... no checking
whether snprintf must be declared... no checking whether strtoul must be
declared... no checking for snprintf... yes checking for strlcpy... no
checking for strlcat... no checking for strerror... yes checking for floor
in -lm... yes checking for pcap_datalink in -lpcap... yes checking for
mysql...
 
**********************************************
  ERROR: unable to find mysql headers (mysql.h)
  checked in the following places
**********************************************



-------------------------------------------------------
Sponsored by: AMD - Your access to the experts on Hammer Technology! 
Open Source & Linux Developers, register now for the AMD Developer 
Symposium. Code: EX8664 http://www.developwithamd.com/developerlab
_______________________________________________
Snort-users mailing list
Snort-users at 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




More information about the Snort-users mailing list