SlackwareThis 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.
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.
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
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
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810
Rep:
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.
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.
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
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...
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)
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?
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.