Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
x11-drivers/nvidia-drivers-1.0.8762-r1 failed
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
robgrey
n00b
n00b


Joined: 08 Sep 2006
Posts: 13
Location: Pacific Coast

PostPosted: Thu Sep 14, 2006 1:28 pm    Post subject: x11-drivers/nvidia-drivers-1.0.8762-r1 failed Reply with quote

Quote:
>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-1.0.8762-r1 to /
* NVIDIA-Linux-x86-1.0-8762-pkg1.run MD5 ;-) ... [ ok ]
* NVIDIA-Linux-x86-1.0-8762-pkg1.run RMD160 ;-) ... [ ok ]
* NVIDIA-Linux-x86-1.0-8762-pkg1.run SHA1 ;-) ... [ ok ]
* NVIDIA-Linux-x86-1.0-8762-pkg1.run SHA256 ;-) ... [ ok ]
* NVIDIA-Linux-x86-1.0-8762-pkg1.run size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking NVIDIA-Linux-x86-1.0-8762-pkg1.run ;-) ... [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources .
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.

!!! ERROR: x11-drivers/nvidia-drivers-1.0.8762-r1 failed.
Call stack:
ebuild.sh, line 1562: Called dyn_setup
ebuild.sh, line 665: Called pkg_setup
nvidia-drivers-1.0.8762-r1.ebuild, line 81: Called linux-mod_pkg_setup
linux-mod.eclass, line 419: Called linux-info_pkg_setup
linux-info.eclass, line 554: Called die

!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, and the call stack if rel evant.

localhost johndoe #



How do I fix this, I am running 2005.1 with a live-cd install made by the glid installer [lates from terminal] The install went O.K.

-------------------------------------
I have this problem as well, I cannot figure out how to fix, & am worried I will make things worse. It says I have 16 config files to fix?

Quote:
When Portage installs a file into a protected directory tree like /etc, any
existing files will not be overwritten. If a file of the same name already
exists, Portage will change the name of the to-be-installed file from 'foo' to
'._cfg0000_foo'. If '._cfg0000_foo' already exists, this name becomes
'._cfg0001_foo', etc. In this way, existing files are not overwritten,
allowing the administrator to manually merge the new config files and avoid any
unexpected changes.

In addition to protecting overwritten files, Portage will not delete any files
from a protected directory when a package is unmerged. While this may be a
little bit untidy, it does prevent potentially valuable config files from being
deleted, which is of paramount importance.

Protected directories are set using the CONFIG_PROTECT variable, normally
defined in /etc/make.globals. Directory exceptions to the CONFIG_PROTECTed
directories can be specified using the CONFIG_PROTECT_MASK variable. To find
files that need to be updated in /etc, type:

# find /etc -iname '._cfg????_*'

You can disable this feature by setting CONFIG_PROTECT="-*" in /etc/make.conf.
Then, Portage will mercilessly auto-update your config files. Alternatively,
you can leave Config File Protection on but tell Portage that it can overwrite
files in certain specific /etc subdirectories. For example, if you wanted
Portage to automatically update your rc scripts and your wget configuration,
but didn't want any other changes made without your explicit approval, you'd
add this to /etc/make.conf:

CONFIG_PROTECT_MASK="/etc/wget /etc/rc.d"

Tools such as dispatch-conf, cfg-update, and etc-update are also available to
aid in the merging of these files. They provide interactive merging and can
auto-merge trivial changes.

Back to top
View user's profile Send private message
Kosmas
Apprentice
Apprentice


Joined: 14 Sep 2006
Posts: 276
Location: Greece

PostPosted: Thu Sep 14, 2006 2:49 pm    Post subject: Reply with quote

It seems that you dont have a kernel source installed or there is no link in source directory.
Nvidia drivers need the kernel source in order to build the module for the X
Check weather you have either gentoo-sources installed or vanilla-sources and
make a link in /usr/src directory of the sources you use as "linux"
e.g. if you have linux-2.6.17-gentoo-r8
cd /usr/src
ln -s linux-2.6.17-gentoo-r8 linux
and try to reemerge the nvidia drivers
Back to top
View user's profile Send private message
robgrey
n00b
n00b


Joined: 08 Sep 2006
Posts: 13
Location: Pacific Coast

PostPosted: Thu Sep 14, 2006 3:01 pm    Post subject: Reply with quote

Kosmas wrote:
It seems that you dont have a kernel source installed or there is no link in source directory.
Nvidia drivers need the kernel source in order to build the module for the X
Check weather you have either gentoo-sources installed or vanilla-sources and
make a link in /usr/src directory of the sources you use as "linux"
e.g. if you have linux-2.6.17-gentoo-r8
cd /usr/src
ln -s linux-2.6.17-gentoo-r8 linux
and try to reemerge the nvidia drivers



:?

Quote:
william@localhost ~ $ su
Password:
localhost william # emerge cd /usr/src
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'
Calculating dependencies
emerge: there are no ebuilds to satisfy "cd".

localhost william #
Back to top
View user's profile Send private message
robgrey
n00b
n00b


Joined: 08 Sep 2006
Posts: 13
Location: Pacific Coast

PostPosted: Thu Sep 14, 2006 3:20 pm    Post subject: Reply with quote

I get this with a kernel emerge search

I installed this one here

Quote:
william@localhost ~ $ su
Password:
localhost william # emerge --search kernel sources
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'
Searching...
[ Results for search key : kernel ]
[ Applications found : 11 ]


here below.....
*
Quote:

* sys-kernel/gentoo-sources
Latest version available: 2.6.17-r8
Latest version installed: 2.6.17-r8
Size of files: 40,552 kB
Homepage: http://dev.gentoo.org/~dsd/genpatches
Description: Full sources including the gentoo patchset for the 2.6 kernel tree
License: GPL-2
Back to top
View user's profile Send private message
robgrey
n00b
n00b


Joined: 08 Sep 2006
Posts: 13
Location: Pacific Coast

PostPosted: Thu Sep 14, 2006 3:53 pm    Post subject: Reply with quote

I've installed everything in the way of Kernel's but Col. Sanders himself ! This stupid thing still keeps saying ........ :x

Quote:
!!! ERROR: x11-drivers/nvidia-drivers-1.0.8762-r1 failed.
Call stack:
ebuild.sh, line 1562: Called dyn_setup
ebuild.sh, line 665: Called pkg_setup
nvidia-drivers-1.0.8762-r1.ebuild, line 81: Called linux-mod_pkg_setup
linux-mod.eclass, line 419: Called linux-info_pkg_setup
linux-info.eclass, line 554: Called die

!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, and the call stack if rel evant.
Back to top
View user's profile Send private message
Kosmas
Apprentice
Apprentice


Joined: 14 Sep 2006
Posts: 276
Location: Greece

PostPosted: Thu Sep 14, 2006 6:40 pm    Post subject: Reply with quote

What does uname -a give you???

mine is:
Code:
Linux kosmas 2.6.17-gentoo-r8 #1 Tue Sep 12 10:17:36 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux

so my kernel is at /usr/src/linux-2.6.17-gentoo-r8
Back to top
View user's profile Send private message
robgrey
n00b
n00b


Joined: 08 Sep 2006
Posts: 13
Location: Pacific Coast

PostPosted: Thu Sep 14, 2006 8:32 pm    Post subject: Reply with quote

Kosmas wrote:
What does uname -a give you???

mine is:
Code:
Linux kosmas 2.6.17-gentoo-r8 #1 Tue Sep 12 10:17:36 EEST 2006 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz GNU/Linux

so my kernel is at /usr/src/linux-2.6.17-gentoo-r8




Quote:

william@localhost ~ $ su
Password:
localhost william # emerge uname
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'
Calculating dependencies
emerge: there are no ebuilds to satisfy "uname".

localhost william #


Quote:
william@localhost ~ $ su
Password:
localhost william # emerge uname -a
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'
!!! Invalid PORTDIR_OVERLAY (not a dir): '/root/catalyst/overlays/portage'

These are the packages that would be merged, in order:

Calculating dependencies
emerge: there are no ebuilds to satisfy "uname".

localhost william #


I've been patiently working with Gentoo for about 14 hrs. This is install attempt, I think, #6 [some went not as far, others would not boot]

........I'm getting near the breaking point..........

.........I've got the killdisk floppy within arms reach.......... :? :roll:
Back to top
View user's profile Send private message
robgrey
n00b
n00b


Joined: 08 Sep 2006
Posts: 13
Location: Pacific Coast

PostPosted: Thu Sep 14, 2006 9:16 pm    Post subject: Reply with quote

I give up........I'm rebooting with Killdisk...........bye for now.......j
Back to top
View user's profile Send private message
gripfist
n00b
n00b


Joined: 03 Feb 2005
Posts: 26
Location: OH

PostPosted: Fri Sep 15, 2006 1:48 am    Post subject: Reply with quote

robgrey wrote:
I give up........I'm rebooting with Killdisk...........bye for now.......j


Please don't give up! Type:

Code:
uname -a


Do not try to "emerge". This is a bash command to print sytem information. (If you want more information about uname, at the # command prompt TYPE: "man uname") I'm working on a simular problem.


Last edited by gripfist on Sat Sep 16, 2006 3:12 am; edited 1 time in total
Back to top
View user's profile Send private message
kernelcowboy
Guru
Guru


Joined: 14 Feb 2004
Posts: 391
Location: New Plymouth, New Zealand

PostPosted: Fri Sep 15, 2006 9:51 am    Post subject: Reply with quote

Yeah, don't give up. There are tougher ones that this to deal with I'm sure.
And the forum and Gentoo is too good to let it go that easy.

I was doing a update of my whole system today, and had this same problem.
It happened because I had done an

Code:

emerge --sync
emerge -e system


with

Code:
USE="... symlink ..."


in make.conf, which will create the /usr/src/linux symlink when new
source is emerged.

Then tried to emerg nvidia-drivers. This had merged a new kernel
source dir -r8, and the /usr/src/linux was updated to point to it.

So, there wasn't a .config in it and I got the error. I just fixed the
symlink to point to the kernel I was booting.

Code:

rm /usr/src/linux  <==  assuming that's a symlink, beware.
ln -s /usr/src/linux-2.6.17-gentoo-r7 /usr/src/linux


You can find the kernel you booted with

Code:
uname -a


as one already pointed out.

In my case it's

Code:
Linux tortuga 2.6.17-gentoo-r7 #1 SMP Thu Sep 14 21:44:28 NZST 2006 x86_64 AMD Athlon(tm) 64 Processor 3000+ GNU/Linux
Back to top
View user's profile Send private message
gripfist
n00b
n00b


Joined: 03 Feb 2005
Posts: 26
Location: OH

PostPosted: Fri Sep 15, 2006 11:41 am    Post subject: Reply with quote

Yes, that is sort of how I fixed mine as well. I just recompiled the kernel using the command at the root prompt (#) instead of manually changing the symlink. I had time. It's is a new install just for fun.

USE="-doc symlink" emerge gentoo-source
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