Bacula-users

Re: [Bacula-users] Bat 3.0.1 from src.rpm not working

2009-06-19 19:28:26
Subject: Re: [Bacula-users] Bat 3.0.1 from src.rpm not working
From: Mark Nienberg <gmane AT tippingmar DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 19 Jun 2009 16:24:39 -0700
Dirk Bartley wrote:
> Something that changed recently is that bat is a script that runs the
> binary.  The script usually wants to see the binary in a subdirectory
> called .libs of the pwd of the script.
> 
> Not sure as to what the packaging solution is.  All apologies.
> 
> Dirk

Oh, I guess it is a packaging problem then.  The rpm installs the wrapper 
script in 
/usr/sbin/bat and the executable file in /bin/bat.

At the top of the wrapper script it says:

"This wrapper script should never be moved out of the build directory.
If it is, it will not operate correctly."

But of course there is no build directory in an rpm installation.

I don't see how this could possibly work.  Does anyone have a working bat that 
was 
installed from rpm?

Mark
Sent from an invalid address. Please reply to the group.

> 
> 
> On Fri, 2009-06-19 at 10:35 -0700, Mark Nienberg wrote:
>> I rebuilt the bacula 3.0.1 src rpm on a fedora core 7 system and everything 
>> seemed to 
>> work out fine except bat.  An rpm was built and it installed, but when I 
>> start it I get
>>
>> [root@khyber bacula-3.0.1]# bat
>> /usr/sbin/bat: line 118: cd: 
>> /usr/src/redhat/BUILD/bacula-3.0.1/src/qt-console: No 
>> such file or directory
>> g++: obj/main.o: No such file or directory
>> g++: obj/bat_conf.o: No such file or directory
>> g++: obj/mainwin.o: No such file or directory
>> etc, etc
>>
>> Bat 2.4.4 built and worked just fine on this system.
>>
>> It has the correct qt:
>>
>> [root@khyber bacula-3.0.1]# rpm -qa | grep qt
>> qt4-x11-4.3.4-14.fc7
>> qt4-devel-4.3.4-14.fc7
>> qt4-4.3.4-14.fc7
>>
>> Any hints on getting this to work?  thanks,


------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>