Gentoo Archives: gentoo-user

From: Michael Orlitzky <michael@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] strange, but Makefile is missing from gentoo-sources
Date: Tue, 19 Jul 2011 13:13:44
Message-Id: 4E258262.9000900@orlitzky.com
In Reply to: [gentoo-user] strange, but Makefile is missing from gentoo-sources by Space Cake
1 On 07/19/2011 08:57 AM, Space Cake wrote:
2 > Hi,
3 >
4 > I don't know exactly what happened but yesterday morning Makefile is
5 > disappeared from my /usr/src/linux directory
6 >
7 > rw-r--r-- 1 root 0 89856 jún 1 12.18 config_38
8 > -rw-r--r-- 1 root 0 92513 jún 1 12.18 config_39
9 > lrwxrwxrwx 1 root 0 22 jún 1 13.42 linux -> linux-2.6.36-gentoo-r8
10 > drwxr-xr-x 24 root 0 4096 júl 18 17.47 linux-2.6.35-gentoo-r12
11 > drwxr-xr-x 21 root 0 4096 júl 5 14.50 linux-2.6.36-gentoo-r8
12 > drwxr-xr-x 10 root 0 4096 júl 5 14.52 linux-2.6.38-gentoo
13 > drwxr-xr-x 21 root 0 4096 júl 5 14.54 linux-2.6.38-gentoo-r3
14 > drwxr-xr-x 23 root 0 4096 júl 18 17.59 linux-2.6.38-gentoo-r6
15 > drwxr-xr-x 21 root 0 4096 júl 5 14.51 linux-2.6.39-gentoo
16 >
17 >
18 > brutal portage # uname -a
19 > Linux brutal 2.6.36-gentoo-r8 #12 SMP Mon Jun 20 17:32:09 CEST 2011 i686
20 > Intel(R) Core(TM)2 Duo CPU T9600 @ 2.80GHz GenuineIntel GNU/Linux
21 >
22 >
23 > symlink is good, I've tried to re-emerge the current gentoo-source
24 > package but I still have no Makefile.... what is the easiest way to
25 > solve a problem like this?
26
27 Is the current gentoo-sources package "linux-2.6.36-gentoo-r8"? If not,
28 you're in the wrong directory. You probably want to,
29
30 cd /usr/src/linux-2.6.39-gentoo
31 make <whatever>
32 ...
33 ln -sf /usr/src/linux-2.6.39-gentoo /usr/src/linux
34
35 the last line updates the /usr/src/linux symlink to point to the right
36 place.