Snort mailing list archives

Re: Snort, Barnyard, and Postgresql


From: Scott Fringer <fringsm () is2 hsnet ufl edu>
Date: Thu, 13 Feb 2003 14:26:53 -0500 (EST)

tfandango,
  At this time, while the configure script shows the option, I do not
believe the Postgres SQL support is active in Barnyard.  I believe it
currently only supports MySQL.

Scott

Scott Fringer                              Shands Healthcare @ U.F.
Technical Analyst II                       Gainesville, FL

On Thu, 13 Feb 2003, tfandango wrote:

Hi-

Thanks to a lot of insightful replys from you guys, I
am well on my way to setting up a test environment
with Snort, barnyard, and postgresql (and eventually
Acid as well).

I'm having a good deal of trouble getting barnyard to
compile and haven't found much in the way of
documentation out there yet.  I configure the makefile
with postgresql enables and I specified the lib and
include directories like so:

./configure --enable-postgres
--with-postgres-includes=/usr/include/postgresql/pgsql
--with-postgres-libraries=/usr/lib/postgresql

Then when I make, I get the following errors:

op_acid_db.c:115: parse error before `,'
op_acid_db.c:116: parse error before `,'
op_acid_db.c: In function `DbClose':
op_acid_db.c:947: structure has no member named `pq'
op_acid_db.c: In function `SelectAsUInt':
op_acid_db.c:966: structure has no member named `pq'
op_acid_db.c: In function `Insert':
op_acid_db.c:984: structure has no member named `pq'
op_acid_db.c:984: `result' undeclared (first use in
this function)
op_acid_db.c:984: (Each undeclared identifier is
reported only once
op_acid_db.c:984: for each function it appears in.)
op_acid_db.c: In function `BeginTransaction':
op_acid_db.c:1002: structure has no member named `pq'
op_acid_db.c: In function `EndTransaction':
op_acid_db.c:1020: structure has no member named `pq'
op_acid_db.c: In function `AbortTransaction':
op_acid_db.c:1038: structure has no member named `pq'
op_acid_db.c: In function `PostgresClose':
op_acid_db.c:1153: warning: control reaches end of
non-void function
op_acid_db.c: At top level:
op_acid_db.c:1155: parse error before `,'
op_acid_db.c:1161: parse error before `,'

all in the op_acid_db function.  Is this a common
problem?  It seems to me like it can't find the
libraries I told configure about.  Any thoughts or
suggestions where I should direct this question?

Thanks!
tfandango



-------------------------------------------------------
This SF.NET email is sponsored by: FREE  SSL Guide from Thawte
are you planning your Web Server Security? Click here to get a FREE
Thawte SSL guide and find the answers to all your  SSL security issues.
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en
_______________________________________________
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: