Re: [Bacula-users] Cannot compile bat!? Help
2009-07-02 23:09:15
Try installing the following RPMs:
ftp://ftp.pbone.net/mirror/atrpms.net/el5-i386/atrpms/testing/qt44-4.4.3-10_4.el5.i386.rpm
ftp://ftp.pbone.net/mirror/atrpms.net/el5-i386/atrpms/testing/qt44-devel-4.4.3-10_4.el5.i386.rpm
ftp://ftp.pbone.net/mirror/atrpms.net/el5-i386/atrpms/testing/qt44-x11-4.4.3-10_4.el5.i386.rpm
QTDIR then needs to be set to /usr/lib/qt44/,
because the above RPMS install QT 4.4 alongside the CentOS supplied QT
4.2.
If you are building bat from the source
RPM you will need to modify the bacula.spec, so that the resulting bat
RPM depends on the qt44 and not qt4 packages.
Sorry if this is a bit vague, but it
has been a while since I built bat on a Centos 5 system. Let me know how
you go.
Thanks
Matthias
ginzzer <ginzzer AT gmail DOT com> wrote on 03/07/2009
02:42:54 AM:
> Hi there,
> I have read a thread before about compling the bat in CentOS5,
in which,
> the guy got the following warning during compilation
>
> ui/ui_main.h: In member function a€?void Ui_MainForm::
> setupUi(QMainWindow*)a€?:
> ui/ui_main.h:168: error: a€?class QGridLayouta€? has no member
named
> a€?setLeftMargina€?
> ui/ui_main.h:169: error: a€?class QGridLayouta€? has no member
named
> a€?setTopMargina€?
> ui/ui_main.h:170: error: a€?class QGridLayouta€? has no member
named
> a€?setRightMargina€?
> ui/ui_main.h:171: error: a€?class QGridLayouta€? has no member
named
> a€?setBottomMargina€?
> ui/ui_main.h:172: error: a€?class QGridLayouta€? has no member
named
> a€?setHorizontalSpacinga€?
> ui/ui_main.h:173: error: a€?class QGridLayouta€? has no member
named
> a€?setVerticalSpacinga€?
> ui/ui_main.h:224: error: a€?class QGridLayouta€? has no member
named
> a€?setLeftMargina€?
> ui/ui_main.h:225: error: a€?class QGridLayouta€? has no member
named
> a€?setTopMargina€?
> ui/ui_main.h:226: error: a€?class QGridLayouta€? has no member
named
> a€?setRightMargina€?
> ui/ui_main.h:227: error: a€?class QGridLayouta€? has no member
named
> a€?setBottomMargina€?
> ui/ui_main.h:228: error: a€?class QGridLayouta€? has no member
named
> a€?setHorizontalSpacinga€?
> ui/ui_main.h:229: error: a€?class QGridLayouta€? has no member
named
> a€?setVerticalSpacinga€?
> ui/ui_main.h:255: error: a€?class QGridLayouta€? has no member
named
> a€?setLeftMargina€?
> ui/ui_main.h:256: error: a€?class QGridLayouta€? has no member
named
> a€?setTopMargina€?
> ui/ui_main.h:257: error: a€?class QGridLayouta€? has no member
named
> a€?setRightMargina€?
> ui/ui_main.h:258: error: a€?class QGridLayouta€? has no member
named
> a€?setBottomMargina€?
> ui/ui_main.h:259: error: a€?class QGridLayouta€? has no member
named
> a€?setHorizontalSpacinga€?
> ui/ui_main.h:260: error: a€?class QGridLayouta€? has no member
named
> a€?setVerticalSpacinga€?
>
> and one person said he solved the problem by update qt to 4.3.x or
above.
> Well, my current version of qt is 4.2.x and I just download the 4.5.2
at
> http://get.qtsoftware.com/qt/source/qt-x11-opensource-src-4.5.2.tar.gz
,
> install it to (as default) /usr/local/Trolltech/Qt-4.5.2, I also set
the
> following enviornments
>
> export QTDIR=/usr/local/Trolltech/Qt-4.5.2
> export PATH=$QTDIR/bin:$PATH
> export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
> export QTINC=$QTDIR/include
> export QTLIB=$QTDIR/lib
>
>
> But when I recompile the bacual with bat enabled, still get the same
> errors. How to fix it?
>
> Thanks.
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
SOUTH PACIFIC SEEDS
PO Box 934, GRIFFITH N.S.W. 2680. AUSTRALIA
Phone: 02 6962 7333 Fax: 02 6964 1311
CAUTION: The information contained
in this e-mail is privileged and confidential. If you are reading this
message and you are not the intended recipient, you are hereby notified
that any use, dissemination, distribution or reproduction of all or part
of the contents is prohibited. If you receive this message in error, please
notify the sender immediately. Any opinions or views expressed in this
message are those of the individual sender and may not represent those
of their employer.
------------------------------------------------------------------------------
_______________________________________________
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>
|
- [Bacula-users] Must I mail message?, (continued)
- [Bacula-users] Cannot compile bat!? Help, ginzzer
- Re: [Bacula-users] Cannot compile bat!? Help,
Matthias Reif <=
- Re: [Bacula-users] Cannot compile bat!? Help, ginzzer
- [Bacula-users] how to use a raw disk?, ginzzer
- Re: [Bacula-users] how to use a raw disk?, John Drescher
- Re: [Bacula-users] how to use a raw disk?, Lee Huffman
- Re: [Bacula-users] how to use a raw disk?, ginzzer
- Re: [Bacula-users] how to use a raw disk?, Diego Gallardo
- Re: [Bacula-users] how to use a raw disk?, Lee Huffman
- Re: [Bacula-users] how to use a raw disk?, Diego Gallardo
- Re: [Bacula-users] how to use a raw disk?, John Drescher
- Re: [Bacula-users] how to use a raw disk?, Diego Gallardo
|
|
|