On Friday 07 September 2007 00:13, Scott Barninger wrote: > fyi, this was the postgresql error... > > -------- Forwarded Message -------- > From: Scott Barninger <[EMAIL PROTECTED]> > To: Kern Sibbald <[EMAIL PROTECTED]> > Subject: Re: another 2.2.1 build error > Date: Mon, 03 Sep 2007 15:47:03 -0400 > > On Mon, 2007-09-03 at 21:20 +0200, Kern Sibbald wrote: > > On Monday 03 September 2007 20:45, Scott Barninger wrote: > > > Hello Kern, > > > > > > When building on RHEL3, postgresql build fails: > > > > > > Compiling postgresql.c > > > postgresql.c: In function `int my_postgresql_batch_end(JCR*, B_DB*, > > > const > > > char*)': > > > postgresql.c:671: `PQputCopyEnd' undeclared (first use this function) > > > postgresql.c:671: (Each undeclared identifier is reported only once for > > > each > > > function it appears in.) > > > postgresql.c: In function `int my_postgresql_batch_insert(JCR*, B_DB*, > > > ATTR_DBR*)': > > > postgresql.c:717: `PQputCopyData' undeclared (first use this function) > > > make[1]: *** [postgresql.o] Error 1 > > > make[1]: Leaving directory > > > `/usr/src/redhat/BUILD/bacula-2.2.1/src/cats' > > > > > > > > > ====== Error in /usr/src/redhat/BUILD/bacula-2.2.1/src/cats ====== > > > > Groan: > > > > It looks like they are using an old PostgreSQL. I recommend for that > > particular build to add "--disable-batch-insert" to the ./configure line > > and see if it resolves the problem. > > No help. I will release what I have and this will be the last release > for EL3 and FC4.
Yes, sorry, I have so many balls in the air that I forgot about this. The above does definitely indicate a problem with a batch insert API. What would *really* be helpful is to rebuild it without batch insert enabled and show me what errors are produced in that case, then maybe we can get to the bottom of it. Since turning off batch insert failed in both MySQL and PostgreSQL, I suspect that it may just be that some small section of code is not properly #ifdeffed ... ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
