Summary: | kmymoney2 compile fails on emerge and manual compile from official source | ||
---|---|---|---|
Product: | [OLD] Docs-developer | Reporter: | Clark Torgerson <clark_torgerson> |
Component: | Other | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://kmymoney2.sourceforge.net | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 26487 | ||
Bug Blocks: | |||
Attachments: |
kmymoney2-0.5.1.ebuild.patch
kmymoney2-0.5.1-configure.patch |
Description
Clark Torgerson
2003-08-11 18:45:22 UTC
Not a doc's bug.. reassigned to bug-wranglers DO you have libxml2 and libxmlpp installed on your system? Maybe a reemerge of those packages will help? You don't happen to have the static use flag set do you? Did you have it set when you emerged libxml? What do you see when do you an ls /usr/lib/libxml* Guessing you may have some older libxml++ floating around. I'd recommend deleting /usr/ lib/libxml++* and then reemerging libxmlpp a run of /sbin/fix_libtool_files.sh may help too Turns out to be because of weird code in kmymoney's configure taken from what is probably old version of libxml++.m4. It doesn't add `xml++-config --libs` to LDFLAGS but instead extracts library path from xml++-config's output and then adds $(this_extracted_path)/libxml++.a to LDFLAGS. dev-cpp/libxmlpp contains /usr/lib/libxml++-0.1.a, so this fails. Running aclocal && autoconf before configure would fix it, but I can't make it work: configure.in:130: error: m4_popdef: undefined macro: AC_Dest autoconf/status.m4:844: AC_CONFIG_FILES is expanded from... configure.in:130: the top level autom4te-2.58: /usr/bin/m4 failed with exit status: 1 So I modified the ebuild to patch configure instead and now it works. Can the patch please be applied to Portage? Created attachment 21687 [details, diff]
kmymoney2-0.5.1.ebuild.patch
Created attachment 21688 [details, diff]
kmymoney2-0.5.1-configure.patch
|