Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
env-update ERROR
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
mindamp
n00b
n00b


Joined: 19 Aug 2005
Posts: 30
Location: Mississippi

PostPosted: Wed Sep 07, 2005 1:30 pm    Post subject: env-update ERROR Reply with quote

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
View user's profile Send private message
Birtz
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 272
Location: Osijek / Croatia

PostPosted: Wed Sep 07, 2005 3:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
mindamp
n00b
n00b


Joined: 19 Aug 2005
Posts: 30
Location: Mississippi

PostPosted: Wed Sep 07, 2005 3:20 pm    Post subject: cat /etc/env.d/05gcc Reply with quote

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
View user's profile Send private message
Birtz
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 272
Location: Osijek / Croatia

PostPosted: Wed Sep 07, 2005 10:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
mindamp
n00b
n00b


Joined: 19 Aug 2005
Posts: 30
Location: Mississippi

PostPosted: Wed Sep 07, 2005 10:58 pm    Post subject: thanks Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum