View previous topic :: View next topic |
Author |
Message |
mindamp n00b
Joined: 19 Aug 2005 Posts: 30 Location: Mississippi
|
Posted: Wed Sep 07, 2005 1:30 pm Post subject: env-update ERROR |
|
|
i am getting this error after attempting to run env-update:
Code: |
op2 / # env-update
!!! Invalid token (not "=") MANPATH
Traceback (most recent call last):
File "/usr/sbin/env-update", line 11, in ?
portage.env_update()
File "/usr/lib/portage/pym/portage.py", line 501, in env_update
myconfig=getconfig(root+"etc/env.d/"+x)
File "/usr/lib/portage/pym/portage_util.py", line 273, in getconfig
raise e.__class__, str(e)+" in "+mycfg
Exception: ParseError: Invalid token (not '='): /etc/env.d/05gcc: line 3 in /etc/env.d/05gcc
op2 / #
|
anyone familiar with this? all help is appreciated. _________________ mindamp
mindamp@gmail.com
http://www.mindamp.org |
|
Back to top |
|
|
Birtz Apprentice
Joined: 09 Feb 2005 Posts: 272 Location: Osijek / Croatia
|
Posted: Wed Sep 07, 2005 3:18 pm Post subject: |
|
|
Hello,
Please do Code: | cat /etc/env.d/05gcc | and post the result here so we can try to help you.
Regards _________________ It is not enough to have a good mind. The main thing is to use it well.
-- Rene Descartes
Don't have a childhood hero? How about Rob Hubbard http://www.freenetpages.co.uk/hp/tcworh/profile.htm |
|
Back to top |
|
|
mindamp n00b
Joined: 19 Aug 2005 Posts: 30 Location: Mississippi
|
Posted: Wed Sep 07, 2005 3:20 pm Post subject: cat /etc/env.d/05gcc |
|
|
Ok, thanks for the quick response.. here it is...
Code: |
op2 etc # cat /etc/env.d/05gcc
PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4"
ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3"4
MANPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/man"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/info"
LDPATH="/usr/lib64/gcc/x86_64-pc-linux-gnu/3.4.4:/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/32"
GCC_SPECS=""
op2 etc #
|
_________________ mindamp
mindamp@gmail.com
http://www.mindamp.org |
|
Back to top |
|
|
Birtz Apprentice
Joined: 09 Feb 2005 Posts: 272 Location: Osijek / Croatia
|
Posted: Wed Sep 07, 2005 10:54 pm Post subject: |
|
|
Your problem lies here:
Code: | ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3"4 |
Please correct this line to show:
Code: | ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4" |
then your env-update should work okay.
I think the culprit is update from gcc 3.4.3 to 3.4.4 which hasn't updated this environment file properly.
Regards _________________ It is not enough to have a good mind. The main thing is to use it well.
-- Rene Descartes
Don't have a childhood hero? How about Rob Hubbard http://www.freenetpages.co.uk/hp/tcworh/profile.htm |
|
Back to top |
|
|
mindamp n00b
Joined: 19 Aug 2005 Posts: 30 Location: Mississippi
|
Posted: Wed Sep 07, 2005 10:58 pm Post subject: thanks |
|
|
thanks, Ill try that tomorrow at work... but yeh, i just updated to gcc 3.4.4 ... let you know. _________________ mindamp
mindamp@gmail.com
http://www.mindamp.org |
|
Back to top |
|
|
|