On Saturday 09 September 2006 09:23, [EMAIL PROTECTED] wrote:
> here's an odd situation: I finished upgrading to GCC4 and decided to switch
> my profile to 2006.1. instructions say:
>
>   rm /etc/make.profile
>   ln -s ../usr/portage/profiles/2006.1 /etc/make.profile
>
> well the .. is a little odd but not a big problem. I have
> /usr/portage/profiles, but no 2006.1 directory in it! and, upon further
> inspection, my /etc/make.profile is not a link, but rather a real directory
> with real files in it.
>
> what's going on here, and how do i get the 2006.1 profile?

Try this:
================================================
# locate /usr/portage/profiles/default-linux/x86/2006.1/desktop
/usr/portage/profiles/default-linux/x86/2006.1/desktop
/usr/portage/profiles/default-linux/x86/2006.1/desktop/make.defaults
/usr/portage/profiles/default-linux/x86/2006.1/desktop/parent
/usr/portage/profiles/default-linux/x86/2006.1/desktop/virtuals
================================================

When you list a symlink make sure that you do not have a trailing / i.e.:

# ls -la /etc/make.profile/
total 12
drwxr-xr-x 2 root root  54 Aug 30 20:36 .
drwxr-xr-x 4 root root  81 Aug 30 20:36 ..
-rw-r--r-- 1 root root 655 Jul 26 21:30 make.defaults
-rw-r--r-- 1 root root   3 Jul 26 21:30 parent
-rw-r--r-- 1 root root 271 Jul 26 21:30 virtuals

but:

# ls -la /etc/make.profile 
lrwxrwxrwx 1 root root 54 Sep  2 
08:41 /etc/make.profile -> 
/usr/portage/profiles/default-linux/x86/2006.1/desktop

HTH
-- 
Regards,
Mick

Attachment: pgpa1Ue3yzIlu.pgp
Description: PGP signature

Reply via email to