{\bf How do I build Bacula for platform xxx?}
The bacula spec file contains defines to build for several platforms:
Red Hat 7.x (rh7), Red Hat 8.0 (rh8), Red Hat 9 (rh9), Fedora Core (fc1,
- fc3, fc4, fc5), Whitebox Enterprise Linux 3.0 (wb3), Red Hat Enterprise Linux
+ fc3, fc4, fc5, fc6), Whitebox Enterprise Linux 3.0 (wb3), Red Hat Enterprise Linux
(rhel3, rhel4), Mandrake 10.x (mdk), Mandriva 2006.x (mdv) CentOS (centos3, centos4)
and SuSE (su9, su10). The package build is controlled by a mandatory define set at
the beginning of the file. These defines basically just control the
%define mysql 0
OR
%define mysql4 0
+ OR
+ %define mysql5 0
\end{verbatim}
\normalsize
%define mysql 1
OR
%define mysql4 1
+ OR
+ %define mysql5 1
\end{verbatim}
\normalsize
\begin{verbatim}
rpmbuild -ba --define "build_rh7 1" --define "build_mysql 1" bacula.spec
rpmbuild -ba --define "build_rh7 1" --define "build_mysql4 1" bacula.spec
+ rpmbuild -ba --define "build_rh7 1" --define "build_mysql5 1" bacula.spec
\end{verbatim}
\normalsize
--define "build_fc3 1"
--define "build_fc4 1"
--define "build_fc5 1"
+--define "build_fc6 1"
Whitebox Enterprise build
--define "build_wb3 1"