configure stopped. (snip) checking for Qt... libraries /usr/qt/3/lib, headers /usr/qt/3/include using -mt checking for moc... /usr/qt/3/bin/moc checking for uic... /usr/qt/3/bin/uic checking whether uic supports -L ... yes checking whether uic supports -nounload ... yes checking if Qt needs -ljpeg... no checking for rpath... yes 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! I tried follow command. it seems good. KDEDIR=/usr/kde/3.3 emerge scim-qtimm Reproducible: Always Steps to Reproduce: 1. 2. 3.
Please submit the output of `emerge --info`. Also, what does `echo $KDEDIR` return? It should return /usr/kde/3.3 on your system. (This comes from /etc/profile.env, which is sourced from /etc/profile. So if you have valid KDE installation KDEDIR must be defined.)
sorry. -- emerge info -- Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.11-gentoo-r2 i686) ================================================================= System uname: 2.6.11-gentoo-r2 i686 Intel(R) Celeron(TM) CPU 650MHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 11:34:40)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.4_p6, 1.5, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r4 sys-devel/libtool: 1.5.10-r5 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -ftracer -march=pentium3 -mtune=pentium3 -pipe -fforce-addr -minline-all-stringops -mno-push-args -fno-defer-pop -fmove-all-movables -funit-at-a-time" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -ftracer -march=pentium3 -mtune=pentium3 -pipe -fforce-addr -minline-all-stringops -mno-push-args -fno-defer-pop -fmove-all-movables -funit-at-a-time" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache digest distlocks prelink sfperms" GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://mirror.gentoo.gr.jp http://gentoo.gg3.net/" LANG="ja_JP.eucJP" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portagejp" SYNC="rsync://rsync4.jp.gentoo.org/gentoo-portage" USE="X aalib acl acpi alsa apache2 bash-completion berkdb bitmap-fonts bzip2 bzlib cjk crypt ctype curl dba emboss exif f77 fam fbcon firebird fortran ftp gd gdbm geoip ggi gif gmp gtk gtk2 gzip iconv imagemagick imlib imlib2 immqt interbase ithreads java javamail jce jms jpeg jpeg2k junit jython kakasi kde kdeenablefinal ldap libg++ libwww m17n-lib maildir mikmod mime mmap mmx mmx2 mng moznocompose moznoirc moznomail mp3 ncurses nls no-htdocs nomotif norhino nptl nptlonly oggvorbis opengl openssh oss pam pcap pcre pdflib perl php pic png posix pthreads python qt quicktime readline rrdtool samba sasl sharedmem slang snmp soap sockets spell sqlite sse ssl svga sysvipc tcpd threads tiff truetype truetype-fonts type1-fonts ucs2 ucs4 unicode usb userlocales x86 xfs xml xml2 xmlrpc xpm xscreensaver xsl xv zlib video_cards_savage linguas_ja" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS KDEDIR is not defined. $ `echo $KDEDIR` $ $ env | grep KDEDIR KDEDIRS=/usr $ grep KDEDIR /etc/env.d/* /etc/profile.env /etc/env.d/99kde-env:KDEDIRS=/usr /etc/profile.env:export KDEDIRS='/usr' kde-base/kde-env-3-r3 installed.
fyi, Mamoru: $KDEDIR is deprecated in favor of $KDEDIRS. Applications which rely on it have to set in the ebuild. `kde-config --prefix` provides the current path.
Thanks carlo. I confirmed the problem by unsetting $KDEDIR (and removing kdedir env setting from /etc/env.d), and so set $KDEDIR explicitly in the ebuild by using kde-config. Hideaki, please run `emerge --sync` and emerge scim-qtimm again. This time you won't need to set $KDEDIR manually.
OK. new ebuild has been built without $KDEDIR. Thank you.
I use "-arts" and the compilation failed since --without-arts wasn't passed to the configure script. This can be fixed by adding "arts" to IUSE and passing "$(use_with arts)" to econf.