Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84369 - scim-qtimm-0.8.5 build failed. can't detect KDE headers.
Summary: scim-qtimm-0.8.5 build failed. can't detect KDE headers.
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-07 00:04 UTC by TAKAHASHI, Hideaki
Modified: 2005-03-13 07:36 UTC (History)
0 users

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 TAKAHASHI, Hideaki 2005-03-07 00:04:21 UTC
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.
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-03-07 07:31:09 UTC
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.)
Comment 2 TAKAHASHI, Hideaki 2005-03-07 12:56:29 UTC
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.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-03-07 15:38:57 UTC
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.
Comment 4 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-03-07 17:04:25 UTC
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.
Comment 5 TAKAHASHI, Hideaki 2005-03-07 18:44:36 UTC
OK. new ebuild has been built without $KDEDIR.
Thank you. 
Comment 6 Sok Ann Yap 2005-03-13 07:36:04 UTC
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.