Find the answer to your Linux question:
Results 1 to 5 of 5
Hi Gentooers Afer fixing ccache when I entered this command I got this message, something that I've never seen before: env-update !!! Invalid token (not "=") Traceback (most recent call ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2005
    Posts
    1

    portage woes


    Hi Gentooers

    Afer fixing ccache when I entered this command I got this message, something that I've never seen before:

    env-update
    !!! Invalid token (not "=")
    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/01hostname: line 1 in /etc/env.d/01hostname
    I am no programmer and have no clue how to begin fixing this.

    In addition after this I can no longer emerge!!!

    Let's say I wanted to upgrade initng I get this message at the end

    checking for a BSD-compatible install... /bin/install -c
    checking whether build environment is sane... yes
    checking whether make sets $(MAKE)... yes
    checking for working aclocal-1.4... found
    checking for working autoconf... found
    checking for working automake-1.4... found
    checking for working autoheader... found
    checking for working makeinfo... found
    checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
    checking for C compiler default output file name... configure: error: C compiler cannot create executables
    See `config.log' for more details.

    !!! Please attach the config.log to your bug report:
    !!! /var/tmp/portage/initng-0.2.5/work/initng-0.2.5/config.log

    !!! ERROR: sys-apps/initng-0.2.5 failed.
    !!! Function econf, Line 485, Exitcode 0
    !!! econf failed
    !!! If you need support, post the topmost build error, NOT this status message.
    How may I go about fixing this issues?

    Thank you

  2. #2
    Just Joined!
    Join Date
    Aug 2005
    Posts
    15
    1.) Post the output of /etc/env.d/01hostname

    2.) Post the output of emerge --info

  3. #3
    Linux Newbie
    Join Date
    May 2005
    Posts
    222
    What do you mean by fixing ...."ccache" ?
    Are you trying to enable cache compilation ? If so could you possibly mistyped something there ?

  4. #4
    Linux Engineer
    Join Date
    Jul 2003
    Location
    Stockholm, Sweden
    Posts
    1,296
    you might be able to fix it by using the "rescue portage" this command tells you how:

    Code:
    less /usr/portage/sys-apps/portage/files/README.RESCUE

  5. #5
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    Quote Originally Posted by variant
    you might be able to fix it by using the "rescue portage" this command tells you how:

    Code:
    less /usr/portage/sys-apps/portage/files/README.RESCUE
    and if this dosnt help file a bug at http://bugs.gentoo.org/ and also search the bugs for applical bugs and a possible fix
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

Posting Permissions

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