Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configure: error: C compiler cannot create executables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
vespaman
Apprentice
Apprentice


Joined: 28 Aug 2002
Posts: 268
Location: Stockholm, Sweden

PostPosted: Wed Jul 15, 2009 7:43 pm    Post subject: configure: error: C compiler cannot create executables Reply with quote

I am having problems with sandbox-1.6-r2
Code:
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/sys-apps/sandbox-1.6-r2/work/build-x86':
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/sandbox-1.6-r2/work/build-x86/config.log


Also glibc has issues, but not all ebuilds.

gcc-config -l gives;
Code:
hela micke # gcc-config -l
 [1] x86_64-pc-linux-gnu-4.1.2 *
hela micke # binutils-config -l
 [1] x86_64-pc-linux-gnu-2.18 *
hela micke #       


have tried 'source /etc/profile', env-update and various tricks.

can't find the 'config.log' that one are suggested to have a look in..
Back to top
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3753
Location: sleeping in the bathtub

PostPosted: Wed Jul 15, 2009 7:57 pm    Post subject: Reply with quote

Try `FEATURES=-sandbox emerge --oneshot sandbox`, the ebuild should have printed a message suggesting that.
_________________
"You have to invite me in"
Back to top
View user's profile Send private message
timeBandit
Bodhisattva
Bodhisattva


Joined: 31 Dec 2004
Posts: 2673
Location: here, there or in transit

PostPosted: Wed Jul 15, 2009 8:26 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads.

See GF20: C compiler cannot create executables in the FAQ forum.
_________________
Plants are pithy, brooks tend to babble--I'm content to lie between them.
Super-short f.g.o checklist: Search first, strip comments, mark solved, help others.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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