Bacula-users

Re: [Bacula-users] enable batch inserts 2.4.4-b2

2008-12-31 21:23:25
Subject: Re: [Bacula-users] enable batch inserts 2.4.4-b2
From: Dan Langille <dan AT langille DOT org>
To: Michael Galloway <mgx AT ornl DOT gov>
Date: Wed, 31 Dec 2008 21:19:09 -0500
Michael Galloway wrote:
> On Wed, Dec 31, 2008 at 09:50:14AM -0500, Michael Galloway wrote:
>> good day all, 
>>
>> i'm working on a build of 2.4.4-b2 using postgresql, i'm trying to enable 
>> batch inserts:
>>
>>   $ ./configure --sbindir=/share/bacula/bin --sysconfdir=/share/bacula/bin 
>> --with-pid-dir=/share/bacula/bin/working 
>> --with-subsys-dir=/share/bacula/bin/workin
>> g --enable-batch-insert --enable-smartalloc --with-postgresql 
>> --with-readline --with-python --enable-bat 
>> --with-working-dir=/share/bacula/bin/working --with-d
>> ump-email=mgx AT ornl DOT gov --with-job-email=mgx AT ornl DOT gov 
>> --with-smtp-host=smtp.ornl.gov
>>
>> but when configure finishes, it reports:
>>
>> Configuration on Wed Dec 31 09:24:46 EST 2008:
>>
>>   Host:                    x86_64-unknown-linux-gnu -- suse 10
>>   Bacula version:          2.4.4-b2 (24 December 2008)
>>   Source code location:       .
>>   Install binaries:        /share/bacula/bin
>>   Install config files:       /share/bacula/bin
>>   Scripts directory:       /share/bacula/bin
>>   Archive directory:       
>>   Working directory:       /share/bacula/bin/working
>>   PID directory:           /share/bacula/bin/working
>>   Subsys directory:        /share/bacula/bin/working
>>   Man directory:           ${datarootdir}/man
>>   Data directory:          ${prefix}/share
>>   C Compiler:                      gcc 4.1.2
>>   C++ Compiler:            /usr/bin/g++ 4.1.2
>>   Compiler flags:           -g -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:           PostgreSQL
>>   Database lib:            -L/usr/lib64 -lpq -lcrypt
>>   Database name:           bacula
>>   Database user:           bacula
>>
>>   Job Output Email:        mgx AT ornl DOT gov
>>   Traceback Email:         mgx AT ornl DOT gov
>>   SMTP Host Address:       smtp.ornl.gov
>>
>>   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 -lncurses
>>   readline support:        no 
>>   TCP Wrappers support:       no 
>>   TLS support:                     no
>>   Encryption support:              no
>>   ZLIB support:            yes
>>   enable-smartalloc:       yes
>>   bat support:                     yes 
>>   enable-gnome:            no 
>>   enable-bwx-console:              no 
>>   enable-tray-monitor:             
>>   client-only:                     no
>>   build-dird:                      yes
>>   build-stored:            yes
>>   ACL support:                     no
>>   Python support:          yes -L/usr/lib64/python2.4/config -lpython2.4 
>> -lutil -lrt 
>>   Batch insert enabled:       no
>>
>> i think my postgres is ok,
>>
>>  nm /usr/lib64/libpq.so | grep pthread_mutex_lock
>>                  U pthread_mutex_lock@@GLIBC_2.2.5
>>
>> am i doing something incorrect?
>>
>> -- michael
>>
> 
> ok, looks like configure simply fails to consider share libraries for 
> postgres. is this a bug or an issues?
> i'd installed postgres from rpm. i can build from source statically if i need 
> to.

Known and documented issue: 
http://www.bacula.org/en/rel-manual/Installi_Configur_PostgreS.html

Well, so I think.  Do you mean share libraries?  Or do you mean 
-enable-thread-safety option when doing the ./configure for PostgreSQL?


------------------------------------------------------------------------------
_______________________________________________
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>