Problems Compiling KMM KF5

Jack ostroffjh at users.sourceforge.net
Wed Mar 28 16:14:15 UTC 2018


Thomas,

I think you misunderstood what I was suggesting.  The reason was in one  
of Brendan's earlier message, it looked like it disabled the importers,  
but without any statement of why.  So - my suggestion (expanded a bit)  
was to first run "cmake .. <other settings>" and if there was no clear  
indication of problems, to then do "ccmake ." (note the double "c"  
which runs the interactive version) to see what was and was not  
enabled.  At that point, I think you can manually change a setting, and  
then when you hit "c" (to configure) it knows that has changed, so does  
not just take previous settings from cache.  (I'd have to test again to  
be absolutely sure, but I'm pretty sure I have done that in the past.)

Anyway - I see Łukasz did note a possibly missing package in one of  
Bredan's outputs - maybe that will lead to success.

Jack

On 2018.03.28 03:25, Thomas Baumgart wrote:
> Hi,
> 
> On Dienstag, 27. März 2018 18:25:42 CEST Jack wrote:
> 
> > After your initial cmake, do a "ccmake ." in the build directory,  
> and
> > see how the options are set for those features.  I thought they  
> should
> > default to ON and only get disabled if it can't find the required
> > libraries, but that SHOULD give you a message about not finding  
> them.
> 
> It should be 'cmake ..' in case your build-dir is a subdir of the  
> src-dir
> (many dirs here).
> 
> It could also well be, that cmake caches some of the findings and  
> does not
> check again. In that case it helps to do the following:
> 
>   cd <build-dir>
>   rm CMakeCache.txt
>   cmake .. <don't forget specific settings here>
> 
> The "Don't forget specific settings here" includes the plugin dir  
> setting as
> this is also gone when you wipe the cache.
> 
> In case it still does not work, not only the summary is required but  
> all the
> console output.
> 
> Regards
> 
> Thomas
> 
> 
> > On 2018.03.27 18:14, Brendan Coupe wrote:
> > > OK, that worked. I have plugins working.
> > >
> > > Now to the second half of my original problem. Online banking is  
> not
> > > working. From my original email:
> > >
> > > ​===================================​
> > >
> > > -- The following features have been disabled:
> > >  * KBanking, Interface for the following online banking protocols:
> > > HBCI,
> > > EBICS, OFX Direct Connect, Paypal
> > >
> > >
> > >
> > > *----Brendan Coupe*
> > >
> > > On Tue, Mar 27, 2018 at 3:45 PM, Brendan Coupe  
> <brendan at coupeware.com>
> > >
> > > wrote:
> > > > OK, trying that next.
> > > >
> > > >
> > > >
> > > > *----Brendan Coupe*
> > > >
> > > > On Tue, Mar 27, 2018 at 3:41 PM, Andrew Ho  
> <andrewho at animezone.org>
> > >
> > > wrote:
> > > >> Hi,
> > > >>
> > > >> cmake .. -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins/kf5
> > > >> All the plugins are not shown up.
> > > >>
> > > >> cmake .. -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins
> > > >> All the plugins are loaded.
> > > >>
> > > >> Thanks,
> > > >>
> > > >> On 3/27/2018 2:05 PM, Thomas Baumgart wrote:
> > > >>> Hi,
> > > >>>
> > > >>> On Dienstag, 27. März 2018 10:08:57 CEST Brendan Coupe wrote:
> > > >>> >From MASTER Build directory (1.txt):
> > > >>>> grep plugins
> > > >>>> ​_​
> > > >>>> install_manifest.txt
> > > >>>> /usr/lib64/plugins/kmymoney/checkprinting.so
> > > >>>> /usr/lib64/plugins/kmymoney/csvexporter.so
> > > >>>
> > > >>> [...]
> > > >>>
> > > >>> /usr/lib64/plugins/kmymoney/sqlstorage.so
> > > >>>
> > > >>>> /usr/share/doc/HTML/en/kmymoney/configure_plugins.png
> > > >>>>
> > > >>>> >From 5.0.1 tarball build directory (2.txt):
> > > >>>> grep plugins install
> > > >>>> ​_​
> > > >>>> manifest.txt
> > > >>>> /usr/lib64/plugins/kmymoney/checkprinting.so
> > > >>>> /usr/lib64/plugins/kmymoney/csvexporter.so
> > > >>>
> > > >>> [...]
> > > >>>
> > > >>> /usr/lib64/plugins/kmymoney/reconciliationreport.so
> > > >>>
> > > >>>> /usr/share/doc/HTML/en/kmymoney/configure_plugins.png
> > > >>>>
> > > >>>>
> > > >>>> diff 1.txt 2.txt
> > > >>>> 4d3
> > > >>>> < /usr/lib64/plugins/kmymoney/forecastview.so
> > > >>>> 9d7
> > > >>>> < /usr/lib64/plugins/kmymoney/kcm_forecastview.so
> > > >>>> 21d18
> > > >>>> < /usr/lib64/plugins/kmymoney/sqlstorage.so
> > > >>>
> > > >>> That is OK, since we turned forecast and sql storage into a
> > >
> > > plugin.
> > >
> > > >>>> find /usr -name FrameworkIntegrationPlugin.so
> > > >>>> /usr/lib64/qt5/plugins/kf5/FrameworkIntegrationPlugin.so
> > > >>>
> > > >>> Aha, it's what I thought. You need to install the plugins  
> into a
> > > >>> different
> > > >>> directory.
> > > >>>
> > > >>> Proceed as follows:
> > > >>>    cd your-kmymoney-build-dir
> > > >>>
> > > >>>    # remove current installation to cleanup
> > > >>>    sudo make uninstall
> > > >>>
> > > >>>    # setup plugin installation directory
> > > >>>    cmake .. -DKDE_INSTALL_PLUGINDIR=/usr/lib64/qt5/plugins/kf5
> > > >>>
> > > >>>     // the above step assumes, that your source dir is in ..
> > > >>>
> > > >>>    # build the project
> > > >>>    make
> > > >>>
> > > >>>    # and install it again
> > > >>>    sudo make install/fast
> > > >>>
> > > >>>    # now test
> > > >>>    kmymoney
> > > >>>
> > > >>> Now your plugins should be loaded.
> > > >>>
> > > >>> *----Brendan Coupe*
> > > >>>
> > > >>>> On Tue, Mar 27, 2018 at 12:20 AM, Thomas Baumgart
> > >
> > > <thb at net-bembel.de>
> > >
> > > >>>> wrote:
> > > >>>>> Hi Brendan,
> > > >>>>>
> > > >>>>> On Montag, 26. März 2018 18:00:30 CEST Brendan Coupe wrote:
> > > >>>>>> Output from cmake on 5.0.1 tarball (looks more like what I
> > >
> > > have seen
> > >
> > > >>>>>> with
> > > >>>>>> 4.8). Note it starts off with KMyMoney 5.0.0
> > > >>>>>> (maybe related to the issue that made Thomas "Argh" earlier
> > >
> > > today).
> > >
> > > >>>>> Yep!
> > > >>>>>
> > > >>>>> ============================================
> > > >>>>>
> > > >>>>>> -------- KMyMoney 5.0.0 --------
> > > >>>>>>
> > > >>>>>> Configure results (user options):
> > > >>>>>> --------------------------------------------
> > > >>>>>> GpgME Encryption:                        yes
> > > >>>>>>
> > > >>>>>> KDE PIM holidays:                        yes
> > > >>>>>>
> > > >>>>>> KDE PIM addressbook:                     yes
> > > >>>>>>
> > > >>>>>> OFX plugin:                              yes
> > > >>>>>>
> > > >>>>>>    OFX supports CLIENTUID:                no
> > > >>>>>>
> > > >>>>>> KBanking plugin:                         no
> > > >>>>>>
> > > >>>>>> weboob plugin:                           no
> > > >>>>>>
> > > >>>>>> iCalendar export plugin:                 yes
> > > >>>>>>
> > > >>>>>> SQLCipher plugin:                        no
> > > >>>>>>
> > > >>>>>> QWebEngine:                              no
> > > >>>>>>
> > > >>>>>> --------------------------------------------
> > > >>>>>> Configure results (developer options):
> > > >>>>>> --------------------------------------------
> > > >>>>>> Qt-Designer library support:             no
> > > >>>>>>
> > > >>>>>> Generate modeltest code:                 no
> > > >>>>>>
> > > >>>>>> Generate API documentation with Doxygen: yes
> > > >>>>>>
> > > >>>>>> Build type: RelWithDebInfo
> > > >>>>>> -- Found PythonInterp: /usr/bin/python (found version  
> "2.7.14")
> > > >>>>>> -- Configuring done
> > > >>>>>> -- Generating done
> > >
> > > >>>>>> -- Build files have been written to:
> > > /usr/local/src/kmm/kmymoney-5.
> > >
> > > >>>>> 0.1/build
> > > >>>>>
> > > >>>>> That looks fine. Can you provide me with the output of the
> > >
> > > following
> > >
> > > >>>>> comamnds
> > > >>>>>
> > > >>>>> please (run them in your build directory):
> > > >>>>>    grep plugins install_manifest.txt
> > > >>>>>    find /usr -name FrameworkIntegrationPlugin.so
> > > >>>>>
> > > >>>>> Thanks.
> > > >>>>>
> > > >>>>> --
> > > >>>>>
> > > >>>>> Regards
> > > >>>>>
> > > >>>>> Thomas Baumgart
> > > >>>>>
> > > >>>>> https://www.telegram.org/       Telegram, the better  
> WhatsApp
> > > >>>>>  
> -------------------------------------------------------------
> > > >>>>> Any sufficiently advanced bug is indistinguishable from a
> > >
> > > feature.
> > >
> > > >>>>> (Rich Kulawiec)
> > > >>>>>  
> -------------------------------------------------------------
> 
> --
> 
> Regards
> 
> Thomas Baumgart
> 
> https://www.telegram.org/       Telegram, the better WhatsApp
> -------------------------------------------------------------
> Software has no brain - user your own!
> -------------------------------------------------------------
> 



More information about the KMyMoney-devel mailing list