Roger,

I didn't use qmake (except when I had to build the qwt library).  Also I 
built it on an Ubuntu so I've probably got a completely different set of 
libraries installed.

My build sequence was: -

    $ CFLAGS="-g -Wall" \
      ./configure \
      --sbindir=/usr/local/bacula/bin \
      --sysconfdir=/usr/local/bacula/conf \
      --enable-smartalloc \
      --enable-bat \
      --with-qwt=/usr/local/qwt-5.0.2 \
      --with-working-dir=/usr/local/bacula/bin/working \
      --with-subsys-dir=/var/run \
      --with-dir-user=bacula \
      [EMAIL PROTECTED] \
      --with-smtp-host=mail.example.com
    $ make
    $ sudo make install

Note that that last line uses the sudo command which I believe is a 
debian or ubuntu invention which simply runs the command as root 
(because make needs to copy the results into a root owned set of 
directories).

Note that if you do get the bat program to compile it seems pretty 
particular about where it expects to see the qwt library.  It MUST see 
the file /usr/lib/libqwt.so.5 or it falls over at run time.

I also presume that you have tried the 'make distclean' command before 
you attempt to build anything after modifying anything else?

Hope that helps.  It took me a couple of days before I had all the 
necessary libraries to stop the build process complaining.  Luckily 
Ubuntu comes with the wonderful 'apt-get install' command but the trick 
is to know the correct thing to install ;-)

Regards,
David -

[EMAIL PROTECTED] wrote:
> thanks,
> But I don't get a bat file in bacula-2.2.5/src/qt-console/ . 
> loads of other files but no bat .
>
> I've tried again and noticed this error when I run make.
>
> make[1]: Leaving directory `/tmp/bacula-2.2.5/src/filed'
> ==>Entering directory /tmp/bacula-2.2.5/src/qt-console
> make[1]: Entering directory `/tmp/bacula-2.2.5/src/qt-console'
> make[1]: *** No rule to make target `all'.  Stop.
> make[1]: Leaving directory `/tmp/bacula-2.2.5/src/qt-console'
>
>   ====== Error in /tmp/bacula-2.2.5/src/qt-console ======
>
> Here is some more info.
> # qmake -v
> QMake version 2.01a
> Using Qt version 4.2.1 in /usr/lib64/qt4/lib64
>
> # rpm -qa qt*
> qt4-4.2.1-1
> qt4-devel-4.2.1-1
>
> qwt-5.0.2 (is installed) 
>
>
> Any tips on why?
>
> /Roger
>   
>> Hi Roger,
>>
>> I found it had been built in the src folder ;-)   Have a look 
>>     
> in 
>   
>> bacula-2.2.5/src/qt-console for bat and bat.conf.
>>
>> To run it I just changed into that directory and typed ./bat
>>
>>     

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to