LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   kmymoney2 mem leak error in slackbuilds (https://www.linuxquestions.org/questions/slackware-14/kmymoney2-mem-leak-error-in-slackbuilds-759098/)

mostlyharmless 10-01-2009 06:55 PM

kmymoney2 mem leak error in slackbuilds
 
Don't know if anyone here actually uses kmymoney2 with Slackware 12.1, but I'd like to share something I discovered about the SlackBuild.

First, the SlackBuild doesn't include the online banking modules, which is fine, but I wanted those, so I modified the script and downloaded the necessary stuff using the usual slackware dependency check :) (Hmm, "make" threw an error saying it needs what?)

Everything finally compiled and installed, but the thing threw an error on exiting (SIGSEGV -11 I believe). One of the developers solved the problem for me by suggesting that I disable, rather than enable, the memory leak checker.

Of course the question has to be raised: why is the memory leak check enabled in the SlackBuild if it is a problem? Or is it only a problem with online banking enabled?

Here's the modified bit as I currently have it, seems to work without problem.

Code:

/configure \
  --prefix=/usr \
  --localstatedir=/var \
  --sysconfdir=/etc \
  --mandir=/usr/man \
  --disable-debug \
  --disable-leak-check \
  --enable-ofxbanking \
  --enable-ofxplugin \
  --disable-pdf-docs \
  --enable-kbanking \

BTW, in case anyone else is interested, I had to download and install libxml++1.09, gwenhywfar-3.11, libsigc++2.018, kmm_kbanking, aqbanking-4.16, libofx-0.9.1, and glibmm, some are SlackBuilds, others not, but just installed with the "./configure, make, make install" routine. I tried using -enable pdf-docs, which needed recode and html2ps-1.0 but recode didn't work in the kmymoney2 script, not sure why...

Michielvw 10-02-2009 12:09 AM

hmm interesting, I really wonder what changed in Slackware-12.1 nowadays that Kmymoney2 doesn't compile anymore. Anyway, I did notice that with 12.2, that --enable-leak-check crashes the whole thing. So from those versions kmymoney2 is actually compiled with --disable-leak-check.

Same with at least support of ofx. I never bothered with kbanking, due to the amount of dependencies that need building. Since I don't use kmymoney2 in that manner, I didn't bother with it.

Anyway, glad you got it working.

-M.


All times are GMT -5. The time now is 11:45 PM.