From: D. S. B. <bar...@fa...> - 2004-03-15 21:47:51
|
On Mon, 2004-03-15 at 15:16, Chris Hirsch wrote: > D. Scott Barninger wrote: > > Hello, > > > > I've released the rpm packages for 1.32f-5 to sourceforge. See the > > release notes attached. > > > > > > Hi there...I've trying to compile your src package for the 1.32f-5 and for some reason I never see the mysql binaries like there were in your previous releases. Specifically I'm looking to build bacula-mysql-1.32f-5.i386.fc1.rpm (actually Fedora Core2) but I can't seem to get it to build by default from the SRPM. Am I missing something obvious? > > I've tried: > rpmbuild --rebuild bacula-1.32f-5.src.rpm > and > rpmbuild --rebuild --define '_extras --with-mysql' bacula-1.32f-5.src.rpm > > Thanks! Hello, You need to pass 2 defines to rpmbuild, one for the platform and one for the database support desired. Please examine the configuration section at the top of the spec file. As an example, to build with mysql support on Fedora Core 1: rpmbuild --rebuild --define "build_fc1 1" --define "build_mysql 1" bacula-1.32f-5.src.rpm I think the fc1 define should be ok for Fedora Core 2. The platform defines only control dependancy information. The lack of the mysql define is what is causing the packages not to be produced. |