Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-10-2006, 10:34 PM
|
#1
|
Member
Registered: Aug 2003
Posts: 834
Rep:
|
Nvidia drivers and kernel headers not found?
I get kernel header file ~version.h not found when tyring to install Nvidia driver version 1.0-8762
I also says, the most likely reason for this is that the kernel source files have not been configured.
Is there a way to get around this or, Is there a nvidia driver I can install that doesnt depend on the auto installer?
|
|
|
07-10-2006, 10:43 PM
|
#2
|
LQ Guru
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,337
Rep:
|
You will need to go to here and grab the kernel source that matches your Slackware version. It should be inside the repository <version number>/slackware/k. Install (using the installpkg kernel-source_bla_bla.tgz command) and most likely you will be able to install nvidia drivers after that.
Good luck!
|
|
|
07-10-2006, 11:28 PM
|
#3
|
Member
Registered: Aug 2003
Posts: 834
Original Poster
Rep:
|
Thanks, Ill give that a try.
|
|
|
07-10-2006, 11:37 PM
|
#4
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
2.4.32 or 2.6.x?
I have had problems with recent Nvidia drivers with the old 2.4.32 kernel and source.
|
|
|
07-11-2006, 12:27 AM
|
#5
|
Member
Registered: Mar 2006
Distribution: Slackware 13.0
Posts: 75
Rep:
|
it depends on what kernel you are using. if you are using the 2.4.32 then use the same version for your kernel headers and source
|
|
|
07-11-2006, 01:15 PM
|
#6
|
Member
Registered: Mar 2004
Location: Canada
Distribution: Slackware current
Posts: 728
Rep:
|
You should probably make sure that /usr/src/linux is a symlink to the tree with the current kernel source as well. I've had problems when upgrading to a new kernel where I forgot to update /usr/src/linux (I know this is risky in itself, but I'm a mild risk-taker).
|
|
|
07-11-2006, 02:21 PM
|
#7
|
Senior Member
Registered: Jul 2004
Location: Netherlands
Distribution: Slackware
Posts: 2,721
Rep:
|
Quote:
Originally Posted by ciotog
You should probably make sure that /usr/src/linux is a symlink to the tree with the current kernel source as well. I've had problems when upgrading to a new kernel where I forgot to update /usr/src/linux (I know this is risky in itself, but I'm a mild risk-taker).
|
no, /usr/scr/linux is not used for anything.
to find the kernelsource, the symlink "/lib/modules/`uname -r`/build"
is used by most installers, also the nvidia.
egag
|
|
|
All times are GMT -5. The time now is 05:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|