1 |
On Saturday 09 September 2006 09:23, michael@×××××××××××××.com wrote: |
2 |
> here's an odd situation: I finished upgrading to GCC4 and decided to switch |
3 |
> my profile to 2006.1. instructions say: |
4 |
> |
5 |
> rm /etc/make.profile |
6 |
> ln -s ../usr/portage/profiles/2006.1 /etc/make.profile |
7 |
> |
8 |
> well the .. is a little odd but not a big problem. I have |
9 |
> /usr/portage/profiles, but no 2006.1 directory in it! and, upon further |
10 |
> inspection, my /etc/make.profile is not a link, but rather a real directory |
11 |
> with real files in it. |
12 |
> |
13 |
> what's going on here, and how do i get the 2006.1 profile? |
14 |
|
15 |
Try this: |
16 |
================================================ |
17 |
# locate /usr/portage/profiles/default-linux/x86/2006.1/desktop |
18 |
/usr/portage/profiles/default-linux/x86/2006.1/desktop |
19 |
/usr/portage/profiles/default-linux/x86/2006.1/desktop/make.defaults |
20 |
/usr/portage/profiles/default-linux/x86/2006.1/desktop/parent |
21 |
/usr/portage/profiles/default-linux/x86/2006.1/desktop/virtuals |
22 |
================================================ |
23 |
|
24 |
When you list a symlink make sure that you do not have a trailing / i.e.: |
25 |
|
26 |
# ls -la /etc/make.profile/ |
27 |
total 12 |
28 |
drwxr-xr-x 2 root root 54 Aug 30 20:36 . |
29 |
drwxr-xr-x 4 root root 81 Aug 30 20:36 .. |
30 |
-rw-r--r-- 1 root root 655 Jul 26 21:30 make.defaults |
31 |
-rw-r--r-- 1 root root 3 Jul 26 21:30 parent |
32 |
-rw-r--r-- 1 root root 271 Jul 26 21:30 virtuals |
33 |
|
34 |
but: |
35 |
|
36 |
# ls -la /etc/make.profile |
37 |
lrwxrwxrwx 1 root root 54 Sep 2 |
38 |
08:41 /etc/make.profile -> /usr/portage/profiles/default-linux/x86/2006.1/desktop |
39 |
|
40 |
HTH |
41 |
-- |
42 |
Regards, |
43 |
Mick |