Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge gtk trouble.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
justincataldo
Guru
Guru


Joined: 15 Jun 2005
Posts: 376
Location: Australia

PostPosted: Fri Jul 22, 2005 12:02 am    Post subject: emerge gtk trouble. Reply with quote

I'm trying to run this command:
Code:
emerge --update --deep --newuse world

But I keep getting this error when it gets to the gtk package:
Code:

/usr/include/jconfig.h:12:1: warning: this is the location of the previous definition
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -mcpu=i686 -fomit-frame-pointer -Wall   -o libpixbufloader-jpeg.la -rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module  io-jpeg.lo -ljpeg libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la' is not a valid libtool archive
make[4]: *** [libpixbufloader-jpeg.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gdk-pixbuf'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gdk-pixbuf'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7/gdk-pixbuf'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtk+-2.6.7/work/gtk+-2.6.7'
make: *** [all] Error 2

!!! ERROR: x11-libs/gtk+-2.6.7 failed.
!!! Function src_compile, Line 85, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

sita ~ #


I've tried deleting everything in the /var/tmp/portage/gtk+-2.6.7/ directory and then deleting that directory, but I am still getting the same error. What do I need to do to fix it?
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Fri Jul 22, 2005 4:45 am    Post subject: Re: emerge gtk trouble. Reply with quote

justincataldo wrote:
Code:
/usr/include/jconfig.h:12:1: warning: this is the location of the previous definition
/bin/sh ../libtool --mode=link i686-pc-linux-gnu-gcc  -O2 -mcpu=i686 -fomit-frame-pointer -Wall   -o libpixbufloader-jpeg.la -rpath /usr/lib/gtk-2.0/2.4.0/loaders -avoid-version -module  io-jpeg.lo -ljpeg libgdk_pixbuf-2.0.la -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lm
grep: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory
/bin/sed: can't read /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la: No such file or directory
libtool: link: `/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/libstdc++.la' is not a valid libtool archive

This libtool error is quite common, seems to be caused when upgrading gcc.

The fix is to run (as root) "fix_libtool_files.sh 3.3.5", or something along those lines.

It's been covered in the forum numerous times before (it's how I solved it when I had this problem).
Try searching for "libstdc++.la not valid libtool archive".
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri Jul 22, 2005 7:21 am    Post subject: Reply with quote

Please see this FAQ and related links: https://forums.gentoo.org/viewtopic-t-279020.html

Moved from Installing Gentoo to Duplicate Threads.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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