From: Scott Barninger Date: Sat, 27 Jan 2007 13:47:24 +0000 (+0000) Subject: Add fc6 X-Git-Tag: Release-2.0.2~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=afb19766c23aa8b6135af698b67c016f19a1ff49;p=bacula%2Fdocs Add fc6 --- diff --git a/docs/manual/rpm-faq.tex b/docs/manual/rpm-faq.tex index 6f413b90..e08491c1 100644 --- a/docs/manual/rpm-faq.tex +++ b/docs/manual/rpm-faq.tex @@ -1,10 +1,13 @@ %% %% -\chapter{Bacula RPM Packaging FAQ} -\label{RpmFaqChapter} +\section*{Bacula\raisebox{.6ex}{{\footnotesize +\textsuperscript{\textregistered}}} - RPM Packaging FAQ} +\label{_ChapterStart34} \index[general]{FAQ!Bacula\textsuperscript{\textregistered} - RPM Packaging } \index[general]{Bacula\textsuperscript{\textregistered} - RPM Packaging FAQ } +\addcontentsline{toc}{section}{Bacula\textsuperscript{\textregistered} - RPM +Packaging FAQ} \begin{enumerate} \item @@ -19,7 +22,7 @@ packages. Do I need to be root?}{faq4} \item \ilink{I'm building my own rpms but on all platforms and compiles I get an - unresolved dependency for something called + unresolved dependancy for something called /usr/afsws/bin/pagsh.}{faq5} \item \ilink{I'm building my own rpms because you don't publish for my platform. @@ -30,23 +33,24 @@ \ilink{I just upgraded from 1.36.x to 1.38.x and now my director daemon won't start. It appears to start but dies silently and I get a "connection refused" error when starting the console. What is wrong?}{faq8} \end{enumerate} -\section{Answers} +\subsection*{Answers} \index[general]{Answers } +\addcontentsline{toc}{subsection}{Answers} \begin{enumerate} \item \label{faq1} {\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 + RedHat 7.x (rh7), RedHat 8.0 (rh8), RedHat 9 (rh9), Fedora Core (fc1, + 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 dependency information that gets coded into the finished rpm package as well as any special configure options required. The platform define may be edited in the spec file directly (by default all defines are set to 0 or "not set"). - For example, to build the Red Hat 7.x package find the line in the spec file + For example, to build the RedHat 7.x package find the line in the spec file which reads \footnotesize @@ -88,6 +92,8 @@ Alternately you may pass the define on the command line when calling rpmbuild: %define mysql 0 OR %define mysql4 0 + OR + %define mysql5 0 \end{verbatim} \normalsize @@ -99,6 +105,8 @@ to %define mysql 1 OR %define mysql4 1 + OR + %define mysql5 1 \end{verbatim} \normalsize @@ -109,6 +117,7 @@ in the spec file directly or pass it to rpmbuild on the command line: \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 @@ -158,7 +167,7 @@ and add the following line: \end{verbatim} \normalsize -Another handy directive for the .rpmmacros file if you wish to suppress the +Another handy directive for the .rpmmacros file if you wish to supress the creation of debug rpm packages is: \footnotesize @@ -193,7 +202,7 @@ creation of debug rpm packages is: \label{faq7} {\bf Is there an easier way than sorting out all these command line options?} Yes, there is a gui wizard shell script which you can use to rebuild the src rpm package. - Look in the source archive for platforms/contrib-rpm/rpm\_wizard.sh. This script will + Look in the source archive for platforms/contrib-rpm/rpm_wizard.sh. This script will allow you to specify build options using gnome dialog screens. It requires zenity. \item @@ -203,8 +212,8 @@ creation of debug rpm packages is: \footnotesize \begin{verbatim} chown bacula.bacula /var/bacula/* - chown root.bacula /var/bacula/bacula-fd.9102.state - chown bacula.disk /var/bacula/bacula-sd.9103.state + chown root.bacula /var/bacula/bacula-fd.9102.state + chown bacula.disk /var/bacula/bacula-sd.9103.state \end{verbatim} \normalsize @@ -244,12 +253,13 @@ For 64 bit support add '--define "build_x86_64 1"' \end{verbatim} \normalsize -\section{Build Options} +\subsection*{Build Options} \index[general]{Build Options} +\addcontentsline{toc}{subsection}{Build Options} The spec file currently supports building on the following platforms: \footnotesize \begin{verbatim} -Red Hat builds +RedHat builds --define "build_rh7 1" --define "build_rh8 1" --define "build_rh9 1" @@ -259,11 +269,12 @@ Fedora Core build --define "build_fc3 1" --define "build_fc4 1" --define "build_fc5 1" +--define "build_fc6 1" Whitebox Enterprise build --define "build_wb3 1" -Red Hat Enterprise builds +RedHat Enterprise builds --define "build_rhel3 1" --define "build_rhel4 1" @@ -319,8 +330,9 @@ Modify the Packager tag for third party packages: \end{verbatim} \normalsize -\section{RPM Install Problems} +\subsection*{RPM Install Problems} \index[general]{RPM Install Problems} +\addcontentsline{toc}{subsection}{RPM Install Options} In general the RPMs, once properly built should install correctly. However, when attempting to run the daemons, a number of problems can occur: @@ -349,3 +361,4 @@ can occur: more information on devices. \end{itemize} +