Bacula-users

Re: [Bacula-users] make bat troubles in bacula 3.0.0

2009-04-20 13:48:30
Subject: Re: [Bacula-users] make bat troubles in bacula 3.0.0
From: Stephen Thompson <stephen AT seismo.berkeley DOT edu>
To: Dirk Bartley <bartleyd2 AT chartermi DOT net>
Date: Mon, 20 Apr 2009 10:41:36 -0700

Dirk,

Thanks, though I'm still getting the error:

g++ -c -m64 -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include/QtCore -I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include/QtGui -I/usr/lib64/qt4/include -I.. -I. -Iconsole -Irestore -Iselect -I../../../../qwt/include -Imoc -Iui -o obj/main.o main.cpp ui/ui_main.h: In member function ���void Ui_MainForm::setupUi(QMainWindow*)���: ui/ui_main.h:168: error: ���class QGridLayout��� has no member named ���setLeftMargin��� ui/ui_main.h:169: error: ���class QGridLayout��� has no member named ���setTopMargin��� ui/ui_main.h:170: error: ���class QGridLayout��� has no member named ���setRightMargin��� ui/ui_main.h:171: error: ���class QGridLayout��� has no member named ���setBottomMargin��� ui/ui_main.h:172: error: ���class QGridLayout��� has no member named ���setHorizontalSpacing��� ui/ui_main.h:173: error: ���class QGridLayout��� has no member named ���setVerticalSpacing��� ui/ui_main.h:224: error: ���class QGridLayout��� has no member named ���setLeftMargin��� ui/ui_main.h:225: error: ���class QGridLayout��� has no member named ���setTopMargin��� ui/ui_main.h:226: error: ���class QGridLayout��� has no member named ���setRightMargin��� ui/ui_main.h:227: error: ���class QGridLayout��� has no member named ���setBottomMargin��� ui/ui_main.h:228: error: ���class QGridLayout��� has no member named ���setHorizontalSpacing��� ui/ui_main.h:229: error: ���class QGridLayout��� has no member named ���setVerticalSpacing��� ui/ui_main.h:255: error: ���class QGridLayout��� has no member named ���setLeftMargin��� ui/ui_main.h:256: error: ���class QGridLayout��� has no member named ���setTopMargin��� ui/ui_main.h:257: error: ���class QGridLayout��� has no member named ���setRightMargin��� ui/ui_main.h:258: error: ���class QGridLayout��� has no member named ���setBottomMargin��� ui/ui_main.h:259: error: ���class QGridLayout��� has no member named ���setHorizontalSpacing��� ui/ui_main.h:260: error: ���class QGridLayout��� has no member named ���setVerticalSpacing��� ui/ui_main.h:264: error: ���class QHBoxLayout��� has no member named ���setLeftMargin��� ui/ui_main.h:265: error: ���class QHBoxLayout��� has no member named ���setTopMargin��� ui/ui_main.h:266: error: ���class QHBoxLayout��� has no member named ���setRightMargin��� ui/ui_main.h:267: error: ���class QHBoxLayout��� has no member named ���setBottomMargin���
make: *** [obj/main.o] Error 1

Also 2 of the diffs on main.ui and prefs.ui failed.
Attached are the rejs.

thanks,
Stephen





Dirk Bartley wrote:
This is the diff.

Dirk


On Fri, 2009-04-17 at 09:14 -0700, Stephen Thompson wrote:
Hello Dirk,

I would greatly appreciate a patch to be able to install bat 3.0.0
on centos 5 with stock qt 4.2.  I am getting the same errors as Jan Jap.

thanks!
Stephen


Dirk Bartley wrote:
I have done a patch for being able to install on the older qt.  If you
wat it, let me know.  I'll hunt it down.  The issue is not with the
programming but the version of designer I was using.  If I open with an
older designer and solve a couple of issues it compiled just fine on
centos.

I'm trying not to keep so up to date lately.

Dirk


On Wed, 2009-04-08 at 15:27 -0700, Kelvin Raywood wrote:
JanJaap Scholing <janjaapscholing AT hotmail DOT com>:
I'm trying to install bat.
./configure --enable-lockmgr --with-mysql --enable-bat --disable-libtool
looks ok

But when I make I see the following error messages:
[snip]

I use Debian 4 with qt4 installed (4.2.1-2+etch1), bacula 3.0.0 (latest svn)
What can I do to solve this problem?
John Drescher wrote:
Install Qt 4.3 or greater.

Ignore that. I was looking at the wrong class in the Qt docs.
I think the first advice was correct. I recently had the same problem myself building bacula-2.5.42-b2 on CentOS-5 which includes QT4.2.1 .

I grabbed qt 4.3.4 srpm from Fedora-7 and did

  rpmbuild --rebuild --define 'dist .el5' --define 'rhel 5' \
        qt4-4.3.4-14.fc7.src.rpm

  yum localinstall qt4-4.3.4-14.el5.x86_64.rpm \
                   qt4-devel-4.3.4-14.el5.x86_64.rpm \
                   qt4-x11-4.3.4-14.el5.x86_64.rpm

I installed qwt-devel from EPEL.

BAT built and runs fine.

Kel Raywood

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users



--
Stephen Thompson               Berkeley Seismological Laboratory
stephen AT seismo.berkeley DOT edu    215 McCone Hall # 4760
404.538.7077 (phone)           University of California, Berkeley
510.643.5811 (fax)             Berkeley, CA 94720-4760
***************
*** 70,77 ****
      <rect>
       <x>0</x>
       <y>0</y>
-      <width>882</width>
-      <height>28</height>
      </rect>
     </property>
     <widget class="QMenu" name="menuEdit" >
--- 70,77 ----
      <rect>
       <x>0</x>
       <y>0</y>
+      <width>821</width>
+      <height>31</height>
      </rect>
     </property>
     <widget class="QMenu" name="menuEdit" >
***************
*** 473,516 ****
            <string>Debugging Options</string>
           </property>
           <layout class="QGridLayout" >
-           <property name="leftMargin" >
             <number>9</number>
            </property>
-           <property name="topMargin" >
-            <number>9</number>
-           </property>
-           <property name="rightMargin" >
-            <number>9</number>
-           </property>
-           <property name="bottomMargin" >
-            <number>9</number>
-           </property>
-           <property name="horizontalSpacing" >
             <number>6</number>
            </property>
-           <property name="verticalSpacing" >
-            <number>6</number>
-           </property>
            <item row="0" column="0" >
             <layout class="QGridLayout" >
-             <property name="leftMargin" >
               <number>0</number>
              </property>
-             <property name="topMargin" >
-              <number>0</number>
-             </property>
-             <property name="rightMargin" >
-              <number>0</number>
-             </property>
-             <property name="bottomMargin" >
-              <number>0</number>
-             </property>
-             <property name="horizontalSpacing" >
               <number>6</number>
              </property>
-             <property name="verticalSpacing" >
-              <number>6</number>
-             </property>
              <item row="0" column="0" >
               <widget class="QCheckBox" name="commDebug" >
                <property name="text" >
--- 411,430 ----
            <string>Debugging Options</string>
           </property>
           <layout class="QGridLayout" >
+           <property name="margin" >
             <number>9</number>
            </property>
+           <property name="spacing" >
             <number>6</number>
            </property>
            <item row="0" column="0" >
             <layout class="QGridLayout" >
+             <property name="margin" >
               <number>0</number>
              </property>
+             <property name="spacing" >
               <number>6</number>
              </property>
              <item row="0" column="0" >
               <widget class="QCheckBox" name="commDebug" >
                <property name="text" >
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users