On 08/16/2010 08:58 PM, Martin Simmons wrote:
>>>>>> On Mon, 16 Aug 2010 15:31:32 +0200, Bruno Friedmann said:
>>
>> Hi all.
>>
>> Trying to build the "most not bad package" I'm trying to understand what I 
>> need to do to have a good
>> bacula-lib rpm.
>>
>> I'm in the process to conclude that I need two separated package which 
>> conflict each others
>> bacula-client + bacula-client-libs
>> conflict
>> bacula-mysql + bacula-mysql-libs
>> bacula-sqlite + bacula-sqlite-libs
>> bacula-postgrsql + bacula-postgresql-libs
> 
> Why are the bacula-$dbtype-libs packages needed?  It might be better to put
> libbacsql into bacula-$dbtype since nothing else can depend on it (right?).
> Then bacula-client and bacula-$dbtype can depend on bacula-libs like they do
> now.

I agree also on this approach.

> 
> 
>> Also I didn't understand why I finish with a batch-insert-enable = no with 
>> mysql & postgresql even if I specify the
>> --enable-batch-insert at ./configure
> 
> For postgresql, check the configure output for:
> 
> checking for PQisthreadsafe in -lpq... yes
> checking for PQputCopyData in -lpq... yes
> 
> If either of these says "no" then batch insert will be switched off.
> 
> __Martin

ok so there's a trouble that I don't understand for the moment ...

I've the two lines
checking for PQisthreadsafe in -lpq... yes
checking for PQputCopyData in -lpq... yes

also in pg_config the enable-thread-safety is here.

pg_config
BINDIR = /usr/bin
DOCDIR = /usr/share/doc/packages/postgresql
HTMLDIR = /usr/share/doc/packages/postgresql
INCLUDEDIR = /usr/include/pgsql
PKGINCLUDEDIR = /usr/include/pgsql
INCLUDEDIR-SERVER = /usr/include/pgsql/server
LIBDIR = /usr/lib
PKGLIBDIR = /usr/lib/postgresql
LOCALEDIR = /usr/share/locale
MANDIR = /usr/share/man
SHAREDIR = /usr/share/postgresql
SYSCONFDIR = /etc/postgresql
PGXS = /usr/lib/postgresql/pgxs/src/makefiles/pgxs.mk
CONFIGURE = '--host=i686-pc-linux-gnu' '--build=i686-pc-linux-gnu' 
'--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr'
'--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' 
'--datadir=/usr/share' '--includedir=/usr/include'
'--libdir=/usr/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' 
'--sharedstatedir=/usr/com' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--includedir=/usr/include/pgsql' 
'--datadir=/usr/share/postgresql'
'--docdir=/usr/share/doc/packages' '--disable-rpath' '--enable-nls' 
'--enable-thread-safety' '--enable-integer-datetimes'
'--without-python' '--without-perl' '--without-tcl' '--with-openssl' 
'--with-pam' '--with-ldap' '--with-gssapi' '--with-libxml'
'--with-libxslt' '--with-krb5' '--with-system-tzdata=/usr/share/zoneinfo' 
'build_alias=i686-pc-linux-gnu'
'host_alias=i686-pc-linux-gnu' 'CFLAGS=-fomit-frame-pointer -fmessage-length=0 
-O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector
-funwind-tables -fasynchronous-unwind-tables '
CC = gcc
CPPFLAGS = -D_GNU_SOURCE -I/usr/include/libxml2
CFLAGS = -fomit-frame-pointer -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 
-fstack-protector -funwind-tables
-fasynchronous-unwind-tables  -Wall -Wmissing-prototypes -Wpointer-arith 
-Wdeclaration-after-statement -Wendif-labels
-fno-strict-aliasing -fwrapv
CFLAGS_SL = -fpic
LDFLAGS = -Wl,--as-needed
LDFLAGS_SL =
LIBS = -lpgport -lxslt -lxml2 -lpam -lssl -lcrypto -lkrb5 -lcom_err 
-lgssapi_krb5 -lz -lreadline -lcrypt -ldl -lm
VERSION = PostgreSQL 8.4.4

Any ideas where to look ? I've also tested against the git branches with the 
same result.


-- 

Bruno Friedmann  br...@ioda-net.ch

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
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to