Re: bacula server without gconsole

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Craig White <craigwhite@xxxxxxxxxxx> wrote:
> On Tue, 2006-04-11 at 19:35 -0700, RYAN M. vAN GINNEKEN wrote:
> > ----- Craig White <craigwhite@xxxxxxxxxxx> wrote:
> 
> > > > [king@shoemasters SOURCES]$ rpmbuild -bb --define 'fc3 1'
> --define
> > > 'build_mysql 1' --define 'nobuild_gconsole 1' 
> > > bacula-1.38.6-1.src.rpm
> > > > error: File /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm
> does
> > > not appear to be a specfile.
> > > > [king@shoemasters SOURCES]$ ls
> > > > bacula-1.38.6-1.src.rpm       bacula-docs-1.38.6.tar.gz
> > > > bacula-1.38.6-makefile.patch  bacula-rescue-1.8.2.tar.gz
> > > > bacula-1.38.6-script.patch    depkgs-22Jun05.tar.gz
> > > > bacula-1.38.6.tar.gz          Release_Notes-1.38.6-1.tar.gz
> > > ----
> > > OK then...
> > > 
> > > rpmbuild --rebuild \
> > > --define 'fc3 1' \
> > > --define 'build_mysql 1' \
> > > --define 'nobuild_gconsole 1' \
> > > /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm
> > > 
> > > though I'm not quite sure if you don't need to add '--with'
> > > 
> > > if that were the case...
> > > 
> > > rpmbuild --rebuild \
> > > /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm \
> > > --with \
> > > --define 'fc3 1' \
> > > --define 'build_mysql 1' \
> > > --define 'nobuild_gconsole 1' \
> > > 
> > > or something like that
> > > 
> > > Craig
> > > 
> > Nope still seems to be a problem with the specfile what is fedora
> talking about where is this file so i can look at line 68?
> > 
> > 
> > [king@shoemasters SOURCES]$ rpmbuild --rebuild
> /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm --with \ --define
> 'fc3 1' --define 'build_mysql 1' --define 'nobuild_gconsole 1'
> /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm
> > Installing /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm
> > warning: user sbarn does not exist - using root
> > warning: user sbarn does not exist - using root
> > warning: user sbarn does not exist - using root
> > warning: user sbarn does not exist - using root
> > warning: user sbarn does not exist - using root
> > warning: user sbarn does not exist - using root
> > warning: user sbarn does not exist - using root
> > warning: user sbarn does not exist - using root
> > error:  You must specify a platform. Please examine the spec file.
> > error: line 68: Unknown tag: exit 1
> ----
> make sure you try both of these methods...
> 
> rpmbuild --rebuild \
> --with \
> --define 'fc3 1' \
> --define 'build_mysql 1' \
> --define 'nobuild_gconsole 1' \
> /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm
> 
> or
> 
> rpmbuild --rebuild \
> --define 'fc3 1' \
> --define 'build_mysql 1' \
> --define 'nobuild_gconsole 1' \
> /home/king/rpmbuild/SOURCES/bacula-1.38.6-1.src.rpm
> 
> one of these should work.
> 
> If you were to install the source rpm, you would have the spec file
> and
> could build it like I normally do but I am not entirely certain how
> to
> pass the parameters when you want to rebuild the src rpm with build
> options...you have all the information you need and you can check
> 'rpmbuild --usage' to see if you can glean the proper format of the
> command.
> 

Tried both neither worked for me, man oh man do i wish this was a FreeBSD box.  Anyhow it is not! so rather than frig around for more hours and hours trying to get mysql to do its thing i just built with sqlite.  

Now i have another problem can't create transaction lock what is all that about? permission problems? should i build as root?

[king@shoemasters i386]$ ls
bacula-client-1.38.6-1.i386.rpm     bacula-sqlite-1.38.6-1.i386.rpm
bacula-debuginfo-1.38.6-1.i386.rpm  bacula-updatedb-1.38.6-1.i386.rpm
bacula-mtx-1.38.6-1.i386.rpm
[king@shoemasters i386]$ rpm -i bacula-client-1.38.6-1.i386.rpm
error: can't create transaction lock
[king@shoemasters i386]$ rpm -i bacula-client-1.38.6-1.i386.rpm
error: can't create transaction lock
[king@shoemasters i386]$ rpm -i bacula-sqlite-1.38.6-1.i386.rpm
error: can't create transaction lock



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux