Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 10-01-2009, 06:55 PM   #1
Senior Member
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,784
Blog Entries: 14

Rep: Reputation: 279Reputation: 279Reputation: 279
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.

/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...
Old 10-02-2009, 12:09 AM   #2
Registered: May 2005
Location: Leicester,UK
Distribution: Slackware
Posts: 108

Rep: Reputation: 19
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Due What this mem leak occurring kbarani Linux - Software 2 08-25-2009 10:52 PM
Mem-leak in X?? MasterOfTheWind Linux - Software 2 04-03-2006 02:21 PM
<string> mem leak help BorisMcHack Programming 3 04-13-2005 01:11 AM
SuSE Pro - Mem leak? mikedeatworld Linux - Software 6 10-26-2004 01:34 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration