Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x11-drivers/nvidia-drivers errors on missing kernel makefie
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
user317
Guru
Guru


Joined: 26 Jan 2003
Posts: 314

PostPosted: Mon Jan 26, 2009 7:45 pm    Post subject: x11-drivers/nvidia-drivers errors on missing kernel makefie Reply with quote

Code:

>>> Failed to emerge x11-drivers/nvidia-drivers-180.22, Log file:

>>>  '/var/tmp/portage/x11-drivers/nvidia-drivers-180.22/temp/build.log'

 * Messages for package x11-drivers/nvidia-drivers-180.22:

 * Could not find a Makefile in the kernel source directory.
 * Please ensure that /usr/src/linux points to a complete set of Linux sources
 


i am missing that makefile:

Code:
# ls -l /usr/src/linux/Makefile
ls: cannot access /usr/src/linux/Makefile: No such file or directory


i installed my kernel vai genkernel, so is this a bug int he new nvidia ebuild? genkernel? or am i doing something wrong?
Back to top
View user's profile Send private message
jfp
Guru
Guru


Joined: 08 Jul 2007
Posts: 326
Location: Virginia, USA

PostPosted: Mon Jan 26, 2009 8:09 pm    Post subject: Reply with quote

Please post
Code:
ls -al /usr/src

The fact that your are using genkernel should not make a difference. The kernel directory is the same.
_________________
jfp
Back to top
View user's profile Send private message
user317
Guru
Guru


Joined: 26 Jan 2003
Posts: 314

PostPosted: Mon Jan 26, 2009 9:21 pm    Post subject: Reply with quote

Code:


ls -al /usr/src
total 16
drwxr-xr-x  4 root root 4096 Jan 21 03:13 .
drwxr-xr-x 16 root root 4096 Dec 17 18:46 ..
-rw-r--r--  1 root root    0 Jun 17  2008 .keep
lrwxrwxrwx  1 root root   22 Dec 16 06:02 linux -> linux-2.6.26-gentoo-r4
drwxr-xr-x 20 root root 4096 Jan  8 03:13 linux-2.6.26-gentoo-r4
drwxr-xr-x 22 root root 4096 Jan 21 03:12 linux-2.6.27-gentoo-r8
Back to top
View user's profile Send private message
jfp
Guru
Guru


Joined: 08 Jul 2007
Posts: 326
Location: Virginia, USA

PostPosted: Mon Jan 26, 2009 10:20 pm    Post subject: Reply with quote

Well, the symlink is there. Lets see what in /usr/src/linux
Code:
ls -al /usr/src/linux/

For me it looks like ( I deleted a bunch of kernel compile files from the listing for brevity )
Note that Makefile is there.
Code:

speedy ~ # ls -al /usr/src/linux/
total 42646
drwxr-xr-x 23 root root     1528 Jan 18 18:42 .
drwxr-xr-x  5 root root      200 Dec 24 18:30 ..
-rw-r--r--  1 root root    47017 Jan 18 18:41 .config
-rw-r--r--  1 root root    46932 Jan 18 15:26 .config.old
-rw-r--r--  1 root root      867 Oct  9 18:13 .gitignore
-rw-r--r--  1 root root     3799 Oct  9 18:13 .mailmap
-rw-r--r--  1 root root        2 Jan 18 18:42 .version
-rw-r--r--  1 root root      717 Jan 18 18:42 .vmlinux.cmd
-rw-r--r--  1 root root      666 Jan 18 18:42 .vmlinux.o.cmd
-rw-r--r--  1 root root    18693 Oct  9 18:13 COPYING
-rw-r--r--  1 root root    92899 Oct  9 18:13 CREDITS
drwxr-xr-x 78 root root     6424 Dec 24 18:30 Documentation
-rw-r--r--  1 root root     2430 Oct  9 18:13 Kbuild
-rw-r--r--  1 root root   101926 Dec 24 18:29 MAINTAINERS
-rw-r--r--  1 root root    56771 Dec 24 18:29 Makefile
-rw-r--r--  1 root root    16930 Oct  9 18:13 README
-rw-r--r--  1 root root     3172 Oct  9 18:13 REPORTING-BUGS
drwxr-xr-x 25 root root      664 Dec 24 18:46 arch
drwxr-xr-x  2 root root     2120 Jan 18 15:27 block
drwxr-xr-x  3 root root     4304 Jan 18 15:27 crypto
drwxr-xr-x 80 root root     2136 Jan 18 18:41 drivers
drwxr-xr-x 17 root root      928 Dec 24 18:44 firmware
drwxr-xr-x 65 root root     7384 Jan 18 15:30 fs
drwxr-xr-x 31 root root      824 Dec 24 18:42 include
drwxr-xr-x  2 root root     1032 Jan 18 18:42 init
drwxr-xr-x  2 root root     1104 Jan 18 15:27 ipc
drwxr-xr-x  6 root root     7312 Jan 18 18:41 kernel
drwxr-xr-x  6 root root     6976 Jan 18 15:30 lib
drwxr-xr-x  2 root root     4624 Jan 18 15:27 mm
-rw-r--r--  1 root root     1474 Jan 18 18:42 modules.order
drwxr-xr-x 43 root root     1528 Jan 18 18:41 net
drwxr-xr-x  6 root root      200 Dec 24 18:30 samples
drwxr-xr-x  9 root root     2056 Jan 18 12:55 scripts
drwxr-xr-x  5 root root      512 Jan 18 15:27 security
drwxr-xr-x 20 root root     1288 Jan 18 15:30 sound
drwxr-xr-x  2 root root      568 Jan 18 12:55 usr
drwxr-xr-x  3 root root       72 Dec 24 18:30 virt
speedy ~ #

_________________
jfp
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5999
Location: Pomona, California.

PostPosted: Tue Jan 27, 2009 8:08 am    Post subject: Reply with quote

Reinstall the kernel source and go from there.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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