Bacula-users

Re: [Bacula-users] compile error in the qt-console DIR

2008-08-04 22:17:53
Subject: Re: [Bacula-users] compile error in the qt-console DIR
From: Dirk Bartley <bartleyd2 AT chartermi DOT net>
To: agentc0re <agentc0re AT heartslc DOT com>
Date: Mon, 04 Aug 2008 22:17:33 -0400
It's looking for qwt.  Either  the --with-qwt=/usr/lib/qt3/lib or some
sort of path where qwt can be found or --without-qwt.  qwt makes the
plotting work and is not required.

Dirk

On Mon, 2008-08-04 at 13:57 -0700, agentc0re wrote:
> Here is the output.
> 
> /packages/bacula/bacula-2.4.2/src/qt-console/jobgraphs/jobplot.cpp:417:
> undefined reference to
> `QwtPlotMarker::setLabelAlignment(QFlags<Qt::AlignmentFlag>)'
> obj/jobplot.o:(.rodata._ZTV17DateTimeScaleDraw[vtable for
> DateTimeScaleDraw]+0x10): undefined reference to
> `QwtAbstractScaleDraw::draw(QPainter*, QPalette const&) const'
> collect2: ld returned 1 exit status
> make[1]: *** [bat] Error 1
> make[1]: Leaving directory `/packages/bacula/bacula-2.4.2/src/qt-console'
> 
> 
> Not sure what i should do from here.  Here's my configure script.
> #!/bin/sh
> 
> QTDIR=/opt/qt4
> QTINC=/opt/qt4/include
> QTLIB=/opt/qt4/lib
> export PATH=$QTDIR/bin:$PATH
> 
> CFLAGS="-g -Wall" \
> ./configure \
> --prefix=/usr \
> --sbindir=/usr/sbin \
> --sysconfdir=/etc/bacula \
> --with-scriptdir=/etc/bacula \
> --enable-smartalloc \
> --enable-bat \
> --enable-bwx-console \
> --enable-tray-monitor \
> --with-mysql \
> --with-working-dir=/var/bacula \
> --with-pid-dir=/var/run \
> --with-subsys-dir=/var/run \
> --with-qwt=/usr/local/qwt-5.1.1 \
> --with-python \
> --enable-batch-insert \
> --with-dir-password=*\
> --with-fd-password=*\
> --with-sd-password=*\
> --with-dir-group=bacula \
> --with-fd-group=bacula \
> --with-sd-group=bacula \
> --with-mon-dir-password=*\
> --with-mon-fd-password=*\
> --with-mon-sd-password=*
> 

Attachment: signature.asc
Description: This is a digitally signed message part

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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>