I use Bacula 2.2.5 installed from Blastwave packages. The packages do not
come with bat because the Qt4 dependency is not yet a Blastwave package.
This is how I installed the pre-requisites, compiled Qt4, qtw, and bat.
First, I setup Blastwave and installed Bacula. Those instructions were
provided by someone else and can be found in the list archives.
I then installed many Solaris Freeware packages (SFW) available from the Sun
download site.
SFWaalib
SFWaconf
SFWamake
SFWasclk
SFWbdb
SFWcoreu
SFWcurl
SFWdb1
SFWdiffu
SFWfile
SFWfnlib
SFWgawk
SFWgcal
SFWgcmn
SFWgd
SFWgdb
SFWgfind
SFWimlib
SFWlibsane
SFWlpcap
SFWltool
SFWlynx
SFWmpeg
SFWncur
SFWnmap
SFWnpbm
SFWoggl
SFWpcre
SFWrline
SFWrsync
SFWscrn
SFWsed
SFWsgrep
SFWshar
SFWslang
SFWtclx
SFWtdmp
SFWter
SFWtetex
SFWtop
SFWungif
SFWvim
SFWvnc
SFWxaw3d
SFWxterm
I used the gcc from Blastwave, so if it wasn't installed as a dependency
when you installed pkg-get and Bacula, install it now with "pkg-get -i
gcc3".
I then made sure to have $PATH and $LD_LIBRARY_PATH set correctly. This
should include both the Solaris lib locations as well as SFW and
CSW(Blastwave)
echo $PATH
/opt/sfw/bin:/opt/sfw/sbin:/opt/csw/bin:/opt/csw/sbin:/opt/csw/gcc3/bin:/opt/csw/mysql4/bin:/usr/sbin:/usr/bin:/usr/dt/bin:/usr/openwin/bin:/usr/ccs/bin:/usr/local/bin:/usr/local/sbin
echo $LD_LIBRARY_PATH
/lib:/usr/lib:/usr/local/lib:/usr/sfw/lib:/opt/sfw/lib:/opt/csw/lib
Once these things were done I downloaded the bacula-2.2.5 src, the dep-pkgs
src, and the qt4 src. I first compiled qt4 with the default options to
configure and installing it in /usr/local. This is very straight forward.
Next I compiled qwt from the dep-pkgs. Basically just go into the
qwt-5.0.2directory, edit the
qwtconfig.pri for your options, and run qmake. Then run make and make
install. Again, straight forward.
Finally its time to compile bat. Bat does not compile on its own, and must
be done during the compilation of bacula itself. Use configure with all the
options for a regular compilation of Bacula with the addition of the
following flags
"--enable-bat" and "--with-qwt=path_to_qwt"
In order to get configure to recognize where qwt is installed the Qt*.pc
files located in path_to_qt4/lib/pkgconfig must be copied to
/usr/lib/pkgconfig.
Also when you configure Bacula, specify an alternate installation path than
the one that Blastwave Bacula is installed to. I was using $HOME as the
base.
Now just run make. Bat will compile and be in the bacula-2.2.5/qt-console
directory. I copied bat to /opt/csw/sbin and bat.conf to /opt/csw/etc/bacula
(where Blastwave's files are located)
This is not a very detailed set of instructions, but does cover the hurdles
that I encountered when getting this to work correctly. I hope you find it
useful
-Shon
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell. From the desktop to the data center, Linux is going
mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users