View previous topic :: View next topic |
Author |
Message |
narcis.gratianu n00b
Joined: 21 Nov 2004 Posts: 60
|
Posted: Thu Sep 08, 2005 1:28 pm Post subject: GCC problem after world update |
|
|
Hello !
I install Gentoo from stage 3 and after that i made an world update with this command:
Quote: | emerge -uvD --newuse world |
After the gcc was compiled, some packages, does not compile anymore, like dev-perl/XML-Parser-2.34:
Quote: | cp Parser.pm blib/lib/XML/Parser.pm
cp Parser/Style/Debug.pm blib/lib/XML/Parser/Style/Debug.pm
cp Parser/Encodings/x-sjis-jisx0221.enc blib/lib/XML/Parser/Encodings/x-sjis-jisx0221.enc
cp Parser/Style/Stream.pm blib/lib/XML/Parser/Style/Stream.pm
cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc
make[1]: Entering directory `/var/tmp/portage/XML-Parser-2.34/work/XML-Parser-2.34/Expat'
cp Expat.pm ../blib/lib/XML/Parser/Expat.pm
/usr/bin/perl5.8.6 /usr/lib/perl5/5.8.6/ExtUtils/xsubpp -noprototypes -typemap /usr/lib/perl5/5.8.6/ExtUtils/typemap -typemap typemap Expat.xs > Expat.xsc && mv Expat.xsc Expat.c
i386-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -mcpu=i686 -DVERSION=\"2.34\" -DXS_VERSION=\"2.34\" -fPIC "-I/usr/lib/perl5/5.8.6/i386-linux/CORE" Expat.c
gcc-config error: Could not run/locate "i386-pc-linux-gnu-gcc"
make[1]: *** [Expat.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/XML-Parser-2.34/work/XML-Parser-2.34/Expat'
make: *** [subdirs] Error 2
!!! ERROR: dev-perl/XML-Parser-2.34 failed.
!!! Function perl-module_src_compile, Line 119, Exitcode 2
!!! compilation failed
!!! If you need support, post the topmost build error, NOT this status message.
|
When i do gcc-config -l, this is the output:
Quote: | www ~ # gcc-config -l
[1] i686-pc-linux-gnu-3.3.6 *
[2] i686-pc-linux-gnu-3.3.6-hardenednopie
[3] i686-pc-linux-gnu-3.3.6-hardenednopiessp
[4] i686-pc-linux-gnu-3.3.6-hardenednossp
[5] i686-pc-linux-gnu-3.3.6-vanilla
|
What can i do to fix it ?
Thank you! _________________ Best regards,
Narcis GRATIANU |
|
Back to top |
|
|
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Thu Sep 08, 2005 1:33 pm Post subject: |
|
|
Did you change CHOST in make.conf? You can't do that on a stage3 install. |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
|
Back to top |
|
|
nxsty Veteran
Joined: 23 Jun 2004 Posts: 1556 Location: .se
|
Posted: Thu Sep 08, 2005 1:51 pm Post subject: |
|
|
kimchi_sg wrote: | @nxsty: A lot of people get that error even though they've been well-behaved. |
But his CFLAGS is "-O2 -mcpu=i686" which is the default for i386 tarballs. i686 tarballs has "-march=i686 -O2". |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4975 Location: Gothenburg, Sweden
|
Posted: Thu Sep 08, 2005 2:07 pm Post subject: |
|
|
Thanks kimchi_sg!
Moved from Portage & Programming to Duplicate Threads in favour of the above mentioned topic. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
|