Bacula-users

[Bacula-users] Can 5.0.1-2 be built for FC6?

2010-04-28 14:03:15
Subject: [Bacula-users] Can 5.0.1-2 be built for FC6?
From: "Steve Tice" <stice AT Crossroads DOT com>
To: <bacula-users AT lists.sourceforge DOT net>
Date: Wed, 28 Apr 2010 13:01:17 -0500

Kind Bacula Users,

 

I am attempting to build and use bacula-5.0.1-2 under Fedora Core 6. (The OS is not mine to upgrade, so need to find a way to work with FC6.) Has anyone done that?

 

I have tried building from source rpm (and installing the resulting base rpm) without success. Here’s what I’ve done plus the results of same:

 

  1. Downloaded bacula-5.0.1-2.src.rpm, and installed it on my FC6 build system under /usr/src/redhat/SRPMS.
  2. Changed permissions on /usr/src/redhat (and all its subdirectories) so that ordinary users can read and write there.
  3. As an ordinary user, executed

rpmbuild -ba --define "build_fc6 1" --define "fedora_version 6" --define "build_postgresql 1" /usr/src/redhat/SPECS/bacula.spec > rpmbuild.log 2>&1

 

According to rpmbuild.log, this may be producing a good build. The following (possibly benign) error messages were found:

 

+ rm -rf /var/tmp/bacula-root

+ mkdir -p /var/tmp/bacula-root/etc/init.d

+ mkdir -p /var/tmp/bacula-root/etc/logrotate.d

+ mkdir -p /var/tmp/bacula-root/etc/logwatch/conf/logfiles

+ mkdir -p /var/tmp/bacula-root/etc/logwatch/conf/services

+ mkdir -p /var/tmp/bacula-root/etc/logwatch/scripts/services

+ mkdir -p /var/tmp/bacula-root/etc/logwatch/scripts/shared

+ mkdir -p /var/tmp/bacula-root/usr/lib/bacula/updatedb

+ mkdir -p /var/tmp/bacula-root/etc/pam.d

+ mkdir -p /var/tmp/bacula-root/usr/sbin

+ make DESTDIR=/var/tmp/bacula-root install

./autoconf/mkinstalldirs /var/tmp/bacula-root/usr/sbin

./autoconf/mkinstalldirs /var/tmp/bacula-root/etc/bacula

mkdir -p -- /var/tmp/bacula-root/etc/bacula

./autoconf/mkinstalldirs /var/tmp/bacula-root/usr/lib/bacula

./autoconf/mkinstalldirs /var/tmp/bacula-root/usr/share/doc/bacula

mkdir -p -- /var/tmp/bacula-root/usr/share/doc/bacula

./autoconf/mkinstalldirs /var/tmp/bacula-root/tmp

mkdir -p -- /var/tmp/bacula-root/tmp

if test ! -d /var/tmp/bacula-root/var/lib/bacula ; then \

           ./autoconf/mkinstalldirs /var/tmp/bacula-root/var/lib/bacula; \

           chmod 770 /var/tmp/bacula-root/var/lib/bacula; \

        fi

mkdir -p -- /var/tmp/bacula-root/var/lib/bacula

if test "xbacula" != "x" ; then \

           chown bacula /var/tmp/bacula-root/var/lib/bacula; \

        fi

chown: changing ownership of `/var/tmp/bacula-root/var/lib/bacula': Operation no

t permitted

make: [installdirs] Error 1 (ignored)

if test "xbacula" != "x" ; then \

           chgrp bacula /var/tmp/bacula-root/var/lib/bacula; \

        fi

chgrp: changing group of `/var/tmp/bacula-root/var/lib/bacula': Operation not pe

rmitted

make: [installdirs] Error 1 (ignored)

make[1]: Entering directory `/usr/src/redhat/BUILD/bacula-5.0.1/src'

 

  1. Attempting to install the resulting bacula-postgresql-5.0.1-2.i386.rpm fails the dependency check:

[root@target]# rpm -i bacula-postgresql-5.0.1-2.i386.rpm

error: Failed dependencies:

        libpq.so.5 is needed by bacula-postgresql-5.0.1-2.i386

        perl(Logwatch) is needed by bacula-postgresql-5.0.1-2.i386

[root@target]#

 

I can resolve the perl(Logwatch) dependency easily enough, but I’m at a loss as to how to deal with the libpq.so.5 dependency. The shared library is provided by postgresql-libs for PostgreSQL 8.2 and later, but upgrading the database server to that version is not an option in this environment. Yet I haven’t found a way to “turn off” the requirement of libpq.so.5.

 

Is it possible to require libpq.so.4 instead of libpq.so.5? Do we know it’s possible to build and use bacula-5.0.1 under FC6?

 

Thanks,

Steve Tice

 


CONFIDENTIAL: This email, including its contents and attachments, if any, are confidential. If the reader of this e-mail is not an intended recipient, you have received this e-mail in error and any review, dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately by return e-mail at [emailaddress AT crossroads DOT com] and permanently delete the copy you received. Copyright and other intellectual property rights in its contents are the sole property of Crossroads Systems, Inc. Email transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of the message which arise as a result of email transmission. Although we routinely screen for viruses, addressees should check this email and any attachments for viruses. We make no representation or warranty as to the absence of viruses in this email or any attachments.

------------------------------------------------------------------------------
_______________________________________________
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>
  • [Bacula-users] Can 5.0.1-2 be built for FC6?, Steve Tice <=