Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82266 - KDE 3.4 beta2 - KDEDIR not set anywhere in /etc/env.d
Summary: KDE 3.4 beta2 - KDEDIR not set anywhere in /etc/env.d
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 96768 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-16 10:08 UTC by Joseph Roback
Modified: 2005-06-22 05:22 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 Joseph Roback 2005-02-16 10:08:06 UTC
After unmerging KDE-3.3.2 (and removing all old config files) and doing a fresh merge of KDE-3.4.0_beta2, no file in /etc/env.d ever sets the environmental variable `KDEDIR'. It used to come in the with the arts package, but in beta2 only  `46kdepaths-3.4' exists.

This is a problem for compiling KDE applications manually, since it needs to be set. Of course I can set it manually, but it should be there.

Reproducible: Always
Steps to Reproduce:
1. clean system of KDE
2. merge kde-3.4.0_beta2


Actual Results:  
no file in /etc/env.d for setting KDEDIR environmental variable

Expected Results:  
Installed a file in /etc/env.d to set the KDEDIR env var.

Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.3.5,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) MP 2800+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  6 2005, 23:14:36)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -mmmx -msse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://mirrors.tds.net/gentoo
ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex S3TC X a52 aac aalib acl acpi aim alsa apache2 arts
artswrappersuid artworkextra asm audiofile avi berkdb bitmap-fonts bmp bzip2
bzlib cairo cddb cdparanoia cdr cdrom crypt cscope ctype cups curl dhcp
divx4linux dnd dts dv dvd dvdr dvdread emacs encode esd exif ffmpeg flac
foomaticdb freetype freetype2 ftp gd gif gimp gimpprint glade glut gmail gphoto2
graphviz gs gstreamer gtk gtk2 gtkhtml guile hal icq ieee1394 image imagemagick
imap imlib imlib2 innodb ipv6 j2ee jabber java joystick jpeg jpeg2k kde lirc
lm_sensors lzo lzw lzw-tiff mad mbox mjpeg mmap mmx mmx2 mng motif mozdevelop
mozilla moznocompose moznoirc moznomail mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer
msn mysql mythtv ncurses nls nntp nptl nvidia offensive oggvorbis openal opengl
openssh oss pam pcap pcre pda pdf pdflib pear-db perl png pnp ppds print
pthreads python qt quicktime rdesktop readline rtc samba sasl scanner sdl slang
slp snmp sounds sox speex spell sse ssl stream svg svga tcltk tcpd tetex theora
tiff transcode truetype truetype-fonts type1 type1-fonts usb userlocales v4l
v4l2 videos vim-with-x vnc vorbis wifi xchatdccserver xine xinerama xinetd xml
xml2 xmlrpc xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid zlib
video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-16 10:21:32 UTC
That's intentional (see bug 33079), as kde developers are deprecating that 
variable.

Setting KDEDIR for manually compiled applications is correct.
Note however that it should be needed only for older kde packages, newer
ones can also use 'kde-config --prefix' to find the kde libraries.
Comment 2 Joseph Roback 2005-02-16 11:45:58 UTC
Cool.

Actually grabbing the latest `kde-common' from the kde's CVS tree and replacing my 'admin' directory in my project with this newer one works perfectly without the KDEDIR variable defined.

thanks for the help. :)
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-06-22 05:22:14 UTC
*** Bug 96768 has been marked as a duplicate of this bug. ***