Hi, I'm trying to compile bat on a debian etch 32bit machine. This is the output of ./configure --with-mysql --enable-bat --enable-gnome --enable-tray-monitor:
Configuration on Wed Aug 29 16:17:08 CEST 2007: Host: i686-pc-linux-gnu -- debian 4.0 Bacula version: 2.2.0 (08 August 2007) Source code location: . Install binaries: /sbin Install config files: /etc/bacula Scripts directory: /etc/bacula Working directory: /var/bacula/working PID directory: /var/run Subsys directory: /var/run/subsys Man directory: /usr/share/man Data directory: /usr/share C Compiler: gcc 4.1.2 C++ Compiler: /usr/bin/g++ 4.1.2 Compiler flags: -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti Linker flags: Libraries: -lpthread Statically Linked Tools: no Statically Linked FD: no Statically Linked SD: no Statically Linked DIR: no Statically Linked CONS: no Database type: MySQL Database lib: -L/usr/lib -lmysqlclient_r -lz Database name: bacula Database user: bacula Job Output Email: [EMAIL PROTECTED] Traceback Email: [EMAIL PROTECTED] SMTP Host Address: localhost Director Port: 9101 File daemon Port: 9102 Storage daemon Port: 9103 Director User: Director Group: Storage Daemon User: Storage DaemonGroup: File Daemon User: File Daemon Group: SQL binaries Directory /usr/bin Large file support: yes Bacula conio support: no readline support: no TCP Wrappers support: no TLS support: no Encryption support: no ZLIB support: yes enable-smartalloc: yes bat support: yes -L/usr/lib64 enable-gnome: yes Version 2.x enable-bwx-console: no enable-tray-monitor: yes client-only: no build-dird: yes build-stored: yes ACL support: no Python support: no Batch insert enabled: yes While compiling qt-console, I get the following error: ==>Entering directory /usr/src/bacula-2.2.0/src/qt-console make[1]: Entering directory `/usr/src/bacula-2.2.0/src/qt-console' g++ -c -pipe -g -D_REENTRANT -Wall -W -DQT_GUI_LIB -DQT_CORE_LIB -I../../../../share/qt4/mkspecs/linux-g++ -I. -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtCore -I../../../../include/qt4/QtGui -I../../../../include/qt4/QtGui -I../../../../include/qt4 -I.. -I. -Iconsole -Irestore -Iselect -I../../../../include/qwt -Imoc -Iui -o obj/mainwin.o mainwin.cpp In file included from ../../../../include/qwt/qwt_data.h:16, from jobgraphs/jobplot.h:39, from mainwin.cpp:52: ../../../../include/qwt/qwt_array.h:25:23: error: qmemarray.h: No such file or directory In file included from jobgraphs/jobplot.h:40, from mainwin.cpp:52: ../../../../include/qwt/qwt_legend.h:16:25: error: qscrollview.h: No such file or directory In file included from ../../../../include/qwt/qwt_marker.h:20, from ../../../../include/qwt/qwt_plot_classes.h:15, from ../../../../include/qwt/qwt_plot_dict.h:14, from ../../../../include/qwt/qwt_legend.h:25, from jobgraphs/jobplot.h:40, from mainwin.cpp:52: ../../../../include/qwt/qwt_text.h:20:29: error: qsimplerichtext.h: No such file or directory In file included from ../../../../include/qwt/qwt_legend.h:25, from jobgraphs/jobplot.h:40, from mainwin.cpp:52: ../../../../include/qwt/qwt_plot_dict.h:15:22: error: qintdict.h: No such file or directory In file included from mainwin.cpp:52: jobgraphs/jobplot.h:41:28: error: qwt_plot_curve.h: No such file or directory In file included from ../../../../include/qwt/qwt_plot.h:25, from jobgraphs/jobplot.h:42, from mainwin.cpp:52: ../../../../include/qwt/qwt_plot_printfilter.h:16:24: error: qvaluelist.h: No such file or directory In file included from mainwin.cpp:52: jobgraphs/jobplot.h:43:29: error: qwt_plot_marker.h: No such file or directory jobgraphs/jobplot.h:46:27: error: qwt_scale_map.h: No such file or directory jobgraphs/jobplot.h:47:28: error: qwt_scale_draw.h: No such file or directory ../../../../include/qwt/qwt_data.h:87: error: expected â,â or â...â before â<â token ../../../../include/qwt/qwt_data.h:87: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_data.h:96: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_data.h:96: error: expected â;â before â<â token ../../../../include/qwt/qwt_data.h:106: error: expected â,â or â...â before â<â token ../../../../include/qwt/qwt_data.h:106: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_data.h:118: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_data.h:118: error: expected â;â before â<â token ../../../../include/qwt/qwt_data.h:119: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_data.h:119: error: expected â;â before â<â token ../../../../include/qwt/qwt_push_button.h:36: error: expected â,â or â...â before â&â token ../../../../include/qwt/qwt_push_button.h:37: error: ISO C++ forbids declaration of âQIconSetâ with no type ../../../../include/qwt/qwt_push_button.h:41: error: âTextFormatâ does not name a type ../../../../include/qwt/qwt_push_button.h:42: error: âTextFormatâ has not been declared ../../../../include/qwt/qwt_text.h:134: error: âWordBreakâ is not a member of âQtâ ../../../../include/qwt/qwt_text.h:134: error: âExpandTabsâ is not a member of âQtâ ../../../../include/qwt/qwt_text.h:182: error: ISO C++ forbids declaration of âQSimpleRichTextâ with no type ../../../../include/qwt/qwt_text.h:182: error: expected â;â before â*â token ../../../../include/qwt/qwt_text.h:159: error: âWordBreakâ is not a member of âQtâ ../../../../include/qwt/qwt_text.h:159: error: âExpandTabsâ is not a member of âQtâ ../../../../include/qwt/qwt_spline.h:71: error: expected â,â or â...â before â<â token ../../../../include/qwt/qwt_spline.h:72: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_curve.h:100: error: expected â,â or â...â before â<â token ../../../../include/qwt/qwt_curve.h:100: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_curve.h:101: error: expected â,â or â...â before â<â token ../../../../include/qwt/qwt_curve.h:101: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_curve.h:101: error: âvoid QwtCurve::setData(int)â cannot be overloaded ../../../../include/qwt/qwt_curve.h:100: error: with âvoid QwtCurve::setData(int)â ../../../../include/qwt/qwt_curve.h:175: error: âQPointArrayâ has not been declared ../../../../include/qwt/qwt_math.h: In function âvoid qwtShiftArray(T*, int, int)â: ../../../../include/qwt/qwt_math.h:162: error: there are no arguments to âQABSâ that depend on a template parameter, so a declaration of âQABSâ must be available ../../../../include/qwt/qwt_math.h:162: error: (if you use â-fpermissiveâ, G++ will accept your code, but allowing the use of an undeclared name is deprecated) ../../../../include/qwt/qwt_scldiv.h: At global scope: ../../../../include/qwt/qwt_scldiv.h:128: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_scldiv.h:128: error: expected â;â before â<â token ../../../../include/qwt/qwt_scldiv.h:129: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_scldiv.h:129: error: expected â;â before â<â token ../../../../include/qwt/qwt_scldiv.h: In member function âuint QwtScaleDiv::minCnt() constâ: ../../../../include/qwt/qwt_scldiv.h:91: error: âd_minMarksâ was not declared in this scope ../../../../include/qwt/qwt_scldiv.h: In member function âuint QwtScaleDiv::majCnt() constâ: ../../../../include/qwt/qwt_scldiv.h:96: error: âd_majMarksâ was not declared in this scope ../../../../include/qwt/qwt_scldiv.h: In member function âdouble QwtScaleDiv::majMark(int) constâ: ../../../../include/qwt/qwt_scldiv.h:105: error: âd_majMarksâ was not declared in this scope ../../../../include/qwt/qwt_scldiv.h: In member function âdouble QwtScaleDiv::minMark(int) constâ: ../../../../include/qwt/qwt_scldiv.h:107: error: âd_minMarksâ was not declared in this scope ../../../../include/qwt/qwt_plot_dict.h: At global scope: ../../../../include/qwt/qwt_plot_dict.h:22: error: expected template-name before â<â token ../../../../include/qwt/qwt_plot_dict.h:22: error: expected `{' before â<â token ../../../../include/qwt/qwt_plot_dict.h:22: error: expected unqualified-id before â<â token ../../../../include/qwt/qwt_plot_dict.h:63: error: invalid use of undefined type âclass QwtSeqDict<QwtPlotCurve>â ../../../../include/qwt/qwt_plot_dict.h:22: error: declaration of âclass QwtSeqDict<QwtPlotCurve>â ../../../../include/qwt/qwt_plot_dict.h: In constructor âQwtCurveDict::QwtCurveDict()â: ../../../../include/qwt/qwt_plot_dict.h:66: error: âsetAutoDeleteâ was not declared in this scope ../../../../include/qwt/qwt_plot_dict.h: At global scope: ../../../../include/qwt/qwt_plot_dict.h:69: error: invalid use of undefined type âclass QwtSeqDict<QwtPlotMarker>â ../../../../include/qwt/qwt_plot_dict.h:22: error: declaration of âclass QwtSeqDict<QwtPlotMarker>â ../../../../include/qwt/qwt_plot_dict.h: In constructor âQwtMarkerDict::QwtMarkerDict()â: ../../../../include/qwt/qwt_plot_dict.h:72: error: âsetAutoDeleteâ was not declared in this scope ../../../../include/qwt/qwt_plot_dict.h: At global scope: ../../../../include/qwt/qwt_plot_dict.h:75: error: expected initializer before â<â token ../../../../include/qwt/qwt_plot_dict.h:76: error: expected initializer before â<â token ../../../../include/qwt/qwt_legend.h:26: error: invalid use of undefined type âclass QwtSeqDict<QWidget>â ../../../../include/qwt/qwt_plot_dict.h:22: error: declaration of âclass QwtSeqDict<QWidget>â ../../../../include/qwt/qwt_legend.h:31: error: expected initializer before â<â token ../../../../include/qwt/qwt_legend.h:159: error: expected class-name before â{â token ../../../../include/qwt/qwt_legend.h:212: error: âQWidgetIntDictItâ does not name a type ../../../../include/qwt/qwt_legend.h:159: warning: âclass QwtLegendâ has virtual functions but non-virtual destructor ../../../../include/qwt/qwt_legend.h: In member function âbool QwtLegend::isEmpty() constâ: ../../../../include/qwt/qwt_legend.h:241: error: âconst class QWidgetIntDictâ has no member named âcountâ ../../../../include/qwt/qwt_legend.h: In member function âuint QwtLegend::itemCount() constâ: ../../../../include/qwt/qwt_legend.h:247: error: âconst class QWidgetIntDictâ has no member named âcountâ ../../../../include/qwt/qwt_autoscl.h: At global scope: ../../../../include/qwt/qwt_autoscl.h:114: error: expected â,â or â...â before â<â token ../../../../include/qwt/qwt_autoscl.h:114: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_scldraw.h:105: error: âQWMatrixâ does not name a type ../../../../include/qwt/qwt_plot.h:213: error: âQwtPlotCurveIteratorâ does not name a type ../../../../include/qwt/qwt_plot.h:214: error: âQwtPlotMarkerIteratorâ does not name a type ../../../../include/qwt/qwt_plot.h:230: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_plot.h:230: error: expected â;â before â<â token ../../../../include/qwt/qwt_plot.h:242: error: expected â,â or â...â before â<â token ../../../../include/qwt/qwt_plot.h:242: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_plot.h:243: error: expected â,â or â...â before â<â token ../../../../include/qwt/qwt_plot.h:243: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_plot.h:243: error: âbool QwtPlot::setCurveData(long int, int)â cannot be overloaded ../../../../include/qwt/qwt_plot.h:242: error: with âbool QwtPlot::setCurveData(long int, int)â ../../../../include/qwt/qwt_plot.h:356: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_plot.h:356: error: expected â;â before â<â token ../../../../include/qwt/qwt_plot.h:515: error: expected â,â or â...â before â<â token ../../../../include/qwt/qwt_plot.h:515: error: ISO C++ forbids declaration of âQMemArrayâ with no type ../../../../include/qwt/qwt_plot.h:536: error: expected â,â or â...â before â<â token ../../../../include/qwt/qwt_plot.h:536: error: ISO C++ forbids declaration of âQMemArrayâ with no type jobgraphs/jobplot.h:91: error: invalid abstract return type for member function âvirtual QwtText DateTimeScaleDraw::label(double) constâ ../../../../include/qwt/qwt_text.h:36: note: because the following virtual functions are pure within âQwtTextâ: ../../../../include/qwt/qwt_text.h:80: note: virtual int QwtText::heightForWidth(int) const ../../../../include/qwt/qwt_text.h:95: note: virtual QRect QwtText::boundingRect(QPainter*) const ../../../../include/qwt/qwt_text.h:102: note: virtual void QwtText::draw(QPainter*, const QRect&) const ../../../../include/qwt/qwt_text.h:107: note: virtual QwtText* QwtText::clone() const jobgraphs/jobplot.h:91: error: invalid covariant return type for âvirtual QwtText DateTimeScaleDraw::label(double) constâ ../../../../include/qwt/qwt_scldraw.h:91: error: overriding âvirtual QString QwtScaleDraw::label(double) constâ jobgraphs/jobplot.h: In member function âvirtual QwtText DateTimeScaleDraw::label(double) constâ: jobgraphs/jobplot.h:91: error: invalid abstract return type for member function âvirtual QwtText DateTimeScaleDraw::label(double) constâ ../../../../include/qwt/qwt_text.h:36: note: since type âQwtTextâ has pure virtual functions jobgraphs/jobplot.h:94: error: cannot allocate an object of abstract type âQwtTextâ ../../../../include/qwt/qwt_text.h:36: note: since type âQwtTextâ has pure virtual functions make[1]: *** [obj/mainwin.o] Error 1 make[1]: Leaving directory `/usr/src/bacula-2.2.0/src/qt-console' ====== Error in /usr/src/bacula-2.2.0/src/qt-console ====== The files missing, are all installed. But they are includes in the debian package libqt3-headers. A package libqt4-headers does not exist. But bat requires qt4!? Does anybody has a hint for me? Kind Regards, Andreas ------------------------------------------------------------------------- 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