Bacula-users

[Bacula-users] Howto: Building Bacula 2.4.x (or 2.5.x) with Bat QT-console on RHEL 5 / CentOS 5

2008-07-10 06:11:10
Subject: [Bacula-users] Howto: Building Bacula 2.4.x (or 2.5.x) with Bat QT-console on RHEL 5 / CentOS 5
From: Pasi Kärkkäinen <pasik AT iki DOT fi>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 10 Jul 2008 13:10:55 +0300
Hello list!

It took some time for me to figure out what's needed to build Bacula with
Bat support..

Bat requires QT 4.3, but RHEL 5 / CentOS 5 only has QT 4.2 packages included
in the distribution. 

So, you have two options.. 

1) Patch bacula/bat to build with older QT 4.2 (patch included in the email 
below):

http://www.nabble.com/Re%3A-Building-bacula-with-bat-on-CentOS-5%2C-build%09failure-related-to-QT-p18378534.html

remember to install qt4-devel:
yum install qt4-devel


2) Or Install QT 4.3 rpm's

http://rpm.pbone.net/index.php3/stat/4/idpl/6806872/com/qt43-4.3.4-1.el5.pp.i386.rpm.html
http://rpm.pbone.net/index.php3/stat/4/idpl/6831747/com/qt43-devel-4.3.4-1.el5.pp.i386.rpm.html

Note these qt43 packages also require libXfixes-devel rpm installed, and
qt4-devel removed:

yum install libXfixes-devel
rpm -e --nodeps qt4-devel
rpm -Uvh qt43*


In addition to either 1) or 2) above you also need to install qwt and qwt-devel:

http://rpm.pbone.net/index.php3/stat/4/idpl/5289285/com/qwt-5.0.2-5.el5.i386.rpm.html
http://rpm.pbone.net/index.php3/stat/4/idpl/5288586/com/qwt-devel-5.0.2-5.el5.i386.rpm.html


One more thing.. set up PATH so that QT's qmake can be found:

If using QT 4.2: export PATH="$PATH:/usr/lib/qt4/bin"
If using QT 4.3: export PATH="$PATH:/usr/lib/qt43/bin"


Then you're ready to configure.. in addition to all the normal configure
options add: "--with-qwt=/usr --enable-bat"

configure summary should say something like this:

bat support:                yes -L/usr/lib

And that should be it!

Thanks to everyone who helped!

-- Pasi

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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] Howto: Building Bacula 2.4.x (or 2.5.x) with Bat QT-console on RHEL 5 / CentOS 5, Pasi Kärkkäinen <=