On Wednesday 12 September 2007 16:01:35 Jeronimo Zucco wrote: > Benjamin E. Zeller escreveu: > > On Wednesday 12 September 2007 15:02:54 Jeronimo Zucco wrote: > >> Hi list. > >> > >> Someone have a guide or "stone-path" for compile bat in kubuntu 7.04 > >> ? > >> > >> I'm lost with all options of qt's libraries and devel packages. > >> > >> Thank you. > > > > http://sourceforge.net/mailarchive/message.php?msg_id=46D58259.7070205%40 > >iunius.org > > > > Worked for me on Ubuntu, so should work on Kubuntu,too. > > This tips are for debian lenny, not for Ubuntu. I have tried to > search libqwt5-qt4-dev package for ubuntu, but it don't exists for > ubuntu 7.04.
They worked on Ubuntu,too! > > I have downloaded the depkgs-09Sep07.tar.gz from bacula, and copy > qwt/include to /usr/include/qwt-qt4. I have changed Makefile and bat.pro: > > INCPATH = -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-qt4 -Imoc -Iui > LIBS = $(SUBLIBS) -L../lib -lbac -L/usr/lib -lqwt -lQtGui > -lQtCore -lpthread > QMAKE = /usr/bin/qmake-qt4 > > > bat.pro: > INCLUDEPATH += /usr/include/qwt-qt4 > > But when I compile, get this error: > > g++ -o bat obj/main.o obj/bat_conf.o obj/mainwin.o obj/qstd.o > obj/pages.o obj/dircomm.o obj/dircomm_auth.o obj/authenticate.o > obj/console.o obj/prerestore.o obj/restore.o obj/brestore.o obj/label.o > obj/relabel.o obj/mount.o obj/run.o obj/runcmd.o obj/estimate.o > obj/prune.o obj/select.o obj/medialist.o obj/mediaedit.o obj/joblist.o > obj/clients.o obj/storage.o obj/fileset.o obj/joblog.o obj/jobs.o > obj/restoretree.o obj/jobplot.o obj/help.o obj/moc_mainwin.o > obj/moc_dircomm.o obj/moc_console.o obj/moc_restore.o obj/moc_label.o > obj/moc_relabel.o obj/moc_mount.o obj/moc_run.o obj/moc_select.o > obj/moc_medialist.o obj/moc_mediaedit.o obj/moc_joblist.o > obj/moc_clients.o obj/moc_storage.o obj/moc_fileset.o obj/moc_joblog.o > obj/moc_jobs.o obj/moc_restoretree.o obj/moc_jobplot.o obj/moc_help.o > obj/qrc_main.o -L../lib -lbac -L/usr/lib -lqwt -lQtGui -lQtCore -lpthread > obj/jobplot.o: In function `JobPlot::byteCheckChanged(int)': > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:536: > undefined reference to `QwtPlotItem::attach(QwtPlot*)' > obj/jobplot.o: In function `JobPlot::fileCheckChanged(int)': > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:521: > undefined reference to `QwtPlotItem::attach(QwtPlot*)' > obj/jobplot.o: In function `JobPlot::setSymbolType(int, int)': > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:503: > undefined reference to `QwtPlotCurve::setSymbol(QwtSymbol const&)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:507: > undefined reference to `QwtPlotCurve::setSymbol(QwtSymbol const&)' > obj/jobplot.o: In function `JobPlot::setPlotType(QString)': > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:435: > undefined reference to > `QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:436: > undefined reference to > `QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:441: > undefined reference to > `QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:442: > undefined reference to > `QwtPlotCurve::setCurveAttribute(QwtPlotCurve::CurveAttribute, bool)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:448: > undefined reference to `QwtPlotCurve::setStyle(QwtPlotCurve::CurveStyle)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:449: > undefined reference to `QwtPlotCurve::setStyle(QwtPlotCurve::CurveStyle)' > obj/jobplot.o: In function `JobPlot::addCurve()': > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:358: > undefined reference to `QwtLegend::QwtLegend(QWidget*)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:358: > undefined reference to `QwtPlot::insertLegend(QwtLegend*, > QwtPlot::LegendPosition, double)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:368: > undefined reference to `QwtPlotCurve::QwtPlotCurve(QString const&)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:369: > undefined reference to `QwtPlotCurve::setPen(QPen const&)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:370: > undefined reference to > `QwtPlotCurve::setCurveType(QwtPlotCurve::CurveType)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:371: > undefined reference to `QwtPlotItem::setYAxis(int)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:373: > undefined reference to `QwtPlotCurve::QwtPlotCurve(QString const&)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:374: > undefined reference to `QwtPlotCurve::setPen(QPen const&)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:375: > undefined reference to > `QwtPlotCurve::setCurveType(QwtPlotCurve::CurveType)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:376: > undefined reference to `QwtPlotItem::setYAxis(int)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:381: > undefined reference to `QwtPlotItem::attach(QwtPlot*)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:382: > undefined reference to `QwtPlotItem::attach(QwtPlot*)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:399: > undefined reference to `QwtPlotCurve::setData(double const*, double > const*, int)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:400: > undefined reference to `QwtPlotCurve::setData(double const*, double > const*, int)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:414: > undefined reference to `QwtPlotMarker::QwtPlotMarker()' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:415: > undefined reference to `QwtText::QwtText(QString const&, > QwtText::TextFormat)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:415: > undefined reference to `QwtPlotMarker::setLabel(QwtText const&)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:416: > undefined reference to > `QwtPlotMarker::setLabelAlignment(QFlags<Qt::AlignmentFlag>)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:417: > undefined reference to > `QwtPlotMarker::setLineStyle(QwtPlotMarker::LineStyle)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:420: > undefined reference to `QwtPlotMarker::setLinePen(QPen const&)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:421: > undefined reference to `QwtPlotMarker::setXValue(double)' > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:422: > undefined reference to `QwtPlotItem::attach(QwtPlot*)' > obj/jobplot.o: In function `JobPlot::setupUserInterface()': > /usr/local/src/bacula-2.2.3/src/qt-console/jobgraphs/jobplot.cpp:337: > undefined reference to `QwtPlot::QwtPlot(QWidget*)' > obj/jobplot.o: In function `QwtPlotItem::detach()': > /usr/include/qwt-qt4/qwt_plot_item.h:64: undefined reference to > `QwtPlotItem::attach(QwtPlot*)' > obj/jobplot.o: In function `DateTimeScaleDraw::label(double) const': > /usr/local/src/bacula-2.2.3/src/qt-console/./jobgraphs/jobplot.h:94: > undefined reference to `QwtText::QwtText(QString const&, > QwtText::TextFormat)' > obj/jobplot.o:(.rodata._ZTV17DateTimeScaleDraw[vtable for > DateTimeScaleDraw]+0x10): undefined reference to > `QwtAbstractScaleDraw::draw(QPainter*, QPalette const&) const' > obj/jobplot.o:(.rodata._ZTV17DateTimeScaleDraw[vtable for > DateTimeScaleDraw]+0x18): undefined reference to > `QwtScaleDraw::extent(QPen const&, QFont const&) const' > collect2: ld returned 1 exit status > make: ** [bat] Erro 1 > > > If you have any tip, I will appreciate. -- Benjamin E. Zeller Ing.-Büro Hohmann Bahnhofstr. 34 D-82515 Wolfratshausen Tel.: +49 (0)8171 347 88 12 Mobil: +49 (0)160 99 11 55 23 Fax: +49 (0)8171 910 778 mailto: [EMAIL PROTECTED] www.ibh-wor.de
pgpUQ4wiKQ5O1.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users