LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-01-2009, 06:55 PM   #1
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware 14.1 (multilib) with kernel 3.15.5
Posts: 1,533
Blog Entries: 12

Rep: Reputation: 171Reputation: 171
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...
 
Old 10-02-2009, 12:09 AM   #2
Michielvw
Member
 
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.

-M.
 
  


Reply


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


All times are GMT -5. The time now is 04:52 AM.

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