Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[IG7] cannot run C compiled programs (AMD64)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions
View previous topic :: View next topic  
Author Message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2955

PostPosted: Sun Feb 20, 2005 10:24 am    Post subject: [IG7] cannot run C compiled programs (AMD64) Reply with quote

Q: Why am I getting the following error on my AMD64 system when emerging gcc?
Code:
configure: error: cannot run C compiled programs


A: This error is likely to be caused by enabling "sandbox" in FEATURES, as well as having "multilib" enabled in your USE flags (it seems to be enabled by default on AMD64). This is because Portage cannot find the 32-bit sandbox, needed to emerge 32-bit code.

To remedy this, create a 32-bit sandbox and then emerge portage and gcc using the following command:
Code:
USE="multilib" FEATURES="-sandbox" emerge gcc portage


(Solution taken from this topic.)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions All times are GMT
Page 1 of 1

 
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