Snort mailing list archives
Re: AW: barnyard with postgres compile problem
From: Edin Dizdarevic <edin.dizdarevic () interActive-Systems de>
Date: Thu, 05 Jun 2003 12:49:40 +0200
Hm, strange, I get the configure script run fine but the compilation will always fail: [...] gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/usr/include/pcap -DENABLE_POSTGRES -g -O2 -Wall -c op_acid_db.c op_acid_db.c:115: parse error before `,' op_acid_db.c:116: parse error before `,' [...] Strange line 115: int PostgresSelectAsUInt( , char *sql, unsigned int *result); looks for me as a missing argument before comma... Nevertheless, I have RH 7.3 and postgresql-devel-7.2.3-5.73.i386.rpm postgresql-libs-7.2.3-5.73.i386.rpm installed. ./configure output: checking for /usr/include/libpq-fe.h... (cached) yes checking for PQconnectdb in -lpq... (cached) yes but have no hint at the moment. On the other side, now it's not sure you'll get it compiled, even if ./configure would work. Sorry, regards, Edin Jochen Vogel wrote:
./configure --enable-postgres and ./configure --enable-postgres --with-postgres-includes=/usr/include --with-postgres-libraries=/usr/include/ same problemI suppose you tried: --with-postgres-includes=/usr/include ... ;) Regards, Edin # --with-postgres-libraries=DIR PostgreSQL libraries directory Jochen Vogel wrote:hi, i´m using RedHat8.0 barnyard0.1.0 postgresql-libs-7.2.3-5.80 postgresql-devel-7.2.3-5.80 ---------------------------- if i do an ./configure --enable-postgres i get an checking for /usr/include/libpq-fe.h... no ********************************************** ERROR: unable to find postgres headers (libpq-fe.h) checked in the following places /usr/include/libpq-fe.h ********************************************** ---------------------------- /usr/include/libpq-fe.h exist vi /usr/include/libpq-fe.h * libpq-fe.h * This file contains definitions for structures and * externs for functions used by frontend postgresapplications.* * Portions Copyright (c) 1996-2001, PostgreSQL GlobalDevelopment Group* Portions Copyright (c) 1994, Regents of the Universityof California* * $Id: libpq-fe.h,v 1.80 2001/11/08 20:37:52 momjian Exp $ --------------------------------------- thx for help jo-- Edin Dizdarevic------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ 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=ort-users
-- Edin Dizdarevic Networking Unit Internet- & e-Security iAS interActive Systems Gesellschaft fuer interaktive Medien mbH Dieffenbachstr. 33c 10967 Berlin Germany fon +49-(0)30 69 004-123 fax +49-(0)30 69 004-101 mail edin.dizdarevic () interActive-Systems de URL http://www.interActive-Systems.de/security ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ 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:
- AW: barnyard with postgres compile problem Jochen Vogel (Jun 05)
- Re: AW: barnyard with postgres compile problem Edin Dizdarevic (Jun 05)