On 08/08/2010 05:56 PM, Kern Sibbald wrote:
> On Sunday 08 August 2010 17:19:08 Bruno Friedmann wrote:
>> Hi all,
>>
>> I'm actually trying to build the new rpm 5.0.3 on build.opensuse.org.
>> My work is based on the Scott 5.0.2 rpm and some adjustment made by Dass-It
>> in their repo.
>>
>> For the moment it's essentially a proof of concept work, and I would like
>> we open a big-real discussion how we can build,offer the maximum of rpm (or
>> derivative) with the minimal effort to all bacula users.
>>
>>
>> Locally the mysql build correctly, but online I get a non-comprehensible
>> error :
>>
>> =>Entering directory /usr/src/packages/BUILD/bacula-5.0.3/src/cats
>> make[1]: Entering directory `/usr/src/packages/BUILD/bacula-5.0.3/src/cats'
>> Compiling mysql.c
>> Compiling dbi.c
>> Compiling sql.c
>> Compiling sql_cmds.c
>> sql.c: In function 'void db_start_transaction(JCR*, B_DB*)':
>> sql.c:448:13: error: 'struct B_DB' has no member named 'transaction'
>> sql.c:451:14: error: 'struct B_DB' has no member named 'transaction'
>> sql.c:454:12: error: 'struct B_DB' has no member named 'transaction'
>> sql.c: In function 'void db_end_transaction(JCR*, B_DB*)':
>> sql.c:566:13: error: 'struct B_DB' has no member named 'transaction'
>> sql.c:568:12: error: 'struct B_DB' has no member named 'transaction'
>> Compiling sql_create.c
>> make[1]: *** [sql.lo] Error 1
>> make[1]: *** Waiting for unfinished jobs....
>> make[1]: Leaving directory `/usr/src/packages/BUILD/bacula-5.0.3/src/cats'
>>
>> I didn't understand why this doesn't work.
>> If anybody have an idea where to look ?
> 
> You have your #defines messed up.  Apparently you are building for MySQL, but 
> you have told Bacula somewhere or somehow that you are building PostgreSQL, 
> so it is apparently using MySQL headers to try to build PostgreSQL, which 
> will fail.
> 
> Kern
> 
>>
>> Location of the repo
>> https://build.opensuse.org/project/show?project=home%3Abruno_friedmann
> 
> 

Thx I will have a more big deeply check. I can't explain why it works when I 
build locally on my workstation.



-- 

Bruno Friedmann  [email protected]

Ioda-Net Sàrl www.ioda-net.ch

  openSUSE Member
    User www.ioda.net/r/osu
    Blog www.ioda.net/r/blog

  fsfe fellowship www.fsfe.org
  (bruno.friedmann (at) fsfe.org )

  tigerfoot on irc

GPG KEY : D5C9B751C4653227

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to