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

Groan, I was a bit worried about this, but hoping not to have to face it.

If you want to "force" it to work, tweak (hard code) src/qt-console/bat.pro.in  
Replace the @QWT_INC@ and @QWT_LIB@ with the appropriate stuff, or simply 
edit bat.pro after running ./configure.  It should be relatively clear what 
to put.  If you edit bat.pro, you will need to rerun qmake manually in the 
qt-console directory.

Regards,

Kern

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