Re: bacula server without gconsole

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

 



----- Craig White <craigwhite@xxxxxxxxxxx> wrote:
> On Thu, 2006-04-13 at 00:03 +0100, Paul Howarth wrote:
> > On Wed, 2006-04-12 at 15:16 -0700, RYAN M. vAN GINNEKEN wrote:
> > > ----- Paul Howarth <paul@xxxxxxxxxxxx> wrote:
> > > > On Wed, 2006-04-12 at 13:48 -0700, RYAN M. vAN GINNEKEN wrote:
> > > > > ----- Paul Howarth <paul@xxxxxxxxxxxx> wrote:
> > > > > > You only need to add the --define 'nobuild_gconsole 1' to
> the
> > > > working
> > > > > > recipe you had in the previous thread last month:
> > > > > > 
> > > > > > $ rpmbuild --rebuild \
> > > > > >         --define 'build_fc3 1' \
> > > > > >         --define 'build_mysql 1' \
> > > > > >         --define 'nobuild_gconsole 1' \
> > > > > >         bacula-1.38.6-1.src.rpm
> > > > > > 
> > > > > > > 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
> > > > > > 
> > > > > > You build the package as a regular user but you must install
> it
> > > > as
> > > > > > root.
> > > > > > 
> > > > > Getting errors from bacula about the database not existing,
> and that
> > > > i should create it.  When i try to create i get errors from
> fedora
> > > > about missing directories.  I went into the deppgd directory and
> typed
> > > > make like the docs explained and sqlite seemed to make just
> fine.  I
> > > > still get the error below regarding database creation.
> > > > > 
> > > > > ./create_sqlite_database
> > > > > ./create_sqlite_database: line 9:
> > > > /home/king/rpmbuild/BUILD/bacula-1.38.6/../depkgs/sqlite/sqlite:
> No
> > > > such file or directory
> > > > > 
> > > > > Sure enough when i go to the dirctory mentioned there is a
> file
> > > > named sqlite 
> > > > > 
> > > > > [root@shoemasters sqlite]# ls -l
> > > > > total 608
> > > > > -rw-r--r--  1 king wheel 322988 Apr 12 13:35 libsqlite.a
> > > > > -rwxr-xr-x  1 king wheel 248817 Apr 12 13:35 sqlite
> > > > > -rw-r--r--  1 king wheel  38376 Apr 12 13:35 sqlite.h
> > > > 
> > > > What's all this sqlite stuff? I thought you wanted to build/use
> the
> > > > mysql version?
> > > > 
> > > I did but mysql was being a real pain and would not build the
> rpms. Bacula needs mysql-devel version 4 or better and fedora core 3
> only has version 3 something of the mysql-devel package.
> > 
> > Only if you ask it to build for mysql4 like you were doing with
> > "--define 'build_mysql4 1'"
> > 
> > Use "--define 'build_mysql 1'" as I suggested above and it should
> be
> > fine.
> ----
> not that it makes a difference and if you and I were both giving
> advice,
> I'd go with yours myself but I think you and I have both given him
> the
> exact command more than once (though yours had more indentations on
> the
> following lines)
> 
> Craig
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

Thanks alot folks i am a real nub at this rpmbuilding stuff not sure where i got the 4 bit stuff from but u are right it worked without it.  yeehaa bacula with mysql on fedora core 3 THANKS again could not have done it without ya.  Well mabey i could have figured it out but it would have probably taken months.

  
-- 
Computer King/CaNMail

http://www.computerking.ca     http://www.canmail.org

Sales, Service, and Hosting
Email, Data, and Web Packages
Ask about web design specials

Affiliates
http://www.computerking.ca/pages/links/affiliates/affiliates.htm

Maybe Computer Science should be in the College of Theology. -- R. S. Barton 


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

  Powered by Linux