[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-devel
Subject:    Re: [Bacula-devel] libdbi backend to catalog database
From:       Kern Sibbald <kern () sibbald ! com>
Date:       2008-02-27 16:11:16
Message-ID: 200802271711.16573.kern () sibbald ! com
[Download RAW message or body]

Hello João,

I've applied your patch and it is now in the SVN.  Many thanks.

Best regards,

Kern


On Tuesday 26 February 2008 01.29:17 João Henrique Freitas wrote:
> Hello,
>
> Kern, this patch fix the make install question without break things.
>
> So far only mysql and postgresql.
>
> ./configure --with-dbi --with-dbi-driver=mysql will configure the
> scripts to databases. The output is:
>
>
>   Host:                       i686-pc-linux-gnu -- debian lenny/sid
>   Bacula version:             2.3.10 (24 February 2008)
>   Source code location:       .
>   Install binaries:           /home/jhf-notebook/tmp/bacula//sbin
>   Install config files:       /home/jhf-notebook/tmp/bacula//etc
>   Scripts directory:          /home/jhf-notebook/tmp/bacula//etc
>   Archive directory:
>   Working directory:         
> /home/jhf-notebook/tmp/bacula//var/bacula/working PID directory:           
>   /var/run
>   Subsys directory:           /var/run/subsys
>   Man directory:              ${datarootdir}/man
>   Data directory:             ${prefix}/share
>   C Compiler:                 gcc 4.1.3
>   C++ Compiler:               /usr/bin/g++ 4.1.3
>   Compiler flags:              -g -O2 -Wall -fno-strict-aliasing
> -fno-exceptions -fno-rtti
>   Linker flags:
>   Libraries:                  -lpthread -ldl
>   Statically Linked Tools:    no
>   Statically Linked FD:       no
>   Statically Linked SD:       no
>   Statically Linked DIR:      no
>   Statically Linked CONS:     no
>   Database type:              mysql                  
> <------------------------- Database lib:               -L/usr/local/lib
> -ldbi  <------------------------- Database name:              bacula
>   Database user:              bacula
>
>   Job Output Email:           root@localhost
>   Traceback Email:            root@localhost
>   SMTP Host Address:          localhost
>
>   Director Port:              9101
>   File daemon Port:           9102
>   Storage daemon Port:        9103
>
>   Director User:
>   Director Group:
>   Storage Daemon User:
>   Storage DaemonGroup:
>   File Daemon User:
>   File Daemon Group:
>
>   SQL binaries Directory      /usr/bin
>
>   Large file support:         yes
>   Bacula conio support:       yes -ltermcap
>   readline support:           no
>   TCP Wrappers support:       no
>   TLS support:                no
>   Encryption support:         no
>   ZLIB support:               yes
>   enable-smartalloc:          yes
>   bat support:                no
>   enable-gnome:               no
>   enable-bwx-console:         no
>   enable-tray-monitor:
>   client-only:                no
>   build-dird:                 yes
>   build-stored:               yes
>   ACL support:                no
>   Python support:             no
>   Batch insert enabled:       no
>
> On Sun, Feb 24, 2008 at 7:05 PM, David Boyes <dboyes@sinenomine.net> wrote:
> > > > I will think more about this and do some explorations.
> >  >
> >  > I haven't really looked at where DB_TYPE is used, but we might want to
> >  > implement a DB_TYPE and a new DB_PROG variable so that we can keep
> >
> >  your
> >
> >  > DBI
> >  > type ...
> >
> >  This (IMHO) seems to be the Right Thing. Set DB_TYPE to DBI, and DB_PROG
> >  to the correct database program identifier, triggering script install
> >  and run on DB_PROG. I think it's the least surprising method.
> >
> >
> >
> >
> > 
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> >  Defy all challenges. Microsoft(R) Visual Studio 2008.
> >  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> >  _______________________________________________
> >  Bacula-devel mailing list
> >  Bacula-devel@lists.sourceforge.net
> >  https://lists.sourceforge.net/lists/listinfo/bacula-devel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic