Bacula-users

[Bacula-users] compiling of Bacula 2.2.7 with postgreql.

2008-04-11 08:24:01
Subject: [Bacula-users] compiling of Bacula 2.2.7 with postgreql.
From: "Rathinasamy, Bhaskaran (ext)" <Bhaskaran.Rathinasamy.ext AT siemens DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Fri, 11 Apr 2008 14:23:27 +0200
Hello All,
 
Iam trying to compile Bacula 2.2.7 with postgesql using RPM.
 
I had applied the patch that came with the release.
 
But when i try to compile. the compilation fails at the following point with the error.
 
Compiling sql_list.c
Compiling sql_update.c
Compiling sqlite.c
Compiling postgresql.c
postgresql.c: In function `void db_escape_string(JCR*, B_DB*, char*, char*, int)':
postgresql.c:298: error: `PQescapeStringConn' undeclared (first use this function)
postgresql.c:298: error: (Each undeclared identifier is reported only once for each function it appears in.)
make[1]: *** [postgresql.o] Error 1
make[1]: Leaving directory `/usr/src/packages/BUILD/bacula-2.2.7/src/cats'
 

  ====== Error in /usr/src/packages/BUILD/bacula-2.2.7/src/cats ======
 

==>Entering directory /usr/src/packages/BUILD/bacula-2.2.7/src/dird
make[1]: Entering directory `/usr/src/packages/BUILD/bacula-2.2.7/src/dird'
Can somebody help me how to solve this.
 
OS = SLES 9 SP3.
Bacula version = 2.2.7
Postgres packages installed :
postgresql-libs-7.4.8-0.6
postgresql-contrib-7.4.8-0.6
qt3-postgresql-3.3.1-35.11
postgresql-docs-7.4.8-0.6
postgresql-devel-7.4.8-0.6
postgresql-server-7.4.8-0.6
postgresql-jdbc-7.3-189.1
postgresql-7.4.8-0.6
postgresql-pl-7.4.8-0.6
 
Iam able to compile properly with mysql4.
 
Thanks & Regards,
Bhaskaran
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] compiling of Bacula 2.2.7 with postgreql., Rathinasamy, Bhaskaran (ext) <=