Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
help installing kde
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Fri Apr 30, 2004 5:26 pm    Post subject: help installing kde Reply with quote

when i emerge kde
i get this error message

>>> emerge (1 of 41) media-libs/svgalib-1.9.17-r3 to /
>>> md5 src_uri ;-) svgalib-1.9.17.tar.gz
*
* Could not determine your kernel version.
* Make sure that you have /usr/src/linux symlink.
* And that said kernel has been configured.
* You can also simply run the following commain
* in the kernel referenced by /usr/src/linux:
* make include/linux/version.h
*

!!! ERROR: media-libs/svgalib-1.9.17-r3 failed
!!! Function check_KV, Line 256, Exitcode 0
!!! (no error message)



does anyone know how i can fix this ?
Back to top
View user's profile Send private message
sobers_2002
Veteran
Veteran


Joined: 16 Mar 2004
Posts: 1128

PostPosted: Fri Apr 30, 2004 5:33 pm    Post subject: Reply with quote

did u upgrade ur kernel or something??? ur /usr/src/linux doesnt point to correct kernel version or none at all.........do this

Code:
ln -s /usr/src/linux-2.x.x /usr/src/linux


hope this helps

luck!!
Saurabh
Back to top
View user's profile Send private message
befortin
Apprentice
Apprentice


Joined: 10 Feb 2004
Posts: 193

PostPosted: Fri Apr 30, 2004 5:36 pm    Post subject: Reply with quote

You should take a look at /usr/src/linux. Please run the following command :

"ls -l /usr/src/linux" and post here the output of the command.
Back to top
View user's profile Send private message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Fri Apr 30, 2004 5:42 pm    Post subject: Reply with quote

linux-2.6.5-gentoo-r1 -> /usr/src/linux-2.6.5-gentoo-r1

Last edited by remix on Fri Apr 30, 2004 7:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
befortin
Apprentice
Apprentice


Joined: 10 Feb 2004
Posts: 193

PostPosted: Fri Apr 30, 2004 5:55 pm    Post subject: Reply with quote

OK. Then, try the following :

Code:

ln -s /usr/src/linux-2.6.5-gentoo.r1 /usr/src/linux
emerge kde


And don't forget to tell us if it works!
Back to top
View user's profile Send private message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Fri Apr 30, 2004 7:27 pm    Post subject: Reply with quote

nope, no luck. same error message
Back to top
View user's profile Send private message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Fri Apr 30, 2004 7:32 pm    Post subject: Reply with quote

when i did the code, it said

ln '/usr/src/linux-2.6.5-gentoo-r1' : File exists
Back to top
View user's profile Send private message
befortin
Apprentice
Apprentice


Joined: 10 Feb 2004
Posts: 193

PostPosted: Fri Apr 30, 2004 7:36 pm    Post subject: Reply with quote

Try this :

Code:

rm /usr/src/linux && ln -s /usr/src/linux-2.6.5-gentoo.r1 /usr/src/linux
Back to top
View user's profile Send private message
remix
l33t
l33t


Joined: 28 Apr 2004
Posts: 797
Location: hawaii

PostPosted: Fri Apr 30, 2004 7:40 pm    Post subject: Reply with quote

k thanks, i got it rolling again...

does anyone know about how long this takes? i fell asleep many times, and i think i'm gonna go out to the mall or something if its gonna be all day. :wink:
Back to top
View user's profile Send private message
befortin
Apprentice
Apprentice


Joined: 10 Feb 2004
Posts: 193

PostPosted: Fri Apr 30, 2004 9:10 pm    Post subject: Reply with quote

It depends of your system (how much RAM and MHz), but it should take a LOT of time...

BTW, you should read the following, from http://www.gentoo.org/doc/en/desktop.xml#doc_chap3

Quote:

KDE

I am assuming that you are going to install KDE if you are reading this section. KDE is fully supported in Gentoo Linux, but there are a couple of things that you want to make sure of before you emerge KDE:

