Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc borked for gnome install
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Vermis
n00b
n00b


Joined: 17 Nov 2005
Posts: 7

PostPosted: Thu Dec 08, 2005 8:35 am    Post subject: gcc borked for gnome install Reply with quote

Hey, I'm having problems trying install gnome in 32 bit mode (but I have an AMD 64).
I get the dreaded mismatched gcc libfile error

gcc-config error: Could not run/locate "i386-pc-linux-gnu-g++"
make: *** [libapm.la] Error 1

!!! ERROR: sys-apps/apmd-3.2.1_p4 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


I've been getting help from my friend, who's exausted almost everything he knows
and he's been digging through the forums as well.

so first we tried
fix_libtool_files.sh 3.3.5 --oldarch i386-pc-linux-gnu
no fixes appeared. so we ended up doing a symlink in this dir where gcc-config
-B said the binaries were kept

/usr/i686-pc-linux-gnu/gcc-bin/3.3.6
ln -s i686-pc-linux-gnu-g++ i386-pc-linux-gnu
this finally uncovered the actual problem, with the following error

i386-pc-linux-gnu-g++: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/../../../crti.o: No such file or directory
i386-pc-linux-gnu-g++: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/crtbeginS.o: No such file or directory
i386-pc-linux-gnu-g++: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/crtendS.o: No such file or directory
i386-pc-linux-gnu-g++: /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5-20050130/../../../crtn.o: No such file or directory
make: *** [libapm.la] Error 1

!!! ERROR: sys-apps/apmd-3.2.1_p4 failed.
!!! Function src_compile, Line 50, Exitcode 2

so it's 3.3.5-20050130 right

so we did fix_libtool_files.sh 3.3.5-20050130 --oldarch i386-pc-linux-gnu

and it still came up empty.

Any advice. We've read all the FAQs and tried everything short of symlinking the
whole lot. As it wasn't adviced.

Emerge --info:
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5, 2.4.2
sys-apps/sandbox: 1.2.11
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.20
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-narch=athlonxp -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-narch=athlonxp -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cjk crypt cups curl dbus dvd eds emboss encode esd exif expat fam fbcon ffmpeg foomaticdb fortran ftp gdbm gif gimpprint glut gnome gpm gstreamer gtk gtk2 idn imagemagick imap imlib ipv6 java jpeg junit kde lcms libg++ libgd libwww mad matroska mhash mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nls ogg oggv oggvorbis opengl orbis oss pam pcre pdflib perl png ppds python qt quicktime readline sdl spell sqlite sse ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev usb v4l vorbis win32codecs xine xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
poosnarky
n00b
n00b


Joined: 24 Nov 2005
Posts: 27

PostPosted: Fri Dec 09, 2005 2:59 am    Post subject: Reply with quote

quick fix for strange emerging errors
Code:
emerge --oneshot libtool
Back to top
View user's profile Send private message
Vermis
n00b
n00b


Joined: 17 Nov 2005
Posts: 7

PostPosted: Fri Dec 09, 2005 6:25 am    Post subject: Reply with quote

Thanks man
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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