Hi Thomas,

Thomas Baumgart wrote:
> on Wednesday 22 October 2008 01:19, Micha Lenk wrote:
> 
>> Micha Lenk schrieb:
>>> the kmm_banking package fails to build from source together with
>>> KMyMoney2. [...]
>> This should read as "with KMyMoney2 version 0.9.2".
>>
>> I guess we need an update of kmm_banking. Or what version of kmm_banking
>> should I choose to get a working AqBanking integration in the current
>> KMyMoney2 0.9.2 release?
> 
> Please consult http://kmymoney2.sourceforge.net/plugins.html for details.

Ah, thanks for the hint. I didn't know that page.
I conclude that I need kmm_banking's SVN HEAD for KMyMoney2 0.9.2.

> Could it be, that you still have an older version of KMyMoney 'installed'?

No. There is only one kmymoney2 installation here.

I'm trying now with kmm_banking 0.9.8beta plus SVN rev. 38.
Rev. 38 appears to be the only change after kmm_banking 0.9.8beta has
been released, so I consider this equal to kmm_banking SVN HEAD.

I discovered now, that there is an earlier error than the one I reported
yesterday:

make[4]: Entering directory
`/tmp/buildd/kmymoney2-plugin-aqbanking-0.9.8beta/obj-i486-linux-gnu/src'
/bin/sh ../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H
-I. -I/tmp/buildd/kmymoney2-plugin-aqbanking-0.9.8beta/./src -I..
-I/usr/include/gwenhywfar3 -I/usr/include -I/usr/include/gwenhywfar3
-I/usr/include/kde -I/usr/share/qt3/include
-I/tmp/buildd/kmymoney2-plugin-aqbanking-0.9.8beta/./src/kbanking
-I/tmp/buildd/kmymoney2-plugin-aqbanking-0.9.8beta/./src/kbanking/views
 -Ikbanking/views
-I/tmp/buildd/kmymoney2-plugin-aqbanking-0.9.8beta/./src/kbanking/gui
-I/tmp/buildd/kmymoney2-plugin-aqbanking-0.9.8beta/./src/kbanking/widgets
-I/tmp/buildd/kmymoney2-plugin-aqbanking-0.9.8beta/./src/kbanking/dialogs
 -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g
-O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
-fexceptions  -c -o mymoneybanking.lo
/tmp/buildd/kmymoney2-plugin-aqbanking-0.9.8beta/./src/mymoneybanking.cpp
In file included from
/tmp/buildd/kmymoney2-plugin-aqbanking-0.9.8beta/./src/mymoneybanking.cpp:65:
/tmp/buildd/kmymoney2-plugin-aqbanking-0.9.8beta/./src/kbanking/dialogs/kbaccountsettings.h:17:34:
error: kbaccountsettings.ui.h: No such file or directory

This error is caused by the used Debian build system using VPATH for KDE
related packages, so the generated files get placed in a different
directory than the actual source files. This is why the file
kbaccountsettings.ui.h cannot be found: It is generated (by $UIC) and as
such placed in $(top_builddir)/src/kbanking/widgets and not in
$(top_srcdir)/src/kbanking/widgets. To fix this problem the build system
should add $(top_builddir)/src/kbanking/widgets to the include paths
used at this place.

The attached patch fixes this issue. Please commit it to the SVN.

Regards
  Micha
Index: src/Makefile.am
===================================================================
--- src/Makefile.am	(Revision 38)
+++ src/Makefile.am	(Arbeitskopie)
@@ -8,7 +8,8 @@
  -I$(top_srcdir)/src/kbanking/views  -Ikbanking/views \
  -I$(top_srcdir)/src/kbanking/gui \
  -I$(top_srcdir)/src/kbanking/widgets \
- -I$(top_srcdir)/src/kbanking/dialogs
+ -I$(top_srcdir)/src/kbanking/dialogs \
+ -I$(top_builddir)/src/kbanking/dialogs
 
  
 METASOURCES = AUTO

Reply via email to