From: Scott B. <sco...@co...> - 2006-07-10 21:58:27
|
On Mon, 2006-07-10 at 16:32 -0400, Andrew Klaassen wrote: > Hi, all. > > I've just gone through a full two-day process trying to get bacula > installed from a source rpm on an x64 machine running Centos4. Much of > that time was spent getting wxGTK-2.6.3 to compile, but there were a > couple of bacula problems that arose. > > 1) tray building failed with a "failure to find compatible X11 lib" with > gconsole enabled and wxconsole disabled. > > 2) wxconsole installation failed with "cannot create regular file > '/var/tmp/bacula-root/usr/share/applications/wxconsole.desktop", and, > when that was fixed, a few similar errors. > > I didn't figure out how to solve the first problem, but the second > problem was solved (perhaps non-portably) with the following patch: > > --- bacula.spec.orig 2006-07-10 16:22:15.590030267 -0400 > +++ bacula.spec 2006-07-10 16:22:33.248533372 -0400 > @@ -836,15 +836,11 @@ > mkdir -p $RPM_BUILD_ROOT/etc/log.d/conf/services > mkdir -p $RPM_BUILD_ROOT/etc/log.d/scripts/services > mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps > -%if %{gconsole} > mkdir -p $RPM_BUILD_ROOT/usr/share/applications > -%endif > mkdir -p $RPM_BUILD_ROOT/etc/bacula/updatedb > -%if %{gconsole} && ! %{su9} && ! %{su10} > mkdir -p $RPM_BUILD_ROOT/etc/pam.d > mkdir -p $RPM_BUILD_ROOT/etc/security/console.apps > mkdir -p $RPM_BUILD_ROOT/usr/bin > -%endif > > %if %{sqlite} > mkdir -p $RPM_BUILD_ROOT%{sqlite_bindir} > > > Andrew Hello, Please advise the build commands you were using. |