| View previous topic :: View next topic |
| Author |
Message |
uman Apprentice

Joined: 20 Dec 2004 Posts: 223
|
Posted: Tue Apr 05, 2005 10:31 pm Post subject: Error when emerging gnome-vfs! |
|
|
Could someone please help me?
| Code: | gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Error: Empty file
** (process:11356): WARNING **: ./GNOME_VFS_Daemon.idl compilation failed
make[2]: *** [GNOME_VFS_Daemon-common.c] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Error: Empty file
** (process:11359): WARNING **: ./GNOME_VFS_Daemon.idl compilation failed
make[2]: *** [GNOME_VFS_Daemon-stubs.c] Error 1
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Error: Empty file
** (process:11351): WARNING **: ./GNOME_VFS_Daemon.idl compilation failed
make[2]: *** [GNOME_VFS_Daemon.h] Error 1
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-vfs-2.8.4-r1/work/gnome-vfs-2
.8.4'
make: *** [all] Error 2 |
This error is really making me mad, as I can't emerge -avuD world anymore! Please help! _________________ Gentoo Stable (some ~x86 in package.keywords)
Pentium 4 3.0 GHz w/HT
Reiser4 root partition
Nvidia GeForce 6800
The Anti-1337 Manifesto |
|
| Back to top |
|
 |
Deathwing00 Moderator


Joined: 13 Jun 2003 Posts: 4050 Location: Barcelona, Spain
|
Posted: Tue Apr 05, 2005 11:36 pm Post subject: |
|
|
| Did you try to revdep-rebuild? |
|
| Back to top |
|
 |
uman Apprentice

Joined: 20 Dec 2004 Posts: 223
|
Posted: Wed Apr 06, 2005 12:02 am Post subject: |
|
|
Same problem, but thanks anyway  _________________ Gentoo Stable (some ~x86 in package.keywords)
Pentium 4 3.0 GHz w/HT
Reiser4 root partition
Nvidia GeForce 6800
The Anti-1337 Manifesto |
|
| Back to top |
|
 |
Deathwing00 Moderator


Joined: 13 Jun 2003 Posts: 4050 Location: Barcelona, Spain
|
Posted: Wed Apr 06, 2005 9:19 am Post subject: |
|
|
| What does gcc-config -l return? |
|
| Back to top |
|
 |
uman Apprentice

Joined: 20 Dec 2004 Posts: 223
|
Posted: Fri Apr 08, 2005 1:08 pm Post subject: |
|
|
| Code: | [1] i686-pc-linux-gnu-3.3.4
[2] i686-pc-linux-gnu-3.3.5-20050130
[3] i686-pc-linux-gnu-3.3.5-20050130-hardened
[4] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
[5] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp
[6] i686-pc-linux-gnu-3.4.3-20050110 *
[7] i686-pc-linux-gnu-3.4.3-20050110-hardened
[8] i686-pc-linux-gnu-3.4.3-20050110-hardenednopie
[9] i686-pc-linux-gnu-3.4.3-20050110-hardenednossp
|
Any insight? _________________ Gentoo Stable (some ~x86 in package.keywords)
Pentium 4 3.0 GHz w/HT
Reiser4 root partition
Nvidia GeForce 6800
The Anti-1337 Manifesto |
|
| Back to top |
|
 |
Deathwing00 Moderator


Joined: 13 Jun 2003 Posts: 4050 Location: Barcelona, Spain
|
Posted: Fri Apr 08, 2005 5:23 pm Post subject: |
|
|
What happens if you
| Code: | # gcc-config 2
# env-update
# source /etc/profile
# gcc-config 6
# env-update
# source /etc/profile
# fix_libtool.sh 3.3.4
# fix_libtool.sh 3.3.5-20050130
|
|
|
| Back to top |
|
 |
uman Apprentice

Joined: 20 Dec 2004 Posts: 223
|
Posted: Fri Apr 08, 2005 6:34 pm Post subject: |
|
|
I assume you mean "fix_libtool_files.sh", not "fix_libtool.sh". Anyway, no difference  _________________ Gentoo Stable (some ~x86 in package.keywords)
Pentium 4 3.0 GHz w/HT
Reiser4 root partition
Nvidia GeForce 6800
The Anti-1337 Manifesto |
|
| Back to top |
|
 |
Deathwing00 Moderator


Joined: 13 Jun 2003 Posts: 4050 Location: Barcelona, Spain
|
Posted: Fri Apr 08, 2005 7:08 pm Post subject: |
|
|
Could you paste here
| Code: | # emerge info
# i386-pc-linux-gnu-gcc -v
# i686-pc-linux-gnu-gcc -v
# gcc -v
| ?? |
|
| Back to top |
|
 |
uman Apprentice

Joined: 20 Dec 2004 Posts: 223
|
Posted: Fri Apr 08, 2005 8:41 pm Post subject: |
|
|
emerge info | Code: | Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10-reiser4-r7 i686)
=================================================================
System uname: 2.6.10-reiser4-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
Python: dev-lang/python-2.3.4-r1 [2.3.4 (#2, Mar 5 2005, 09:14:55)]
ccache version 2.3 [enabled]
dev-lang/python: 2.3.4-r1
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.6.3, 1.9.4, 1.5
sys-devel/binutils: 2.15.92.0.2-r7
sys-devel/libtool: 1.5.10-r4
virtual/os-headers: 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-fomit-frame-pointer -O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-fomit-frame-pointer -O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apache2 apm arts avi berkdb bitmap-fonts cdinstall cdr clanJavaScript clanVoice crypt cups curl dvdr emboss encode esd fam flac foomaticdb fortran gcj gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java joystick jpeg junit ldap libclamav libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql nas ncurses nls oav objc oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real samba sdl spell sqlite ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts xinerama xml xml2 xmms xv zlib"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS | i386-pc-linux-gnu-gcc -v | Code: | | gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc" | i686-pc-linux-gnu-gcc -v | Code: | Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/specs
Configured with: /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --enable-java-awt=gtk --enable-languages=c,c++,objc,java,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r2, ssp-3.4.3.20050110-0, pie-8.7.7)
| gcc -v | Code: | Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/specs
Configured with: /var/tmp/portage/gcc-3.4.3.20050110-r2/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.3-20050110 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.3-20050110/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.3-20050110/include/g++-v3 --host=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --enable-java-awt=gtk --enable-languages=c,c++,objc,java,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.3-20050110 (Gentoo Linux 3.4.3.20050110-r2, ssp-3.4.3.20050110-0, pie-8.7.7)
| It looks like the problem lies with i386-pc-linux-gnu-gcc, but how can I fix this? Also, why is gnome-vfs trying to use i386-pc-linux-gnu-gcc when I have i686-pc-linux-gnu-gcc? _________________ Gentoo Stable (some ~x86 in package.keywords)
Pentium 4 3.0 GHz w/HT
Reiser4 root partition
Nvidia GeForce 6800
The Anti-1337 Manifesto |
|
| Back to top |
|
 |
uman Apprentice

Joined: 20 Dec 2004 Posts: 223
|
Posted: Fri Apr 08, 2005 9:57 pm Post subject: |
|
|
Forgot to mention, I recently changed my CHOST. Apparently this was bad, but I didn't know that at the time
Is there any way to salvage the mess? _________________ Gentoo Stable (some ~x86 in package.keywords)
Pentium 4 3.0 GHz w/HT
Reiser4 root partition
Nvidia GeForce 6800
The Anti-1337 Manifesto |
|
| Back to top |
|
 |
Deathwing00 Moderator


Joined: 13 Jun 2003 Posts: 4050 Location: Barcelona, Spain
|
Posted: Fri Apr 08, 2005 11:04 pm Post subject: |
|
|
| uman wrote: | Forgot to mention, I recently changed my CHOST. Apparently this was bad, but I didn't know that at the time
Is there any way to salvage the mess? |
If you previously had i386 as CHOST... well, re-emerging binutils, gcc and glibc should do the trick... |
|
| Back to top |
|
 |
lmcogs Guru

Joined: 03 Apr 2005 Posts: 340
|
Posted: Sat Apr 09, 2005 12:15 am Post subject: |
|
|
Hi
I have exactly same problem and awaiting your results. I have posted my question in 'desktop environment as 'XML::Parser perl module is required for intltool-gnome-vfs' at (http://forums.gentoo.org/viewtopic-t-321009.html') but there no answers yet.
I ran revdep-rebuild and ran ok. Then emerged gnome-vfs again and again I got the error.
/usr/bin/orbit-idl-2 -I `pkg-config --variable=idldir bonobo-activation-2.0` ./GNOME_VFS_Daemon.idl
orbit-idl-2 2.12.0 compiling
mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule
orbit-idl-2 2.12.0 compiling
mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Error: Empty file
** (process:23438): WARNING **: ./GNOME_VFS_Daemon.idl compilation failed
make[2]: *** [GNOME_VFS_Daemon-common.c] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Error: Empty file
** (process:23435): WARNING **: ./GNOME_VFS_Daemon.idl compilation failed
make[2]: *** [GNOME_VFS_Daemon.h] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-vfs-2.8.4-r1/work/gnome-vfs-2.8.4/libgnomevfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-vfs-2.8.4-r1/work/gnome-vfs-2.8.4'
make: *** [all] Error 2
!!! ERROR: gnome-base/gnome-vfs-2.8.4-r1 failed.
!!! Function gnome2_src_compile, Line 40, Exitcode 2
!!! compile failure
I also ran the other commands (except for the last which seem a bit frightening) and I got the same results as uman except my version of gcc is 3.3.5-r1. I can't remember if I changed the CHOST or not but I am nearly sure I took it from the example file in /etc.
I know I did see another forum at http://forums.gentoo.org/viewtopic-t-279020.html which seems to be dealing with the same thing. However I did not know what was meant by <old version>
lmcogs |
|
| Back to top |
|
 |
Deathwing00 Moderator


Joined: 13 Jun 2003 Posts: 4050 Location: Barcelona, Spain
|
Posted: Sat Apr 09, 2005 12:26 am Post subject: |
|
|
As I remarked before, reemerging binutils, gcc and glibc, then running gcc-config to select the appropiate compiler and, finally, env-update might help. About fix_libtool_files.sh:
| Code: | # fix_libtool_files.sh 3.3.4 --oldarch i386-pc-linux-gnu
# fix_libtool_files.sh 3.3.5-20050130 --oldarch i386-pc-linux-gnu
# fix_libtool_files.sh 3.4.3-20050110 --oldarch i386-pc-linux-gnu
|
Try that one again. If it doesn't work...
You have played with CHOST for what I see and your system complains about it. Please,
| Code: |
# cat /etc/env.d/05gc*
# whereis i686-pc-linux-gnu-gcc
|
I'm pretty sure there was a file realted to this configuration problem, just cannot remember if it's one of these...
In any case, if you feel desperate, there is the weird solution of creating a symlink... but better not. |
|
| Back to top |
|
 |
lmcogs Guru

Joined: 03 Apr 2005 Posts: 340
|
|
| Back to top |
|
 |
lmcogs Guru

Joined: 03 Apr 2005 Posts: 340
|
Posted: Sat Apr 09, 2005 2:02 am Post subject: |
|
|
hi
This is mine
cat /etc/env.d/05gc*
PATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3.5"
ROOTPATH="/usr/i686-pc-linux-gnu/gcc-bin/3.3.5"
MANPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/man"
INFOPATH="/usr/share/gcc-data/i686-pc-linux-gnu/3.3.5/info"
LDPATH="/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5"
GCC_SPECS=""
Still waiting for glibc to reemerge, gcc and binutils did ok.
Lmcogs |
|
| Back to top |
|
 |
lmcogs Guru

Joined: 03 Apr 2005 Posts: 340
|
Posted: Sat Apr 09, 2005 3:24 am Post subject: |
|
|
Hi
Well gcc binutils and glibc installed then tried to run gcc-config but did not know it's choices. Then ran env-update ok then tried to emerge gnome-vfs again but got same error. Then ran command fix_libtool_files.sh 3.3.5 --oldarch i386-pc-linux-gnu and got
orbit-idl-2 2.12.0 compiling
mode, show preprocessor errors, passes: stubs skels common headers skel_impl imodule
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Error: Empty file
** (process:23988): WARNING **: ./GNOME_VFS_Daemon.idl compilation failed
make[2]: *** [GNOME_VFS_Daemon-common.c] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
Error: Empty file
** (process:23985): WARNING **: ./GNOME_VFS_Daemon.idl compilation failed
make[2]: *** [GNOME_VFS_Daemon.h] Error 1
make[2]: Leaving directory `/var/tmp/portage/gnome-vfs-2.8.4-r1/work/gnome-vfs-2.8.4/libgnomevfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnome-vfs-2.8.4-r1/work/gnome-vfs-2.8.4'
make: *** [all] Error 2
How do I run gcc-config? only thing I left out. Must go to bed.
lmcogs |
|
| Back to top |
|
 |
uman Apprentice

Joined: 20 Dec 2004 Posts: 223
|
Posted: Sat Apr 09, 2005 4:03 pm Post subject: |
|
|
I'm doing "emerge -e system" now. I found somewhere else that how you should fix this type of b0rkage is:
| Code: | emerge glibc binutils gcc
emerge glibc binutils gcc
emerge -e system
emerge -e world |
I hope it works  _________________ Gentoo Stable (some ~x86 in package.keywords)
Pentium 4 3.0 GHz w/HT
Reiser4 root partition
Nvidia GeForce 6800
The Anti-1337 Manifesto |
|
| Back to top |
|
 |
lmcogs Guru

Joined: 03 Apr 2005 Posts: 340
|
|
| Back to top |
|
 |
lmcogs Guru

Joined: 03 Apr 2005 Posts: 340
|
|
| Back to top |
|
 |
bobbyo n00b

Joined: 21 Aug 2005 Posts: 2
|
|
| Back to top |
|
 |
Jaymac n00b

Joined: 19 Aug 2005 Posts: 4
|
Posted: Tue Aug 23, 2005 12:29 pm Post subject: |
|
|
| lmcogs wrote: | Hi
I have exactly same problem and awaiting your results. I have posted my question in 'desktop environment as 'XML::Parser perl module is required for intltool-gnome-vfs' at (http://forums.gentoo.org/viewtopic-t-321009.html') but there no answers yet.
|
| Code: | emerge XML-Parser
env-update && source /etc/profile |
And retry. |
|
| Back to top |
|
 |
codermattie n00b

Joined: 19 Jun 2006 Posts: 2
|
Posted: Mon Jun 19, 2006 10:15 am Post subject: |
|
|
I had the same problem and found the solution. After changing CHOST and rebuilding the toolchain & libc re-emerging dev-libs/libIDL will propogate the new CHOST into the program generating the bad gcc-config
calls. |
|
| Back to top |
|
 |
|