Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
|
02-19-2007, 12:10 PM
|
#1
|
Member
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181
Rep:
|
Problem compile Ndiswrapper source code
Hey.
New to linux, but trying my hand at trying to get my wireless working on my Toshiba A100-8. Currently I am having problems getting ndiswrapper to install. yum does not have an rpm for ndiswrapper so I downloaded the it from sourceforge, when I use the "make" command from within the folder I have the source code installed in I get this error message
ERROR AFTER 'make' command:
make -C driver
make[1]: Entering directory `/tmp/ndis/ndiswrapper-1.37/driver'
Can't find kernel build files in /lib/modules/2.6.18-1.2798.fc6/build;
give the path to kernel build directory with
KBUILD=<path> argument to make
make[1]: *** [prereq_check] Error 1
make[1]: Leaving directory `/tmp/ndis/ndiswrapper-1.37/driver'
make: *** [all] Error 2
--------------------------
I updated the kernel as I was told to do but that hasn't seemed to help anything. Anyone know I how I can get ndiswrapper installed?
thanks in advance.
todd
|
|
|
02-19-2007, 04:46 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Did you install the kernel-sources package for your kernel? Ndiswrapper requires that the sources be present for it to compile.
|
|
|
02-20-2007, 12:08 AM
|
#3
|
Member
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181
Original Poster
Rep:
|
Quote:
Originally Posted by XavierP
Did you install the kernel-sources package for your kernel? Ndiswrapper requires that the sources be present for it to compile.
|
Oh that I may not have done. How do I go about installing the kernel-sources? Can I do that using yum? Or will I need to download that sepertly?
|
|
|
02-20-2007, 04:59 AM
|
#4
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
Yum will work fine. I don't have Fedora/Yum, so until someone comes along with the exact string, have a read of http://fedora.redhat.com/docs/yum/en/ to see how to search for the packages and choose the right one. Your first step is to do in a terminal to see exactly which kernel you have installed - your kernel-sources package must match your installed kernel.
|
|
|
02-20-2007, 11:12 AM
|
#5
|
Member
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181
Original Poster
Rep:
|
Quote:
Originally Posted by XavierP
Yum will work fine. I don't have Fedora/Yum, so until someone comes along with the exact string, have a read of http://fedora.redhat.com/docs/yum/en/ to see how to search for the packages and choose the right one. Your first step is to do in a terminal to see exactly which kernel you have installed - your kernel-sources package must match your installed kernel.
|
Ok cool thanks for the link I will look through that to see if I can find what I need. Are you saying though that I can use yum to install ndiswrapper? I tried searching the list of repositories that yum provides but nothing matched yum. I figure you mean that I can just use yum to put the kernel-source in eh?
thanks todd
|
|
|
02-20-2007, 11:18 AM
|
#6
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
That's it - it'd be
Code:
yum install kernel-sources-<your kernel version>
and the install ndiswrapper.
|
|
|
02-20-2007, 12:56 PM
|
#7
|
Member
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181
Original Poster
Rep:
|
Quote:
Originally Posted by XavierP
That's it - it'd be
Code:
yum install kernel-sources-<your kernel version>
and the install ndiswrapper.
|
How come when I do a
Code:
yum list | grep ndiswrapper
Nothing under yum shows up?
I have seen some tutorials that tell you to edit the yum.conf file adding websites to search for the ndiswrapper program. However when I tried to run the yum command I got a timeout error.
So do I have to actually add anything to the yum.conf file to tell yum where to look for the ndiswrapper program?
Thanks again for the speedy replies
todd
|
|
|
02-20-2007, 01:14 PM
|
#8
|
Member
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181
Original Poster
Rep:
|
Wait sorry upon reading that link I was given I found that you can use yum to install repositories locally. So if I downloaded the ndiswrapper packge from sourceforge, would I simply unpackage it and then rename it so that it has an .rpm extention? Or would I leave it in the .tar.gz format it comes in?
Code:
yum localinstall ndiswrapper-1.37.tar.gz
Would that be the code I would use to install ndiswrapper?
Also I just tried
Code:
yum install kernel-sources-2.6.19-1.2911.fc6
However I get a message back saying:
So how would I install the kernel source is yum doesn't have it?
thanks again for everything
todd
|
|
|
02-20-2007, 07:35 PM
|
#9
|
Member
Registered: Feb 2006
Location: Toronto, Ontario
Distribution: Fedora 10, centos
Posts: 181
Original Poster
Rep:
|
Ok I did a little more searching for installing the kernel-source. Has anyone used the kernel-devel? I have been reading conflicting things about whether or not that is the kernel-source or not? If anyone could point me int he right direction I would greatly appreciate it!
thanks
todd
|
|
|
All times are GMT -5. The time now is 08:49 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
|
|