Every seen this error?

# gcc-config -l
 * gcc-config: Active gcc profile is invalid!
 [1] i586-pc-linux-gnu-4.1.2
Here's what I get when I run gcc-config-l:

wheeljack firewall # gcc-config -l
 [1] i686-pc-linux-gnu-4.2.2 *

The * indicates that this is my active profile. I see that when you list
your profiles, none of them is marked as active. It sounds to me like your
current profile is a profile that is not available to you. To replicate your
error, I modified  /etc/env.d/gcc/config-i686-pc-linux-gnu:

#CURRENT=i686-pc-linux-gnu-4.2.2
CURRENT=invalid

To fix your problem, you need to set your profile to one of the profiles you
have available. To see your choices, list /etc/env.d/gcc, then use
gcc-config to set your profile:

wheeljack firewall # ls /etc/env.d/gcc
config-i686-pc-linux-gnu  i686-pc-linux-gnu-4.2.2
wheeljack firewall # gcc-config i686-pc-linux-gnu-4.2.2
 * Switching native-compiler to i686-pc-linux-gnu-4.2.2 ...
>>> Regenerating
/etc/ld.so.cache...
[ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile

Reply via email to