AW: [Snort-users] barnyard with postgres compile problem

Edin Dizdarevic edin.dizdarevic at ...7509...
Thu Jun 5 03:51:02 EDT 2003


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 problem
> 
> 
> 
>>I 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 postgres 
>>
>>applications.
>>
>>> *
>>> * Portions Copyright (c) 1996-2001, PostgreSQL Global 
>>
>>Development Group
>>
>>> * Portions Copyright (c) 1994, Regents of the University 
>>
>>of 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 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=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 at ...7509...
URL     http://www.interActive-Systems.de/security





More information about the Snort-users mailing list