public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-dev] Portage can't find gcc
  @ 2003-03-17 20:45 99% ` Eric Noack
  0 siblings, 0 replies; 1+ results
From: Eric Noack @ 2003-03-17 20:45 UTC (permalink / raw
  To: gentoo-dev

Am Mon, 17 Mar 2003 12:31:23 -0800
schrieb Burton Samograd <kruhft@kruhft.dyndns.org>:

> Hi All,
> 
> I have a gentoo 1.4 server that I left running for a while (many
> months) without a rsync or update for a while due to having some
> broken libraries.  I fixed the libs, managed to get an rsync to work
> and then did an emerge -u world which seemed to work fine until it
> updated gcc (i think, but this seems like the most obvious problem).
> 
> I figure it's an environment problem as I was having problems with not
> being able to find libstdc++, which was solved by adding the
> appropriate directory to LD_LIBRARY_PATH as well.
> 
> Now it looks like the environment is out of whack or else portage
> ignore environment settings as I went through and manually inserted
> the paths in /etc/env.d/gcc/ and can run gcc from the command line,
> but whenever I try to emerge I get an error about not being able to
> find gcc.
> 
> Are the paths or environment specified differently for portage or is
> there something else I have to manually update to get this working
> again?
> 
> --
> burton samograd kruhft@kruhft.dyndns.org
> http://kruhftwerk.dyndns.org
> 


Its a known bug, look in bugzilla about gcc (dunno the bug id anymore) theres a workaround to fix

the reason is gcc-config being installed but not there.
how that comes i dunno,

after having portage working again, re-emerge gcc-config and then gcc,
or you will have future problems ( had this on 2 systems)

the short time workaround is to save /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1 to somewhat else and link the 3.2.1 dir to 3.2.2.
emerge will then work again, to re-emerge gcc-config and gcc but dont forget to erase the link and copy the old dir back.
some old progs may need the .so s there ;)


have fun

CvC

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2003-03-17 20:31     [gentoo-dev] Portage can't find gcc Burton Samograd
2003-03-17 20:45 99% ` Eric Noack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox