LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 04-10-2013, 01:42 PM   #1
marbangens
Member
 
Registered: Aug 2012
Location: sweden
Distribution: Slackware, Fedora
Posts: 79

Rep: Reputation: Disabled
can't compile nvidia in slackware current


Hello everyone! I try to compile the kernel nvidia from here using all current slackware:
http://slackbuilds.org/repository/14...nvidia-kernel/

This is what I get;
Code:
root@compaq:/usr/src/k/nvidia-kernel# ./nvidia-kernel.SlackBuild 
Creating directory NVIDIA-Linux-x86_64-310.32
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 310.32............................................................................................................................................................
If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer command line option.

*** Unable to determine the target kernel version. ***

make: *** [select_makefile] Error 1
Edit: forgot to say that I tried to specify KERNEL=3.8.4

Last edited by marbangens; 04-10-2013 at 01:51 PM.
 
Old 04-10-2013, 02:09 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-14.1 on a Lenovo T61 6457-4XG
Posts: 3,970

Rep: Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936Reputation: 936
This driver was released one month *before* the 3.8 kernel. Not sure that matters but It won't hurt to try a more recent NVIDIA driver.
 
1 members found this post helpful.
Old 04-10-2013, 02:24 PM   #3
marbangens
Member
 
Registered: Aug 2012
Location: sweden
Distribution: Slackware, Fedora
Posts: 79

Original Poster
Rep: Reputation: Disabled
nvidia 310.44 is compiling now
 
Old 04-10-2013, 02:26 PM   #4
GazL
Senior Member
 
Registered: May 2008
Posts: 3,312

Rep: Reputation: Disabled
You can get it to compile by adding a symlink but as 310.44 works just fine, you'd be better off going with that one instead.

edit: which I now see you are doing.
 
Old 04-10-2013, 10:33 PM   #5
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, Slackware-14.1, PCBSD-10.0
Posts: 2,798
Blog Entries: 15

Rep: Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731Reputation: 731
Technically, always remember that -Current is always evolving so using proprietary drivers might not be the best of ideas as you'll need to constantly test and retest each major update to see if something didn't get overwritten. Blacklisting the libmesa, libdrm, and x11-nouveau packages from updating might be a good idea for practice, however, it is recommended you only use the Nouveau driver for -Current unless you are completely certain the driver from Nvidia will be compatible with your kernel.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Cannot compile C++ on Slackware Current (multilib) halborr Slackware 5 02-27-2012 10:28 PM
Slackware-Current & Custom Compile slaxnoob Slackware 2 01-12-2010 01:40 PM
Can't Compile VirtualBox 1.6.6 In Slackware Current Woodsman Slackware 8 12-18-2008 02:36 PM
Linux 2.6.25, Slack-current, and nvidia compile error spaceballs Slackware 6 04-19-2008 06:57 PM


All times are GMT -5. The time now is 05:13 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration