public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] System update problems and Incompatible gcc
@ 2005-09-25 14:14 Rupert Young (Restart)
  2005-09-25 14:25 ` Holly Bostick
  0 siblings, 1 reply; 2+ messages in thread
From: Rupert Young (Restart) @ 2005-09-25 14:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1932 bytes --]

I seem to have most of my problems with updating for the first time in a

year resolved (see below for one outstanding issue).

Thanks to all those who assissted.

 

Here's what I did. The order may not be as I did them. Also I'm not sure

if they were all necessary, the stage2 bit for example.

 

1. Linked make.profile to the new dir

lrwxrwxrwx  1 root root 48 Sep 24 13:21 /etc/make.profile ->

/usr/portage/profiles/default-linux/amd64/2005.1

 

2. Downloaded and unpacked the stage2 tarball[Rupert Young] . I first backed
up /etc and var/lib/portage and then restored them after.

 

3. Re-emerged the gentoo toolkit: gcc-config glibc binutils libstdc++

 

4. Used gcc-config to point to the latest gcc

 

5. Updated env with

      etc-update 

      env-update 

      source /etc/profile

 

6. Did all the updates I could think of 

      emerge --sync

      emerge -u portage

      emerge -upDv world

      emerge -uDv world

      emerge -upv system

      emerge -uv system

 

Now everything is in sync and up to date. However, the old gcc is still

being picked somehow when trying to  emerge -av net-im/gaim. It should

be pointing to 3.4.4. Any ideas where this is being set? What is the

gentoo equivalent of the environment variable LIBRARY_PATH?

 

grep: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libstdc++.la: No such file

or directory

/bin/sed: can't read

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libstdc++.la: No such file or

directory

libtool: link: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libstdc++.la' is

not a valid libtool archive

make[2]: *** [libenchant_aspell.la] Error 1

make[2]: Leaving directory

`/var/tmp/portage/enchant-1.1.6/work/enchant-1.1.6/src/aspell'

make[1]: *** [all-recursive] Error 1

make[1]: Leaving directory

`/var/tmp/portage/enchant-1.1.6/work/enchant-1.1.6/src'

make: *** [all-recursive] Error 1

 

!!! ERROR: app-text/enchant-1.1.6 failed.

 

Rupert Young

 


[-- Attachment #2: Type: text/html, Size: 9918 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-user] System update problems and Incompatible gcc
  2005-09-25 14:14 [gentoo-user] System update problems and Incompatible gcc Rupert Young (Restart)
@ 2005-09-25 14:25 ` Holly Bostick
  0 siblings, 0 replies; 2+ messages in thread
From: Holly Bostick @ 2005-09-25 14:25 UTC (permalink / raw
  To: gentoo-user

Rupert Young (Restart) schreef:
> grep: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libstdc++.la: No such
> file
> 
> or directory
> 
> /bin/sed: can't read
> 
> /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libstdc++.la: No such file or
> 
> directory
> 
> libtool: link: `/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/libstdc++.la'
> is
> 
> not a valid libtool archive
> 

This message, no matter what emerge you encounter it in, is a known
error that means

run the

fix_libtools_files.sh

script.

You should find in in /sbin (the script is installed by the emerge of
gcc), so root should just be able to run it to fix the issue. Then run
the emerge again.

Hope this helps.
Holly
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-25 14:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-25 14:14 [gentoo-user] System update problems and Incompatible gcc Rupert Young (Restart)
2005-09-25 14:25 ` Holly Bostick

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