Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142824 - app-dicts/kannadic-2.0.3 fails to compile / KDE headers not found
Summary: app-dicts/kannadic-2.0.3 fails to compile / KDE headers not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-04 11:34 UTC by Wulf Krueger (RETIRED)
Modified: 2006-10-18 03:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wulf Krueger (RETIRED) gentoo-dev 2006-08-04 11:34:03 UTC
checking for KDE... configure: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/kannadic-2.0.3/work/kannadic-2.0.3/config.log

!!! ERROR: app-dicts/kannadic-2.0.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  kannadic-2.0.3.ebuild, line 21:   Called econf '--disable-debug' '--without-xinerama'
  ebuild.sh, line 541:   Called die

The relevant lines from config.loh

configure:29107: checking for KDE
configure: 29160: /usr/include/ksharedptr.h
configure: 29160: /usr/lib/kde/include/ksharedptr.h
configure: 29160: /usr/local/kde/include/ksharedptr.h
configure: 29160: /usr/local/include/ksharedptr.h
configure: 29160: /usr/kde/include/ksharedptr.h
configure: 29160: /usr/include/kde/ksharedptr.h
configure: 29160: /usr/include/ksharedptr.h
configure: 29160: /opt/kde3/include/ksharedptr.h
configure: 29160: /opt/kde/include/ksharedptr.h
configure: 29160: ./ksharedptr.h
configure: 29160: /usr/qt/3/include/ksharedptr.h
configure:29174: error:
in the prefix, you've chosen, are no KDE headers installed. This will fail.
So, check this please and use another prefix!


The above include dirs can be found in the configure script:

kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
kde_incdirs="$ac_kde_includes $kde_incdirs"

So it searches all over the place but not where KDE actually gets installed on Gentoo. KDEDIR is not set so it can't fall back to that either.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-18 03:26:02 UTC
Should be fixed now that I've migrated it to kde.eclass.