Maxim Wexler wrote: > I needed to configure iptables support into the kernel but when I > tried to run make menuconfig got 'No rule to make target' error. The > Makefile was gone. A casualty of a recent emerge -uDN world, I expect. > > So I ran > > distfiles# tar xvfj linux-2.6.29.tar.bz2 Makefile > > which told me 'tar: Makefile: Not found in archive' > > So where can I locate the Makefile for my kernel, assuming the above > command is correct? >
That's why I never set up a linux system without mc. It's just so much easier when you can look inside an archive and manipulate files just as if it were part of the file system. :) Anyway, the archive has a directory inside it (linux-2.6.29). That's where all the files are. So it would be /linux-2.6.29/Makefile. Be lucky, Neil http://www.neiljw.com