Bdickson2000 Posted April 21, 2005 Report Share Posted April 21, 2005 (edited) I've installed 2.6.8.1-12 as well as the source, and I'm now playing with madwifi. After I extracted the latest tarball, I needed to run install.sh from /madwifi/patches/2.6, but it fails thrice: 1. because the script uses 2.6 for the version, instead of 2.6.8.1-12mdk-i586-up-1GB . Changing that solved the "missing /lib/modules/2.6/build/drivers/net/wireless directory' failure 2. now I get "cp: cannot stat `../../hal/linux/*.inc' No such file or directory" + " /*.opt_ah.h " + " /*.hal.o.uu " 3. PATCH() { patch -N $1 < $2 } errors out: "install.sh: line 24: patch command not found." I think I can puzzle out 2. (so as to not have to type out install.sh ), but 3 appears to be telling me I don't have the "patch" command. Is this correct? Where do I get it? Tx, BD Edited April 22, 2005 by Bdickson2000 Quote Link to comment Share on other sites More sharing options...
devries Posted April 21, 2005 Report Share Posted April 21, 2005 carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/official/10.1/i586/media/main/patch-2.5.9-2mdk.i586.rpm http://rpm.pbone.net/ Patching is something from the past (but ofcourse still used). In the years before fast internet people didn't send the whole source code but only the parts that where changed since the last version. With patch the changed bits where added to the source code. (http://www.oreillynet.com/linux/cmd/cmd.csp?path=p/patch) Quote Link to comment Share on other sites More sharing options...
Bdickson2000 Posted April 21, 2005 Author Report Share Posted April 21, 2005 (edited) :D Thank you for the clarification. BTW, i didn't have the proper permissions to access carroll.cac.psu.edu/, so I googled "patch-2.5.9-2mdk.i586.rpm" and found it on RPMFind.net. And I was able to figure out what 2. (Below) was trying to do and did it myself. Why don't the scripts reflect what's there after a standard install? Also, Is there a link you can suggest that mentions category-names and package-names for programs I am likely to need but were not installed? I'm surprised that patch wasn't installed based on the program criteria I entered for install (basically everything except for some server options.) For madwifi, I dowloaded "madwifi-cvs-current.tar.bz2" and did "make clean "and "make". Is there any reason why it would need to be patched? (I have "madwifi-2.6.8-mm_and_later-040927.patch", but I don't know if I need it.) Thanks again, BD :P carroll.cac.psu.edu/pub/linux/distributions/mandrakelinux/official/10.1/i586/media/main/patch-2.5.9-2mdk.i586.rpm http://rpm.pbone.net/ Patching is something from the past (but ofcourse still used). In the years before fast internet people didn't send the whole source code but only the parts that where changed since the last version. With patch the changed bits where added to the source code. (http://www.oreillynet.com/linux/cmd/cmd.csp?path=p/patch) <{POST_SNAPBACK}> Edited April 21, 2005 by Bdickson2000 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.