On Saturday 14 July 2007 16:45, Marc Schiffbauer wrote:
> * Kern Sibbald schrieb am 14.07.07 um 15:35 Uhr:
> > Hello,
> > 
> > I would appreciate it if you two would try the current SVN and see if it 
can 
> > find your installed qwt libraries.  If it does not work, please tell me 
where 
> > the libraries are and send me a copy of src/qt-console/bat.pro that was 
> > generated.
> > 
> > The qwt libraries should be found correctly if you specify:
> > 
> >   --with-qwt
> > 
> > or if you leave it out altogether.  If you specify a path, it expects the 
qwt 
> > code to be in path/include and path/lib.
> 
> 
> Hi Kern,
> 
> I tried current SVN (5179)
> 
> I did "./configure --enable-bat --with-sqlite3" and I have a x86
> System (Ubuntu Feisty) running on an AMD64 (32-bit Kernel)
> 
> Result:
> [...]
>   Database lib:               -L/usr/lib64 -lsqlite3
> [...]
>   bat support:                yes -L/usr/lib64
> [...]
> 
> The "-L/usr/lib64" looks a bit strange to me... not?
> 
> ... ok -> "make".. I had expected an build error for bat because of
> the missing "--with-qwt", but: no error and no bat being built.
> 
> 
> Now: "./configure --enable-bat --with-sqlite3 --with-qwt"
> 
> [...]
> checking for qwt support... yes
> [...]
> 
> The summary of the configure does not mention "qwt support: yes" or
> something....
> 
> Some configure details:
> 
> config.log:QWT_INC='/usr/include/qwt'
> (this directory contains the qwt headers)
> 
> config.log:QWT_LDFLAGS='-L/usr/lib64' <--- is this really correct???
> 
> May it be that doing "if test -d ${root}/lib64/; then" is not really
> sufficient for detecting a x86_64 system?
> 
> (Some packages place files there, even if we are on a 32bit system)
> there:
> [EMAIL PROTECTED]:~ # find /usr/lib64/
> /usr/lib64/
> /usr/lib64/libfakeroot
> /usr/lib64/libfakeroot/libfakeroot-tcp.so
> /usr/lib64/libfakeroot/libfakeroot-sysv.so
> /usr/lib64/libffi.a
> /usr/lib64/libffi.la
> /usr/lib64/libffi_pic.a
> /usr/lib64/libffi.so
> )
> 
> 
> -> make -> error on "qt-console":
> 
> ==>Entering directory
> /home/mschiff/src/bacula/svn/bacula/src/qt-console
> make[1]: Betrete Verzeichnis
> '/home/mschiff/src/bacula/svn/bacula/src/qt-console'
> g++ -c -pipe -g -D_REENTRANT -Wall -W  -DQT_GUI_LIB -DQT_CORE_LIB
> -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore
> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
> -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.. -I. -Iconsole
> -Irestore -Iselect -I/usr/include/qwt -Imoc -Iui -o obj/mainwin.o
> mainwin.cpp
> In file included from /usr/include/qwt/qwt_data.h:16,
>                  from jobgraphs/jobplot.h:39,
>                  from mainwin.cpp:52:
> /usr/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:
> /usr/include/qwt/qwt_legend.h:16:25: error: qscrollview.h: No such
> file or directory
> In file included from /usr/include/qwt/qwt_marker.h:20,
>                  from /usr/include/qwt/qwt_plot_classes.h:15,
>                  from /usr/include/qwt/qwt_plot_dict.h:14,
>                  from /usr/include/qwt/qwt_legend.h:25,
>                  from jobgraphs/jobplot.h:40,
>                  from mainwin.cpp:52:
> /usr/include/qwt/qwt_text.h:20:29: error: qsimplerichtext.h: No such
> file or directory
> In file included from /usr/include/qwt/qwt_legend.h:25,
>                  from jobgraphs/jobplot.h:40,
>                  from mainwin.cpp:52:
> /usr/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 /usr/include/qwt/qwt_plot.h:25,
>                  from jobgraphs/jobplot.h:42,
>                  from mainwin.cpp:52:
> /usr/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
> /usr/include/qwt/qwt_data.h:87: Fehler: expected »,« or »...« before
> »<« token
> /usr/include/qwt/qwt_data.h:87: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_data.h:96: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_data.h:96: Fehler: expected »;« before »<«
> token
> /usr/include/qwt/qwt_data.h:106: Fehler: expected »,« or »...«
> before »<« token
> /usr/include/qwt/qwt_data.h:106: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_data.h:118: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_data.h:118: Fehler: expected »;« before »<«
> token
> /usr/include/qwt/qwt_data.h:119: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_data.h:119: Fehler: expected »;« before »<«
> token
> /usr/include/qwt/qwt_push_button.h:36: Fehler: expected »,« or »...«
> before »&« token
> /usr/include/qwt/qwt_push_button.h:37: Fehler: ISO-C++ verbietet
> Deklaration von »QIconSet« ohne Typ
> /usr/include/qwt/qwt_push_button.h:41: Fehler: »TextFormat«
> bezeichnet keinen Typ
> /usr/include/qwt/qwt_push_button.h:42: Fehler: »TextFormat« wurde
> nicht deklariert
> /usr/include/qwt/qwt_text.h:134: Fehler: »WordBreak« ist kein
> Element von »Qt«
> /usr/include/qwt/qwt_text.h:134: Fehler: »ExpandTabs« ist kein
> Element von »Qt«
> /usr/include/qwt/qwt_text.h:182: Fehler: ISO-C++ verbietet
> Deklaration von »QSimpleRichText« ohne Typ
> /usr/include/qwt/qwt_text.h:182: Fehler: expected »;« before »*«
> token
> /usr/include/qwt/qwt_text.h:159: Fehler: »WordBreak« ist kein
> Element von »Qt«
> /usr/include/qwt/qwt_text.h:159: Fehler: »ExpandTabs« ist kein
> Element von »Qt«
> /usr/include/qwt/qwt_spline.h:71: Fehler: expected »,« or »...«
> before »<« token
> /usr/include/qwt/qwt_spline.h:72: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_curve.h:100: Fehler: expected »,« or »...«
> before »<« token
> /usr/include/qwt/qwt_curve.h:100: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_curve.h:101: Fehler: expected »,« or »...«
> before »<« token
> /usr/include/qwt/qwt_curve.h:101: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_curve.h:101: Fehler: »void
> QwtCurve::setData(int)« kann nicht überladen werden
> /usr/include/qwt/qwt_curve.h:100: Fehler: mit »void
> QwtCurve::setData(int)«
> /usr/include/qwt/qwt_curve.h:175: Fehler: »QPointArray« wurde nicht
> deklariert
> /usr/include/qwt/qwt_math.h: In function »void qwtShiftArray(T*,
> int, int)«:
> /usr/include/qwt/qwt_math.h:162: Fehler: es gibt keine Argumente für
> »QABS«, die von einem Templateparameter abhängen, weshalb eine
> Deklaration von »QABS« verfügbar sein muss
> /usr/include/qwt/qwt_math.h:162: Fehler: (mit »-fpermissive« wird
> G++ den Code akzeptieren, aber die Verwendung eines nicht
> deklarierten Namens ist veraltet)
> /usr/include/qwt/qwt_scldiv.h: At global scope:
> /usr/include/qwt/qwt_scldiv.h:128: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_scldiv.h:128: Fehler: expected »;« before »<«
> token
> /usr/include/qwt/qwt_scldiv.h:129: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_scldiv.h:129: Fehler: expected »;« before »<«
> token
> /usr/include/qwt/qwt_scldiv.h: In member function »uint
> QwtScaleDiv::minCnt() const«:
> /usr/include/qwt/qwt_scldiv.h:91: Fehler: »d_minMarks« wurde in
> diesem Gültigkeitsbereich nicht definiert
> /usr/include/qwt/qwt_scldiv.h: In member function »uint
> QwtScaleDiv::majCnt() const«:
> /usr/include/qwt/qwt_scldiv.h:96: Fehler: »d_majMarks« wurde in
> diesem Gültigkeitsbereich nicht definiert
> /usr/include/qwt/qwt_scldiv.h: In member function »double
> QwtScaleDiv::majMark(int) const«:
> /usr/include/qwt/qwt_scldiv.h:105: Fehler: »d_majMarks« wurde in
> diesem Gültigkeitsbereich nicht definiert
> /usr/include/qwt/qwt_scldiv.h: In member function »double
> QwtScaleDiv::minMark(int) const«:
> /usr/include/qwt/qwt_scldiv.h:107: Fehler: »d_minMarks« wurde in
> diesem Gültigkeitsbereich nicht definiert
> /usr/include/qwt/qwt_plot_dict.h: At global scope:
> /usr/include/qwt/qwt_plot_dict.h:22: Fehler: expected template-name
> before »<« token
> /usr/include/qwt/qwt_plot_dict.h:22: Fehler: expected `{' before »<«
> token
> /usr/include/qwt/qwt_plot_dict.h:22: Fehler: expected unqualified-id
> before »<« token
> /usr/include/qwt/qwt_plot_dict.h:64: Fehler: invalid use of
> undefined type »class QwtSeqDict<QwtPlotCurve>«
> /usr/include/qwt/qwt_plot_dict.h:22: Fehler: declaration of »class
> QwtSeqDict<QwtPlotCurve>«
> /usr/include/qwt/qwt_plot_dict.h: In constructor
> »QwtCurveDict::QwtCurveDict()«:
> /usr/include/qwt/qwt_plot_dict.h:66: Fehler: »setAutoDelete« wurde
> in diesem Gültigkeitsbereich nicht definiert
> /usr/include/qwt/qwt_plot_dict.h: At global scope:
> /usr/include/qwt/qwt_plot_dict.h:70: Fehler: invalid use of
> undefined type »class QwtSeqDict<QwtPlotMarker>«
> /usr/include/qwt/qwt_plot_dict.h:22: Fehler: declaration of »class
> QwtSeqDict<QwtPlotMarker>«
> /usr/include/qwt/qwt_plot_dict.h: In constructor
> »QwtMarkerDict::QwtMarkerDict()«:
> /usr/include/qwt/qwt_plot_dict.h:72: Fehler: »setAutoDelete« wurde
> in diesem Gültigkeitsbereich nicht definiert
> /usr/include/qwt/qwt_plot_dict.h: At global scope:
> /usr/include/qwt/qwt_plot_dict.h:75: Fehler: expected initializer
> before »<« token
> /usr/include/qwt/qwt_plot_dict.h:76: Fehler: expected initializer
> before »<« token
> /usr/include/qwt/qwt_legend.h:27: Fehler: invalid use of undefined
> type »class QwtSeqDict<QWidget>«
> /usr/include/qwt/qwt_plot_dict.h:22: Fehler: declaration of »class
> QwtSeqDict<QWidget>«
> /usr/include/qwt/qwt_legend.h:31: Fehler: expected initializer
> before »<« token
> /usr/include/qwt/qwt_legend.h:159: Fehler: expected class-name
> before »{« token
> /usr/include/qwt/qwt_legend.h:212: Fehler: »QWidgetIntDictIt«
> bezeichnet keinen Typ
> /usr/include/qwt/qwt_legend.h:159: Warnung: »class QwtLegend« hat
> virtuelle Funktionen aber nicht-virtuellen Destruktor
> /usr/include/qwt/qwt_legend.h: In member function »bool
> QwtLegend::isEmpty() const«:
> /usr/include/qwt/qwt_legend.h:241: Fehler: »const class
> QWidgetIntDict« hat kein Element namens »count«
> /usr/include/qwt/qwt_legend.h: In member function »uint
> QwtLegend::itemCount() const«:
> /usr/include/qwt/qwt_legend.h:247: Fehler: »const class
> QWidgetIntDict« hat kein Element namens »count«
> /usr/include/qwt/qwt_autoscl.h: At global scope:
> /usr/include/qwt/qwt_autoscl.h:114: Fehler: expected »,« or »...«
> before »<« token
> /usr/include/qwt/qwt_autoscl.h:114: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_scldraw.h:105: Fehler: »QWMatrix« bezeichnet
> keinen Typ
> /usr/include/qwt/qwt_plot.h:213: Fehler: »QwtPlotCurveIterator«
> bezeichnet keinen Typ
> /usr/include/qwt/qwt_plot.h:214: Fehler: »QwtPlotMarkerIterator«
> bezeichnet keinen Typ
> /usr/include/qwt/qwt_plot.h:230: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_plot.h:230: Fehler: expected »;« before »<«
> token
> /usr/include/qwt/qwt_plot.h:242: Fehler: expected »,« or »...«
> before »<« token
> /usr/include/qwt/qwt_plot.h:242: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_plot.h:243: Fehler: expected »,« or »...«
> before »<« token
> /usr/include/qwt/qwt_plot.h:243: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_plot.h:243: Fehler: »bool
> QwtPlot::setCurveData(long int, int)« kann nicht überladen werden
> /usr/include/qwt/qwt_plot.h:242: Fehler: mit »bool
> QwtPlot::setCurveData(long int, int)«
> /usr/include/qwt/qwt_plot.h:356: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_plot.h:356: Fehler: expected »;« before »<«
> token
> /usr/include/qwt/qwt_plot.h:515: Fehler: expected »,« or »...«
> before »<« token
> /usr/include/qwt/qwt_plot.h:515: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> /usr/include/qwt/qwt_plot.h:536: Fehler: expected »,« or »...«
> before »<« token
> /usr/include/qwt/qwt_plot.h:536: Fehler: ISO-C++ verbietet
> Deklaration von »QMemArray« ohne Typ
> jobgraphs/jobplot.h:91: Fehler: ungültiger abstrakter Rückgabetyp
> für Elementfunktion »virtual QwtText
> DateTimeScaleDraw::label(double) const«
> /usr/include/qwt/qwt_text.h:36: Anmerkung:   denn die folgenden
> virtuellen Funktionen sind rein innerhalb »QwtText«:
> /usr/include/qwt/qwt_text.h:80: Anmerkung:      virtual int
> QwtText::heightForWidth(int) const
> /usr/include/qwt/qwt_text.h:95: Anmerkung:      virtual QRect
> QwtText::boundingRect(QPainter*) const
> /usr/include/qwt/qwt_text.h:102: Anmerkung:     virtual void
> QwtText::draw(QPainter*, const QRect&) const
> /usr/include/qwt/qwt_text.h:107: Anmerkung:     virtual QwtText*
> QwtText::clone() const
> jobgraphs/jobplot.h:91: Fehler: ungültiger kovarianter Rückgabetyp
> für »virtual QwtText DateTimeScaleDraw::label(double) const«
> /usr/include/qwt/qwt_scldraw.h:91: Fehler:   »virtual QString
> QwtScaleDraw::label(double) const« wird überschrieben
> jobgraphs/jobplot.h: In member function »virtual QwtText
> DateTimeScaleDraw::label(double) const«:
> jobgraphs/jobplot.h:91: Fehler: ungültiger abstrakter Rückgabetyp
> für Elementfunktion »virtual QwtText
> DateTimeScaleDraw::label(double) const«
> /usr/include/qwt/qwt_text.h:36: Anmerkung:   denn der Typ »QwtText«
> hat rein virtuelle Funktionen
> jobgraphs/jobplot.h:94: Fehler: es kann kein Objekt des abstrakten
> Typs »QwtText« belegt werden
> /usr/include/qwt/qwt_text.h:36: Anmerkung:   denn der Typ »QwtText«
> hat rein virtuelle Funktionen
> make[1]: *** [obj/mainwin.o] Fehler 1
> make[1]: Verlasse Verzeichnis
> '/home/mschiff/src/bacula/svn/bacula/src/qt-console'
> 
> 
>   ====== Error in /home/mschiff/src/bacula/svn/bacula/src/qt-console
> ======
> 
> 
> One question: If --enable-bat depends on --with-qwt, why not make
> --enable-bat select --with-qwt implicitly?

Yes, it already does that.  You don't need the --with-qwt.   And yes, 
the -L... is correct.  It just doesn't show you the part that is always the 
same -lqwt.

If you have a /lib64, it is going to lock on to that instead of the 32 bit 
library.

> I think this will prevent one extra FAQ...
> 
> 
> > 
> > Regards,
> > 
> > Kern
> > 
> -- 
> 8AAC 5F46 83B4 DB70 8317  3723 296C 6CCA 35A6 4134
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bacula-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-devel
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to