Summary: | kxsldbg 3.4.1 fails if libxslt is built with --without-debugger | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Pat Callahan <pat.callahan> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alex, ansla80, bug1, chris, cuse, dakkar, hartforda, leonardop, notellin, patrick, sgtphou |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Pat Callahan
2005-07-08 05:56:30 UTC
did emerge of libxslt with -g in CFLAGS. kxsldbg still got the same error It seems kxsldbg needs libxslt compiled with --with-debugger. This was enabled by default before 1.1.14, while libxslt-1.1.4 needs USE="debug"... Looking at the source, it seems it changes absolutely nothing if we pass -DFORCE_DEBUGGER to kxsldbg, but I'm not really sure of what's the meaning of all this... (In reply to comment #1) > did emerge of libxslt with -g in CFLAGS. kxsldbg still got the same error A workaround: kxsldbg will build ok with these two commands: USE="debug" emerge libxslt USE="debug" emerge kxsldbg *** Bug 98504 has been marked as a duplicate of this bug. *** Adding: -D FORCE_DEBUGGER to the CFLAGS (as mentioned in the error) works as well. No need to recompile libxslt. *** Bug 99074 has been marked as a duplicate of this bug. *** After a closer look, it seems kxsldbg really needs libxslt compiled with --with-debugger, and becomes useless without it... *** Bug 99105 has been marked as a duplicate of this bug. *** *** Bug 99104 has been marked as a duplicate of this bug. *** *** Bug 99757 has been marked as a duplicate of this bug. *** Probably I will going to add a big warning that kxsldbg may not work if libxslt is compiled with --without-debugger and pass -DFORCE_DEBUGGER. The alternative is to change libxslt to always pass --with-debugger (the performance loss is negligible). But this is up to Leonardo... ;) Thanks for CC'ing me. I've committed libxslt-1.1.14-r1 to pass --with-debugger unconditionally. Please try it out and let me know if it solves this or I need to modify something else. Thank a lot Leonardo, this makes everything easier! Works for me, best regards, Michael Closing. FYI, the stable branch of portage is still affected, since libxslt was updated, but not brought to stable... Oh, this is serious, I missed the fact that libxslt-1.1.14 went stable. I committed a temporary workaround to the stable kdewebdev now. *** Bug 100668 has been marked as a duplicate of this bug. *** *** Bug 100833 has been marked as a duplicate of this bug. *** this has happened to me with libxml2 also... recompiling it with USE="debug" fixed the compilation error of kdewebdev-3.4.2 i was getting. the same problem with libxml2. reemerging it with USE=debug made compilation of kxsldbg possible. maybe add if ! built_with_use libxml2 debug; then .... fi into kxsldbg ebuild? Since it doesn't make much sense to wait any longer for this, I marked libxslt-1.1.14-r2.ebuild stable. I'll remove the 'debug' USE flag from libxml2 soon to help with bug #100898. Ok, feel free to close bug #100898 when you do. It looks like libxslt-1.1.24 no longer has debugger as an optional feature, maybe it can be removed from the ebuild?
>>> Completed installing libxslt-1.1.24-r1 into /var/tmp/portage/dev-libs/libxslt-1.1.24-r1/image/
* QA Notice: Unrecognized configure options:
*
* configure: WARNING: unrecognized options: --with-debugger
* configure: WARNING: unrecognized options: --with-debugger
|