when trying to emerge -e world after changing CHOST from i586-pc-linux-gnu to i686-pc-linux-gnu, following the manual here,
I got the following message;
- Code: Select all
>>> Compiling source in /var/tmp/portage/dev-perl/IO-Interface-1.03/work/IO-Interface-1.03 ...
* Using ExtUtils::MakeMaker
Checking if your kit is complete...
Looks good
Checking for getifaddrs()... Okay, I will use it.
Writing Makefile for IO::Interface
cp Interface/Simple.pm blib/lib/IO/Interface/Simple.pm
cp Interface.pm blib/lib/IO/Interface.pm
AutoSplitting blib/lib/IO/Interface.pm (blib/lib/auto/IO/Interface)
/usr/bin/perl /usr/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap Interface.xs > Interface.xsc && mv Interface.xsc Interface.c
i586-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mno-tls-direct-seg-refs -mmmx -m32 -DVERSION=\"1.03\" -DXS_VERSION=\"1.03\" -fPIC "-I/usr/lib/perl5/5.8.8/i586-linux/CORE" -DUSE_GETIFADDRS Interface.c
gcc-config error: Could not run/locate "i586-pc-linux-gnu-gcc"
make: *** [Interface.o] Error 1
*
* ERROR: dev-perl/IO-Interface-1.03 failed.
* Call stack:
* ebuild.sh, line 1654: Called dyn_compile
* ebuild.sh, line 990: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* ebuild.sh, line 1334: Called perl-module_src_compile
* perl-module.eclass, line 141: Called die
*
* compilation failed
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-perl/IO-Interface-1.03/temp/build.log
How could I avoid this error?
thanks,

