Dave Sutherland <> wrote:
> Hi,
> 
> I have CentOS running on a dual AMD optron system and would like to
> compile the Bacula source for this operating system.  I have MySQL
> version 4.1.9 installed and setup.  I believe the CentOS Linux is
> very similar to Redhat Enterprise Linux.   
> 
> What configure options do I need in order for the make to be
> successful (other than the normal config options).  For example is
> there a special option for mysql4?  

I just did this a couple of days ago.

First, get the src rpm, that will make thing easier as you'll
only have to edit the spec file.

Here's the diff (I hope, this was on the fly and I didn't
check everything.)  Basically, you can edit the spec and
copy every line that has "wb3" and edit it to centos3 (or
whatever).

HTH and good luck,

--J(K)

33,35d32
< # CentOS
< %define centos3 1
< %{?build_centos3:%define centos3 1}
40d36
< %{?build_rhel3:%define centos3 1}
49c45
< %if ! %{rh7} && ! %{rh8} && ! %{rh9} && ! %{fc1} && ! %{fc3} && ! %{wb3} && ! 
%{su9} && ! %{mdk} && ! %{centos3}
---
> %if ! %{rh7} && ! %{rh8} && ! %{rh9} && ! %{fc1} && ! %{fc3} && ! %{wb3} && ! 
> %{su9} && ! %{mdk}
83,85d78
< %if %{centos3} && ! %{rhel3}
< %define _dist %(grep CentOS /etc/redhat-release)
< %endif
190,193d182
< %if %{postgresql} && %{centos3}
< BuildRequires: rh-postgresql-devel >= 7
< %endif
<
198,201d186
< %if %{postgresql} && ! %{centos3}
< BuildRequires: postgresql-devel >= 7
< %endif
<
267,274d251
< %if %{postgresql} && %{centos3}
< Requires: rh-postgresql >= 7
< Requires: rh-postgresql-server >= 7
< %endif
< %if %{postgresql} && ! %{centos3}
< Requires: postgresql >= 7
< Requires: postgresql-server >= 7
< %endif
658c635
< %if %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{mdk} || %{centos3}
---
> %if %{rh8} || %{rh9} || %{wb3} || %{fc1} || %{fc3} || %{mdk}




-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to