SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Compile Error building Bacula with MySQL and PostgreSql
Author Message
Post Compile Error building Bacula with MySQL and PostgreSql 
Hello
I use Bacula 1.38.9 on Sun Solaris in a productive environment. Cataloc-Bac=
kend is PostgreSql currently. But I think the bottleneck in Performance is =
Postgre. So I like to give MySql a try.
Now I try to compile Bacula with Support for both Backend MySql and PostgrS=
ql.
I make a configure like this:
./configure --with-postgresql=3D/usr/local/pgsql --with-mysql=3D/usr/local/=
mysql
and a simple make afterwards. But I always get a compilation error by sql.c=

make[1]: Leaving directory `/export/home/install/download/bacula-1.38.9/src=
/console'
=3D=3D>Entering directory /export/home/install/download/bacula-1.38.9/src/c=
ats
make[1]: Entering directory `/export/home/install/download/bacula-1.38.9/sr=
c/cats'
/usr/local/bin/g++ -c -I/usr/local/include -I. -I.. -I/usr/local/mysql/i=
nclude/mysql -g -O2 -Wall mysql.c
/usr/local/bin/g++ -c -I/usr/local/include -I. -I.. -I/usr/local/mysql/i=
nclude/mysql -g -O2 -Wall bdb.c
/usr/local/bin/g++ -c -I/usr/local/include -I. -I.. -I/usr/local/mysql/i=
nclude/mysql -g -O2 -Wall bdb_create.c
/usr/local/bin/g++ -c -I/usr/local/include -I. -I.. -I/usr/local/mysql/i=
nclude/mysql -g -O2 -Wall bdb_get.c
/usr/local/bin/g++ -c -I/usr/local/include -I. -I.. -I/usr/local/mysql/i=
nclude/mysql -g -O2 -Wall bdb_update.c
/usr/local/bin/g++ -c -I/usr/local/include -I. -I.. -I/usr/local/mysql/i=
nclude/mysql -g -O2 -Wall bdb_delete.c
/usr/local/bin/g++ -c -I/usr/local/include -I. -I.. -I/usr/local/mysql/i=
nclude/mysql -g -O2 -Wall bdb_find.c
/usr/local/bin/g++ -c -I/usr/local/include -I. -I.. -I/usr/local/mysql/i=
nclude/mysql -g -O2 -Wall bdb_list.c
/usr/local/bin/g++ -c -I/usr/local/include -I. -I.. -I/usr/local/mysql/i=
nclude/mysql -g -O2 -Wall sql.c
sql.c: In function `void db_start_transaction(JCR*, B_DB*)':
sql.c:296: error: 'struct B_DB' has no member named 'allow_transactions'
sql.c:301: error: 'struct B_DB' has no member named 'transaction'
sql.c:304: error: 'struct B_DB' has no member named 'transaction'
sql.c:307: error: 'struct B_DB' has no member named 'transaction'
sql.c: In function `void db_end_transaction(JCR*, B_DB*)':
sql.c:346: error: 'struct B_DB' has no member named 'allow_transactions'
sql.c:350: error: 'struct B_DB' has no member named 'transaction'
sql.c:352: error: 'struct B_DB' has no member named 'transaction'
make[1]: *** [sql.o] Error 1
make[1]: Leaving directory `/export/home/install/download/bacula-1.38.9/src=
/cats'

=3D=3D=3D=3D=3D=3D Error in /export/home/install/download/bacula-1.38.9/s=
rc/cats =3D=3D=3D=3D=3D=3D

I tried with different version of Bacula and tried with precompiled MySql f=
rom MySql-Site and self compiled version of MySQL. I tried with MySql 4.1.2=
2 and 5.0.41 but non of them solve my compilation problems.
If I configure only with --with-postgresql=3D/usr/local/pgsql and do a make=
, all works fine.

What dos I miss?

mit freundlichen Gr=FCssen

Berner Martin
_____________________________________________________________

Martin Berner, EDV Tel.: ++41-(0)41-729 33 46
Schweizer Braunviehzuchtverband Fax : ++41-(0)41-729 33 77
Chamerstrasse 56 http://www.braunvieh.ch
6300 Zug Email: martin.berner < at > br...
_____________________________________________________________

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB