Find the answer to your Linux question:
Results 1 to 8 of 8
ARCH is not set i did a goof...lol i did a new profile and yes i goofed. this is the error i get now. ARCH is not set... Are you ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! Wyldeman's Avatar
    Join Date
    Oct 2006
    Location
    United States of Texas....lol
    Posts
    43

    Arch/ make.profile problem ( SOLVED)


    ARCH is not set
    i did a goof...lol i did a new profile and yes i goofed. this is the error i get now.
    ARCH is not set... Are you missing the /etc/make.profile symlink
    Is the symlink correct? Is your portage tree complete?
    This is what i did
    3. Profile updating instructions

    Updating to 2006.1

    To switch to the 2006.1 profile, point the /etc/make.profile symlink to the new location. Make sure your Portage is updated before you change your profile.

    Code Listing 3.1: Changing to a 2006.1 profile

    # rm /etc/make.profile
    # ln -s ../usr/portage/profiles/default-linux/x86/2006.1 /etc/make.profile
    Ok yes i messed up now can someone help me fix it...lol:drown:

  2. #2
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Posts
    624
    That should have done the trick....is the make.profile correct?
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  3. #3
    Just Joined! Wyldeman's Avatar
    Join Date
    Oct 2006
    Location
    United States of Texas....lol
    Posts
    43
    I tried to emerge -v kdebase and i get the same thing again.
    ARCH is not set...

    So i assume its not. i cant emerge anything.

  4. #4
    Just Joined! Wyldeman's Avatar
    Join Date
    Oct 2006
    Location
    United States of Texas....lol
    Posts
    43

    Symlink trouble

    Here we go....
    Did a emerge --sync..
    then is said there in a portage update emerge portage..
    emerge portage
    !!! /etc/make.profile is not a symlink and will probably prevent most merges.
    !!! It should point into a profile within /usr/portage/profiles

    ARCH is not set...Are you missing the '/etc/make.profile' symlink?
    Is the symlink correct? Is your portage tree complete?
    /

  5. #5
    Just Joined! Wyldeman's Avatar
    Join Date
    Oct 2006
    Location
    United States of Texas....lol
    Posts
    43
    How do you know if the make.profile is right????
    is there some code to check and see???
    this is my first time doing Gentoo on my own. The commands are way over my head. But i can LEARN....

  6. #6
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Posts
    624
    Read this. That will help. Look for make.conf
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  7. #7
    Linux Engineer psic's Avatar
    Join Date
    Nov 2004
    Location
    Ljubljana, Slovenia
    Posts
    1,205
    I think you mentioned somewhere else that you have some regular pentium machine? In this case, you san set the -arch to '-arch=i686' in /etc/make.conf. I actually have -mtune=i686 instead of -arch, but hey, it works

    Also, did you do these two steps?
    Code:
    rm /etc/make.profile
    ln -s ../usr/portage/profiles/default-linux/x86/2006.1 /etc/make.profile
    You have to do first the 'rm...' then the 'ln...'. The first removes the old symlink which is make.profile, the second makes a new one with the latest profile. You do all of this as root.

  8. #8
    Just Joined! Wyldeman's Avatar
    Join Date
    Oct 2006
    Location
    United States of Texas....lol
    Posts
    43

    Solved

    Got it solved last night .
    emerge --sync
    ls -l /etc/make.profile
    ls -l /usr/portage/profiles/default-linux/x86/2006.1/
    ls -l /etc/make.profile

    ln -snf /usr/portage/profiles/default-linux/x86/2006.1/desktop /etc/make.profile
    that replaced the typo in desltop that i had.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •