cd: /usr/src/linux : No such file or directory

phpdog

Senior member
Jun 26, 2003
609
0
0
Hi ,

Im trying to install my nVidia drivers after installing xine .

Ive installed these drivers twice before but ive never had this trouble , could someone offer any assistance ?

this is what im doing

init 3 - to get out of X
then logging in as root
then typing :-
cd /usr/src/linux
and it says this cd: /usr/src/linux/: No such file or directory


Ive installed make and gcc from YaST and i run SuSE 9.1 Pro
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
I think you need the kernel sources. And despite the README in the driver sources, people usually put them in /usr/src, and symlink /usr/src/linux to the driver src directory (/usr/src/linux-KERNEL_VERSION).
 

phpdog

Senior member
Jun 26, 2003
609
0
0
Hi /

in my /usr/src theres only packages folder
and then in that folder theres
BUILD
RPMS
SOURCES
SPECS
SRPMS
theres nuthing in any of those folders except RPMS theres the usual i383 , i686 , athlon etc etc

Ive only been running SuSE for 2 weeks so im kinda liearning as i go :)
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
You'll need to download the kernel sources. There should be an SRPM for it somewhere.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: phpdog
great ,

I see the folder /usr/src/linux-2.6.4-52

thanks ;)

You should be able to do something like ln -s /usr/src/linux-2.6.4-52 /usr/src/linux.
 

phpdog

Senior member
Jun 26, 2003
609
0
0
damn , something else has to be done it says ?
I never done any this the last 2 time i installed these drivers .

It says :-

make [1] : *** [ check-meta ] error 1
make : *** [ cloneconfig ] Error 2

The .config file is a merged configuration.Please remove it by hand before creating your own.
You can use one of the files arch/i386defconfig.* as a template .

I have no idea what this means .

EDIT : I think i know why now , i have to do the YastOnlineUpdate and get the patches , thats the only other thing that i done the last times and it went fine there

 

Kilrsat

Golden Member
Jul 16, 2001
1,072
0
0
YaST should have an nVidia driver package available for download and install. It did on the last SuSE 9.1 machine I setup.

It doesn't install by default, but just fire up YaST, look at the software updates and you should see "nVidia" or "nVidia drivers" in the list. Check the box, say install, sit back, wait, and reboot. Done.
 

phpdog

Senior member
Jun 26, 2003
609
0
0
Hi ,

Yeah thats what i did at first but everytime i install the nVidia package from YOU my system freezes when it tries to start X .

I get as far as the login screen and then nuthing the login splashscreen just freezes something to do with enabling OpenGL/3D , so i started doing it from the .tar download , thats the only way ive been able to get 3D enabled to play UT2004 .

also [ i dont know if i still need to do this ] the last time i had to go and change the XF86Config. file to change "nv" to "nvidia" . and then add some a line to detect "AGP"

I didnt really know exactly what i was doing but It finally worked :)