bacula server without gconsole
Paul Howarth
paul at city-fan.org
Wed Apr 12 21:01:32 UTC 2006
On Wed, 2006-04-12 at 13:48 -0700, RYAN M. vAN GINNEKEN wrote:
> ----- Paul Howarth <paul at city-fan.org> 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 at 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 at shoemasters i386]$ rpm -i bacula-client-1.38.6-1.i386.rpm
> > > error: can't create transaction lock
> > > [king at shoemasters i386]$ rpm -i bacula-client-1.38.6-1.i386.rpm
> > > error: can't create transaction lock
> > > [king at 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 at 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?
Paul.
More information about the fedora-list
mailing list