Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
klibido 0.2.3 crash; possible fix
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Korpios
n00b
n00b


Joined: 13 May 2005
Posts: 4

PostPosted: Fri May 13, 2005 10:31 pm    Post subject: klibido 0.2.3 crash; possible fix Reply with quote

Klibido 0.2.3 seems to crash upon clicking the "subscribe to newsgroup" button. I wiped the db and tmp directories before the upgrade, just to be on the safe side.

After reinstalling various supporting dependencies along with klibido, nothing seemed to solve the issue; what finally did the trick was unmasking and installing sys-libs/db-4.3 (4.3.27, actually, since that's what in portage at the moment) and editing the klibido ebuild to force using BerkDB 4.3 rather than an earlier version (as the klibido website mentions upgrading the code to work with 4.3, although it isn't implied that this should break support for earlier versions of BerkDB), and then reinstalling klibido.

Before:
Code:

DEPEND="dev-libs/uulib
    >=sys-libs/db-4.1"

need-kde 3

src_compile() {
    local libdbver="$(best_version sys-libs/db)"
    libdbver="${libdbver/sys-libs\/db-/}"
    libdbver="$(get_version_component_range 1-2 ${libdbver})"

    myconf="${myconf}
        --datadir=${D}/usr/share
        --with-extra-includes=/usr/include/db${libdbver}/
        $(use_enable debug)
    "
    kde_src_compile
}


and after:
Code:

DEPEND="dev-libs/uulib
    >=sys-libs/db-4.3"

need-kde 3

src_compile() {
    myconf="${myconf}
        --datadir=${D}/usr/share
        --with-extra-includes=/usr/include/db4.3/
        $(use_enable debug)
    "
    kde_src_compile
}


Is anyone else having this issue, and if so, does this solve the problem?
Back to top
View user's profile Send private message
irasnyd
Apprentice
Apprentice


Joined: 16 Feb 2003
Posts: 286
Location: Placentia, CA

PostPosted: Fri May 13, 2005 11:04 pm    Post subject: Reply with quote

I'm having this too. Perhaps you should file a bug on the gentoo bugzilla, since this was happening to me when I first installed 0.2.3 by bumping the ebuild on my own (I talked to the author of klibido and we fixed it), and today I deleted my ebuild and moved to the official gentoo one, which again has this problem. So I think it might be a gentoo problem.

If you post the bugzilla entry here, I'd be happy to contribute to it.
Back to top
View user's profile Send private message
irasnyd
Apprentice
Apprentice


Joined: 16 Feb 2003
Posts: 286
Location: Placentia, CA

PostPosted: Thu May 19, 2005 11:02 pm    Post subject: Reply with quote

Here is a fix from the klibido author.
http://klibido.sourceforge.net/availablegroups.cpp.diff
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum