Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Could not run/locate "i386-pc-linux-gnu-gcc"
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
CrazyCanuck
n00b
n00b


Joined: 13 Jul 2004
Posts: 4

PostPosted: Mon Feb 26, 2007 7:55 am    Post subject: Reply with quote

I did this ...
Code:
root # perl -v

This is perl, v5.8.8 built for i386-linux


Code:
root # emerge dev-lang/perl



Code:
root # perl -v

This is perl, v5.8.8 built for i686-linux


:) all better now!

emerge XML-Parser worked perfectly!
Back to top
View user's profile Send private message
ebray187
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2005
Posts: 121
Location: Al otro lado de la pantalla

PostPosted: Tue Feb 27, 2007 7:15 pm    Post subject: Reply with quote

Thanks a lot! this do it:
Code:
# emerge dev-lang/perl


now all is working fine. :D
_________________
# emerge -C world >> 9/8
A flower?!
Back to top
View user's profile Send private message
newtonian
Guru
Guru


Joined: 19 Jan 2005
Posts: 465
Location: Hokkaido Japan

PostPosted: Sun Jan 06, 2008 7:51 am    Post subject: dev-python/pycrypto same can't run locate error Reply with quote

I had the same error running "emerge -e system" from a stage 2 tarball
when the system tried to emerge pycrpto.

compiler error said "can't run locate", emerging python, running the python-updater
fixed the problem.

Was trying to get the http://gentoo-wiki.com/HOWTO_build_a_LiveCD_from_scratch#Using_.22locate.22
working.


Cheers,
Back to top
View user's profile Send private message
christophe27
n00b
n00b


Joined: 28 Nov 2003
Posts: 3

PostPosted: Thu Apr 17, 2008 1:47 pm    Post subject: [SOLVED] : Could not run/locate "i686-pc-linux-gnu Reply with quote

Hello,

I had alsmost the same problem, but with i686, I mean :
"gcc-config error: Could not run/locate "i686-pc-linux-gnu-gcc" "

I solved it having a quick look at :
http://groups.google.com/group/linux.gentoo.user.de/browse_thread/thread/2fdeb13e04ac4532

gcc-config -l :
[1] i686-pc-linux-gnu-3.3.6
[2] i686-pc-linux-gnu-4.2.3

then
gcc-config i686-pc-linux-gnu-4.2.3

then
source /etc/profile

no compil stuff to do. Only config.

It then got going normally

chris
Back to top
View user's profile Send private message
ahd123
n00b
n00b


Joined: 05 Nov 2005
Posts: 55

PostPosted: Sun Jul 27, 2008 2:30 pm    Post subject: Reply with quote

CrazyCanuck wrote:
I did this ...

Code:
root # perl -v
This is perl, v5.8.8 built for i386-linux


Code:
root # emerge dev-lang/perl


Code:
root # perl -v
This is perl, v5.8.8 built for i686-linux



I was having problems compiling net-analyzer/net-snmp-4.4.1.1 due to some gcc and perl module problems.
I tried using
Code:
fix_libtool_files.sh `gcc -dumpversion` --oldarch i486-pc-linux-gnu

to no effect (whereas "gcc-config -l" showed only my newest profile). Finally, I came across you post and tried a "perl -v". To my surprise this displayed "i486", whereas I've never used anything but i686 in my configs.
This is a brand new installation for one of my server boxes. I am using the English version of x86 2008.0 netinst. And I've completely configured all files by hand including the kernel.
Anyway, re-emerging dev-lang/perl worked wonders, and now I have no issues compiling net-analyzer/net-snmp or any other packages so far.

Edit: I did have to recompile dev-perl/XML-Parser for another package to complete successfully.
Back to top
View user's profile Send private message
gohmdoree
Guru
Guru


Joined: 12 Oct 2004
Posts: 533

PostPosted: Tue Jul 29, 2008 1:32 pm    Post subject: Reply with quote

i usually get the chost issue with my toolchain, trying to install from a 2007.0 (haven't done the 2008 profile yet).

the fix is the emerge/re-emerge binutils.

not sure if that will fix yours.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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