On Mon 28 Aug 2006 21:43, Paolo Lucente wrote: > Hi Thomas, > > On Mon, Aug 28, 2006 at 06:43:26PM +0200, Thomas Stegbauer wrote: > > so first i tried to run the nfacctd from sarge (version 0.7.4) > > > > but starting the process with; > > nfacctd -D -c src_host,dst_host -l 33333 -P pgsql -f > > /etc/pmacct/nfacctd.conf > > In old releases, the use of commandline options and configuration file was > mutual exclusive. Things have changed at some stage (not just recently) and > your commandline string would work smoothly on any not-so-seasoned version. > Jamie, in case you are reading us: can we burn that one and select > something more recent? > > > question: > > > > is it possible to run nfacctd and postgresql on different host's? > > Of course yes. > > > so i downloaded version 0.11.0rc2 > > and tried to compile with > > configure --enable-pgsql > > but this stopps with: > > > > checking whether to enable PostgreSQL support... yes > > checking default locations for libpq... found in /usr/lib > > checking default locations for libpq-fe.h... not found > > checking for libpq-fe.h... no > > configure: error: ERROR: missing PostgreSQL headers > > > > is for this version a newer postgresql needed than in sarge included > > (version 7.4.7?) > > No, pmacct should (even actually) be able to use PostgreSQL >= 7.2.x . Are > you using PostgreSQL package from Debian? Have you installed its > development package? If this is the case, Debian Sarge has its PostgreSQL > headers in a rather non-standard position, /usr/include/postgresql/ . You > need to give an help to the configure script: > > ./configure --enable-pgsql --with-pgsql-includes=/usr/include/postgresql/
Hi Paolo Also SUSE has them in /usr/include/pgsql/ which pmacct also does not pick up. This is no major problem as I put it in the spec file once and forgot about it, but maybe you should add it and /usr/include/postgresql/ to configure so that people building from source on these platforms don't need to try so hard. :-) Cheers -- Peter Nixon http://www.peternixon.net/ PGP Key: http://www.peternixon.net/public.asc
pgpRbpfDsRiR5.pgp
Description: PGP signature
_______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
