adolfix Posted May 24, 2005 Report Share Posted May 24, 2005 This is what I obtain when I execute the command : [root@192 adolfo]# dkms build -m madwifi Error! Invalid number of parameters passed. Usage: build -m <module> -v <module-version> Then I added the version of the wifi module and I obtain this : [root@192 adolfo]# dkms build -m madwifi -v 0.20040913-1mdk Error! DKMS tree does not contain: madwifi-0.20040913-1mdk Build cannot continue without the proper tree. What Could I do ? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted May 24, 2005 Report Share Posted May 24, 2005 (edited) I've never used dkms, but the manpage says: build Builds the specified module/version combo for the specified kernel. If no kernel is specified it builds for the currently running kernel. All builds occur in the directory /var/dkms/<module>/<module-version>/build/. So I would assume you need to put everything from your tarball into a new directory: /var/dkms/madwifi/0.20040913-1mdk/build/ but I could be way off. Edited May 24, 2005 by Steve Scrimpshire Quote Link to comment Share on other sites More sharing options...
adolfix Posted May 25, 2005 Author Report Share Posted May 25, 2005 Thanks for your answer. I execute the command : ls /var and I did not see a folder dkms inside. Should I create it ? What should I put in ? What else should I do ? I am new in linux. Would you mind to tell me precisely (detailed) what I have to do ? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Steve Scrimpshire Posted May 25, 2005 Report Share Posted May 25, 2005 Wow. Why do module developers have to do things the hard way now? lol Try this. Open a console (the little tv-looking thing in your taskbar) and do all this (all the stuff I put inside <<>> is just an action or a comment...you don't actually type it literally): su <<hit enter>> <<type your root password and hit enter...you won;t see anything being typed>> <<use the cd command to be inside your madwifi directory>> mkdir /var/dkms mkdir /var/dkms/madwifi/ mkdir /var/dkms/madwifi/0.20040913-1mdk/ mkdir /var/dkms/madwifi/0.20040913-1mdk/build/ cp -R * /var/dkms/madwifi/0.20040913-1mdk/build/ cd /var/dkms/madwifi/0.20040913-1mdk/build/ dkms build -m madwifi -v 0.20040913-1mdk Quote Link to comment Share on other sites More sharing options...
adamw Posted May 26, 2005 Report Share Posted May 26, 2005 please don't do that. Steve, we're helping the poster elsewhere (on the Club forums). His problem was basically due to not having the correct packages installed. You don't _always_ have to do this kind of stuff with dkms, we're only having to do it because things aren't working right. :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.