* Make sure that "qt" and "kde" are in your USE variables in make.conf.
* Make sure that (optional) "-gnome" and "-gtk" are in your USE variables in make.conf.

Both of the above steps can be done by editing /etc/make.conf like so:

Code Listing 3.1: Editing make.conf

# nano -w /etc/make.conf
Inside of make.conf
USE="qt kde -gnome -gtk"

To find out more about USE variables, please reference the USE flags chapter in the Gentoo handbook.

It's always useful to use the --pretend flag before doing an emerge to see what dependencies are going to be installed, and in our case it's quite a lot.

Code Listing 3.2: Looking at KDE Packages/Deps

# emerge --pretend kde
# emerge kde
# env-update && source /etc/profile

Now take a look inside /etc/X11/Sessions/ and see what KDE sessions exist (for instance kde-3.1.2). Then open up /etc/rc.conf and edit it so that it reads:

Code Listing 3.3: Setting the XSESSION variable

XSESSION="kde-3.1.2"

If you don't want to install KDE with all its components (which is what emerge kde does) but rather select the KDE packages you do want, install those seperately. The following table shows you a selection of possible KDE packages. Install any one of them using emerge packagename.
Package Description
kdeaccessibility Accessibility related programs
kdebase Base KDE packages and necessities
kdeaddons Miscellaneous older/obsoleted KDE tools
kdeadmin Administrative KDE tools
kdeartwork Nice art themes for KDE
kdeedu Educational KDE tools
kdegames KDE games
kdegraphics KDE graphical art tools
kdemultimedia Multimedia players/framework for KDE
kdenetwork Network-related tools for KDE
kdepim KDE PIM tools, calendars, desktop notes etc.
kdesdk Code development tools
kdetoys Amusement tools for the KDE desktop
kdeutils Graphical system utilities
kde-i18n i18n language files - see note

Note: If you plan to use CUPS for printing then you probably want "cups" in your USE variables in /etc/make.conf before emerging KDE. This can also be done from the command line by doing a USE="cups" emerge kde . Please reference the Gentoo Print Guide for a complete CUPS install explanation.

Note: The kde-i18n package checks the LINGUAS environment variable to determine which language packages you would like to install. For example, LINGUAS="fr it" would install both French and Italian language packages.

Have a nice nap!

Note: If you have a Gentoo Linux binary CD, then you can install the packages directly off the CD:

Code Listing 3.4: Installing binary packages from the CD

# export PKGDIR=/mnt/cdrom/packages
(Normally Portage expects packages to be in /usr/portage/packages)
# emerge --usepkg /mnt/cdrom/packages/All/kdebase-x.y.z.tbz2
(The --usepkg flag makes sure that binary packages are used for the dependencies (if available).)
# env-update && source /etc/profile

Configuring KDM

After KDE is installed, it maybe preferable to use a nice login manager, specifically the KDE login manager, or KDM. KDM comes with the KDE packages, so to run it all you have to do is:

Code Listing 3.5: Running KDM

# kdm

You should be able to log in and see KDE in full working order. Of course sound shouldn't be working yet, so you'll miss the annoying KDE start-up sound, but we'll fix that in a moment. Open a konsole, type ls /usr/bin (or anything else that more than fills the konsole window), and see if the mouse wheel lets you scroll up and down in the konsole window. It really should work!

All that's left is to make sure that X comes up when Gentoo boots. Edit /etc/rc.conf so that DISPLAYMANAGER="kdm".

Code Listing 3.6: Editing /etc/rc.conf

# nano -w /etc/rc.conf

Code Listing 3.7: /etc/rc.conf -- setting DISPLAYMANAGER

# What display manager do you use ? [ xdm | gdm | kdm ]
DISPLAYMANAGER=kdm

Now we just need to make sure that the xdm start-up script is read when booting.

Code Listing 3.8: Adding XDM script to default runlevel

# rc-update add xdm default

Reboot, and see if X/KDE comes up!

Important: The rc-update command is Gentoo Linux's improved version of the venerable chkconfig command for managing init scripts. Type rc-update by itself for a list of options.


Good luck!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum