LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 08-03-2008, 03:45 PM   #1
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Rep: Reputation: 15
installing nvidia driver with slackware 12.1 - packages & kernel problem


hi guys

now i'm installing drivers for my nvidia

when i'm trying to install the package i have the following error:

Code:
Unable to find the system utility "ld" - please make sure 
you have the package binutils installed. 
If you do have binutils installed then check ld is in your PATH
so, i downloaded the package avr-binutils-2.18.50-i486-3irn.tgz and i installed it in /opt

same message

bash-3.1# find / -name ld
/opt/avrtools/avr/bin/ld

bash-3.1# echo $PATH
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/lib/qt/bin:/usr/share/texmf/bin

oops

i removed the package, installed it again in usr/local/bin and tried - same thing!!

bash-3.1# find / -name ld
/opt/avrtools/avr/bin/ld


i was installing the pkg in usr/local/bin!!! and the pkg was there! but it was creating folder in /opt tried 3 times to remove and install in usr/local/bin - fail!

Code:
bash-3.1# cd /usr/local/bin
bash-3.1# installpkg avr-binutils-2.18.50-i486-3irn.tgz
Installing package avr-binutils-2.18.50-i486-3irn...
PACKAGE DESCRIPTION:
avr-binutils: avr-binutils (GNU binutils for avr processors)
avr-binutils:
avr-binutils: This is GNU Binutils - collection of binary tools, compiled for
avr-binutils: avr processors.
avr-binutils: http://www.gnu.org/software/binutils
avr-binutils:
avr-binutils: Packaged by Sergey Mironov
avr-binutils: Tue, 08 Jul 2008 00:13:52 +0400

bash-3.1# find / -name ld
/opt/avrtools/avr/bin/ld
bash-3.1#
last attempt - simply move folder in usr/local/bin

bash-3.1# find / -name ld
/usr/local/bin/avrtools/avr/bin/ld


STILL the same message!!

any ideas?

Last edited by martysha; 08-06-2008 at 04:46 PM. Reason: better title description;)
 
Old 08-03-2008, 04:13 PM   #2
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
You shouldn't have installed avr-binutils. The binutils you appear to be missing is part of the "d" package set (development) that comes with standard Slackware - ld is the GNU linker.

You need these packages to compile anything. If you didn't select them when installing you'll have to install them now.
 
Old 08-03-2008, 04:14 PM   #3
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
The "ld" program is part of binutils indeed.
The Slackware package "binutils" can be found in the "d" package series. Obviously you did not install all of the "d" series (for "Development")> I do not know what "avr-binutils" is, but certainly not what you need here.

Eric
 
Old 08-03-2008, 05:12 PM   #4
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Original Poster
Rep: Reputation: 15
thank you for your quick answers!

yes, it was really the wrong pkg - i found the right one - and it works.. unless when it asks me for another, and another pkg....

it's my fault - i didn't install slack with full installation so now i have to install them manually one by one

thank you again! and.. good night!!!
 
Old 08-06-2008, 04:25 PM   #5
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Original Poster
Rep: Reputation: 15
still having a pb with the nvidia driver

i installed the missing packages

and i get finally the message:
Code:
Unable to find the kernel source tree for the currently running kernel.         
Please make sure you have installed the kernel source files for your 
kernel and that they are properly configured; 
on Red Hat Linux systems,  for example, be sure you have the 'kernel-source' 
or 'kernel-devel' RPM installed.  
If you know the correct kernel source files are installed, you may specify 
the kernel source path with the '--kernel-source-path' command line option.
so i found out that there is no source in /usr/src

i downloaded and untared the linux-2.6.24.5.tar.gz file into the /usr/src directory and made a symlink

now it's ok for the source but nvidia is asking me for the headers:

Code:
ERROR: The kernel header file
       '/lib/modules/2.6.24.5-smp/build/include/linux/version.h' does not exist.  
The most likely reason for this is that the kernel source files in 
'/lib/modules/2.6.24.5-smp/build' 
have not been configured.
i opened the /lib/modules/ directory - and now i have there 2 modules: 2.6.24.5 and 2.6.24.5-smp

tried to do the following:

./Nvidia-installer.run --kernel-name=2.6.24.5
./Nvidia-installer.run --kernel-name=2.6.24.5-smp

both of them - same message

checked /lib/modules/2.6.24.5-smp/build/include/linux/ and the other one build/include/linux - version.h is really missing


how can i build that file?

Last edited by martysha; 08-06-2008 at 04:28 PM.
 
Old 08-06-2008, 05:22 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
It appears that you don't have an idea what you are missing. It is best to get a full install of Slackware 12.1 and also, get the most recent version of the nvidia drivers...

Eric
 
Old 08-08-2008, 01:17 PM   #7
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Original Poster
Rep: Reputation: 15
Alien Bob

sorry i didn't answer you

yeah.. i don't have a clue what exactly i am missing. the last try was to recompile the kernel but i had errors.. so you're right - i must make the full install .. unfortunately

my driver is the latest one, it's ok for that .. (at least)


thank you so much for your help!!
 
Old 08-12-2008, 04:08 PM   #8
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Original Poster
Rep: Reputation: 15
hi again everyone


same boring problem, sorry

i've got now the fullest install possible of slackware 12.1

and the latest NVIDIA-Linux-x86-173.14.12-pkg1 for my Nvidia 8600 GT


now.. i have exactly the same error message:
Code:
Unable to find the kernel source tree for the currently running kernel.         
Please make sure you have installed the kernel source files for your 
kernel and that they are properly configured; 
on Red Hat Linux systems,  for example, be sure you have the 'kernel-source' 
or 'kernel-devel' RPM installed.  
If you know the correct kernel source files are installed, you may specify 
the kernel source path with the '--kernel-source-path' command line option.
any suggestions? should i try doing the same like last time or there is something different i could do?
 
Old 08-12-2008, 07:39 PM   #9
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,664

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
you must install the kernel-source package from /k directory
 
Old 08-13-2008, 04:18 PM   #10
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Original Poster
Rep: Reputation: 15


finally, success! it was simple but not evident

willysr, thank you!!
 
Old 08-13-2008, 04:23 PM   #11
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by martysha View Post


finally, success! it was simple but not evident

willysr, thank you!!
Yeah, not evident if your previous statement was
Quote:
i've got now the fullest install possible of slackware 12.1
My concept of full install is "actually install everything by selecting FULL INSTALL" in the setup menu...

Eric
 
Old 08-14-2008, 08:38 AM   #12
martysha
LQ Newbie
 
Registered: May 2008
Location: Sofia, Bulgaria (GMT+2)
Distribution: Slackware 12
Posts: 26

Original Poster
Rep: Reputation: 15
Alien Bob,

yes, it was really like that. instead of doing "custom" i made now FULL install believe me for that

but apparently the 3 installation cds i had from the beginning (*iso images i downloaded and burned before) were not at all containing the /k directory... -- and that's why i had that problem -- kernel source not installed

so i was forced to download the source package from a ftp mirror and install it manually - after that it was ok

you were absolutely right about the need of full installation, sorry - i had to explain all that in my previous post
 
  


Reply



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
The problem about "cairo" in installing of "GTK" :( zhuqlfeixia Linux - Hardware 1 01-28-2006 03:12 PM
Video Card Nvidia Driver Xlib: extension "GLX" missing on display ":0.0". badgerbox76 Linux - Games 13 01-11-2006 04:47 PM
"multiboot utility" and "dell utility partition" on dell i5150 xround Linux - Laptop and Netbook 5 04-21-2005 09:19 AM
"X-MS" cant open because "x-Multimedia System" cant access files at "smb&qu ponchy5 Linux - Networking 0 03-29-2004 11:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:20 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration