public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] can't linux#make menuconfig -- Makefile gone
@ 2009-09-25  5:06 Maxim Wexler
  2009-09-25  5:52 ` Dale
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Maxim Wexler @ 2009-09-25  5:06 UTC (permalink / raw
  To: gentoo-user

Hi group,

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?

Maxim



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] can't linux#make menuconfig -- Makefile gone
  2009-09-25  5:06 [gentoo-user] can't linux#make menuconfig -- Makefile gone Maxim Wexler
@ 2009-09-25  5:52 ` Dale
  2009-09-25  6:02 ` forgottenwizard
  2009-09-25 10:46 ` Neil Walker
  2 siblings, 0 replies; 4+ messages in thread
From: Dale @ 2009-09-25  5:52 UTC (permalink / raw
  To: gentoo-user

Maxim Wexler wrote:
> Hi group,
>
> 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?
>
> Maxim
>
>
>   

Are you in the kernel directory?  Should be /usr/src/linux if yours is
like mine.  Going by the prompt I see, you may be in the distfiles
directory.  Or did you name your puter distfiles?

Dale

:-)  :-) 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] can't linux#make menuconfig -- Makefile gone
  2009-09-25  5:06 [gentoo-user] can't linux#make menuconfig -- Makefile gone Maxim Wexler
  2009-09-25  5:52 ` Dale
@ 2009-09-25  6:02 ` forgottenwizard
  2009-09-25 10:46 ` Neil Walker
  2 siblings, 0 replies; 4+ messages in thread
From: forgottenwizard @ 2009-09-25  6:02 UTC (permalink / raw
  To: gentoo-user

On Thu, Sep 24, 2009 at 11:06:16PM -0600, Maxim Wexler wrote:
> Hi group,
> 
> 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?
> 
> Maxim
> 

run --test with tar, grep for the makefile, then extract the file.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] can't linux#make menuconfig -- Makefile gone
  2009-09-25  5:06 [gentoo-user] can't linux#make menuconfig -- Makefile gone Maxim Wexler
  2009-09-25  5:52 ` Dale
  2009-09-25  6:02 ` forgottenwizard
@ 2009-09-25 10:46 ` Neil Walker
  2 siblings, 0 replies; 4+ messages in thread
From: Neil Walker @ 2009-09-25 10:46 UTC (permalink / raw
  To: gentoo-user

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-25 10:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-25  5:06 [gentoo-user] can't linux#make menuconfig -- Makefile gone Maxim Wexler
2009-09-25  5:52 ` Dale
2009-09-25  6:02 ` forgottenwizard
2009-09-25 10:46 ` Neil Walker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox