View previous topic :: View next topic |
Author |
Message |
gnufied Tux's lil' helper
Joined: 13 Sep 2005 Posts: 100
|
Posted: Thu Jan 05, 2006 3:06 pm Post subject: [[Solved]]Error while updating Gentoo |
|
|
Hi guys,
I installed Gentoo 2005.0 using universal CD and most of packages(like gcc,gnome) from GRPs. Though i have done "emerge --rsync", i haven't done any gcc upgrade or something. So first time after installation, i am trying to do:
But the update fails, while trying to compile gproff.
Code: | tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/preproc/refer /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/preproc/soelim /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/preproc/html /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/devices/grops /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/devices/grohtml | sed -e 's| *|:|g'`; export GROFF_BIN_PATH; sed -e "s;@VERSION@;1.19.1;" pic.ms | /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/roff/groff/groff -M/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/tmac -M/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/tmac -F/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/font -F/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/font -Upet -ww -Tps -ms -mwww >pic.ps
test -f grnexmpl.g || cp ./grnexmpl.g .
make[2]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/doc'
make[1]: Leaving directory `/var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1'
imake -DUseInstalled -I/usr/lib/X11/config
In file included from /usr/lib/X11/config/Imake.tmpl:105,
from Imakefile.c:35:
/usr/lib/X11/config/linux.cf:371: warning: "BuildLibGlxWithoutPIC" redefined
In file included from /usr/lib/X11/config/site.def:44,
from /usr/lib/X11/config/Imake.tmpl:46,
from Imakefile.c:35:
/usr/lib/X11/config/host.def:63: warning: this is the location of the previous definition
gccmakedep -- -I./lib/Xt -I. -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\" -- ./xditview.c ./Dvi.c ./draw.c ./font.c ./lex.c ./page.c ./parse.c ./XFontName.c ./DviChar.c ./device.c ./xtotroff.c ./XFontName.c ./DviChar.c
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
i386-pc-linux-gnu-gcc -O2 -fno-strength-reduce -fno-strict-aliasing -I./lib/Xt -I. -I/usr/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.19.1-r2/work/groff-1.19.1/src/xditview/../../REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\" -c -o xditview.o xditview.c
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make: *** [xditview.o] Error 1
!!! ERROR: sys-apps/groff-1.19.1-r2 failed.
!!! Function src_compile, Line 91, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
|
I have followed the tips give [url]https://forums.gentoo.org/viewtopic-t-279020.html here[/url].
But they don't seem to work!! ANy help would be greatly appreciated.
Last edited by gnufied on Sat Jan 07, 2006 4:31 am; edited 1 time in total |
|
Back to top |
|
|
gnufied Tux's lil' helper
Joined: 13 Sep 2005 Posts: 100
|
Posted: Thu Jan 05, 2006 3:07 pm Post subject: |
|
|
If it is of any help...here is the contents of /etc/make.conf
Code: |
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers
-falign-functions=64"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="acpi alsa avi curl dga dvd encode fbcon freetds gb gd gif gtk2 imap \
innodb jpeg junit kerberos lcms lirc maildir mmx mozilla mpeg \
mpi oggvorbis opengl pam plotutils png pnp ppds \
quicktime sasl sdl slp snmp socks5 sse ssl tcltk tiff trusted usb \
vmf X x86 xml zlib qt kde gtk gnome hal hawl \
bitmap-fonts truetype-fonts type1-fonts ithreads"
ALSA_CARDS="intel8x0"
|
|
|
Back to top |
|
|
gnufied Tux's lil' helper
Joined: 13 Sep 2005 Posts: 100
|
Posted: Thu Jan 05, 2006 3:42 pm Post subject: |
|
|
Also, if it is of any help..the command "emerge -uDN world" actually successfully compiled gcc to the latest version.So the output of "gcc-config -l" command is:
Code: |
[1] i686-pc-linux-gnu-3.3.5 *
[2] i686-pc-linux-gnu-3.3.5-hardened
[3] i686-pc-linux-gnu-3.3.5-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-hardenednossp
[5] i686-pc-linux-gnu-3.4.4
[6] i686-pc-linux-gnu-3.4.4-hardened
[7] i686-pc-linux-gnu-3.4.4-hardenednopie
[8] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[9] i686-pc-linux-gnu-3.4.4-hardenednossp
|
Here the defualt(old) compiler installed from GRPs is : 3.3.5.
Please respond with any help as soon as possible. I have tried "fix_libtool_files.sh 3.3.5 --oldarch i386-pc-linux-gnu".
I have also tried the symbolic link: so i do have a symbolic link i386-pc-linux-gnu in "/usr/lib/gcc-lib" that points to i686-xxxx |
|
Back to top |
|
|
amiroo1982 n00b
Joined: 07 Jan 2006 Posts: 14 Location: Bremen, Germany
|
Posted: Sat Jan 07, 2006 2:17 am Post subject: same here |
|
|
I have exact the same problem! With most packages. And I tried the same things.
come on people! Help us _________________ gentoo-kernel-2.6.14-r5
Samsung M50 1860 Callum Notebook
1GB DDR2
Intel Centrino 1.86 GHz
Intel High Definition Audio
GeForce Go 660 128 MB Ram |
|
Back to top |
|
|
Bad Penguin Guru
Joined: 18 Aug 2004 Posts: 507
|
Posted: Sat Jan 07, 2006 3:43 am Post subject: Re: Error while updating Gentoo |
|
|
gnufied wrote: |
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make: *** [xditview.o] Error 1
!!! ERROR: sys-apps/groff-1.19.1-r2 failed.
!!! Function src_compile, Line 91, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
[/code]
I have followed the tips give [url]https://forums.gentoo.org/viewtopic-t-279020.html here[/url].
But they don't seem to work!! ANy help would be greatly appreciated. |
Did you change your CHOST variable in make.conf?
I would suggest to run gcc-config 1, then env-update, then source /etc/profile, try your emerge again. If it still can't find gcc, check your gcc environment files in /etc/env.d, should be something along the lines of 05gcc-something-or-another, and the files in /etc/env.d/gcc. Verify they all actually point to correct paths. If they are incorrect, fix them, run your env-update, source /etc/profile, try again... I have ran into this problem before, the files environment files that should have been configured correctly by gcc-config were all dorked up... |
|
Back to top |
|
|
Reikinio Apprentice
Joined: 14 Aug 2005 Posts: 203 Location: Uruguay
|
|
Back to top |
|
|
gnufied Tux's lil' helper
Joined: 13 Sep 2005 Posts: 100
|
Posted: Sat Jan 07, 2006 4:30 am Post subject: [[SOLVED]]Error while updating the system |
|
|
I have solved the problem..."emerge xorg-x11" did it for me.. |
|
Back to top |
|
|
amiroo1982 n00b
Joined: 07 Jan 2006 Posts: 14 Location: Bremen, Germany
|
Posted: Sat Jan 07, 2006 10:34 am Post subject: Yoohoo |
|
|
Thank you very much
fixed it for me too! _________________ gentoo-kernel-2.6.14-r5
Samsung M50 1860 Callum Notebook
1GB DDR2
Intel Centrino 1.86 GHz
Intel High Definition Audio
GeForce Go 660 128 MB Ram |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sat Jan 07, 2006 11:54 am Post subject: |
|
|
Thanks Reikinio!
Moved from Installing Gentoo to Duplicate Threads. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
|