Seems to be a problem with your current qmake alternatives (maybe
pointing to qmake3).  You can fix it with update-alternatives:

[EMAIL PROTECTED]:~$ dpkg -l | grep ^ii | grep -i qt4
ii  libqt4-core                      4.3.0-2+b1                  Qt 4
core non-GUI functionality runtime library
ii  libqt4-dev                       4.3.0-2+b1                  Qt 4
development files
ii  libqt4-gui                       4.3.0-2+b1                  Qt 4
core GUI functionality runtime library
ii  libqt4-qt3support                4.3.0-2+b1                  Qt 3
compatibility library for Qt 4
ii  libqt4-sql                       4.3.0-2+b1                  Qt 4
SQL database module
ii  lsb-qt4                          3.1-23.1                    Linux
Standard Base 3.1 Qt4 support package
ii  python-qt4                       4.2-1
Python bindings for Qt4
ii  qt4-designer                     4.3.0-2+b1                  Qt 4 Designer
ii  qt4-dev-tools                    4.3.0-2+b1                  Qt 4
development tools
ii  qt4-doc                          4.3.0-2                     Qt 4
API documentation
ii  qt4-qtconfig                     4.3.0-2+b1                  Qt 4
configuration tool


To know which is your current alternative:

[EMAIL PROTECTED]:~$ sudo update-alternatives  --display qmake
qmake - status is manual.
 link currently points to /usr/bin/qmake-qt3
/usr/bin/qmake-qt4 - priority 40
 slave qmake.1.gz: /usr/share/man/man1/qmake-qt4.1.gz
/usr/bin/qmake-qt3 - priority 45
Current `best' version is /usr/bin/qmake-qt3.


And to change your current alternative:

[EMAIL PROTECTED]:~$ sudo update-alternatives --config qmake

There are 2 alternatives which provide `qmake'.

  Selection    Alternative
-----------------------------------------------
          1    /usr/bin/qmake-qt4
*+        2    /usr/bin/qmake-qt3

Press enter to keep the default[*], or type selection number:


On 7/12/07, Kern Sibbald <[EMAIL PROTECTED]> wrote:
> On Thursday 12 July 2007 19:33, Michel Meyers wrote:
> > Trying to compile the latest Bacula beta (2.1.26) on my Debian System I get:
> >
> > qwt.h not found. bat turned off ...
> >
> > When running ./configure --with-mysql=/usr --enable-bwx-console
> > --enable-bat --enable-tls --with-openssl=/usr --with-qwt=/usr
> >
> > The problem is: Debian doesn't put QWT directly in /usr/include, they
> > put the files into /usr/include/qwt.
> >
> > Running configure with that directory doesn't help either and from what
> > I see, it will always look for ${with_qwt}/include/qwt.h, no matter what
> > I specify. Does this need fixing in the configure script or is this a
> > fault with my distribution (ie should I be putting symlinks into
> > /usr/include or something?). I know Debian has the same directory
> > structure for other stuff not used by Bacula (like loudmouth).
> >
>
> Oh, by the way, how do you get Qt4 correctly installed.  On Debian, I have not
> yet worked that out ...  I always get strange errors printed by qmake and
> moc.
>
> -------------------------------------------------------------------------
> 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
>


-- 
Julián

-------------------------------------------------------------------------
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